CbmRoot
lit::parallel::LitSubstationMuon< T > Class Template Reference

Substation in muon detector layout. More...

#include <LitSubstationMuon.h>

Public Member Functions

 LitSubstationMuon ()
 Constructor. More...
 
virtual ~LitSubstationMuon ()
 Destructor. More...
 
const T & GetZ () const
 Return Z position of substation. More...
 
void SetZ (const T &z)
 Set Z pposition of substation. More...
 
const LitMaterialInfo< T > & GetMaterial () const
 Return material of substation. More...
 
void SetMaterial (const LitMaterialInfo< T > &material)
 Set material of substation. More...
 
std::string ToString () const
 Return string representation for the class. More...
 

Private Attributes

fZ
 
LitMaterialInfo< T > fMaterial
 

Friends

std::ostream & operator<< (std::ostream &strm, const LitSubstationMuon &substation)
 Operator << for convenient output to std::ostream. More...
 

Detailed Description

template<class T>
class lit::parallel::LitSubstationMuon< T >

Substation in muon detector layout.

Author
Andrey Lebedev andre.nosp@m.y.le.nosp@m.bedev.nosp@m.@gsi.nosp@m..de
Date
2009

Definition at line 23 of file LitSubstationMuon.h.

Constructor & Destructor Documentation

◆ LitSubstationMuon()

template<class T >
lit::parallel::LitSubstationMuon< T >::LitSubstationMuon ( )
inline

Constructor.

Definition at line 28 of file LitSubstationMuon.h.

◆ ~LitSubstationMuon()

template<class T >
virtual lit::parallel::LitSubstationMuon< T >::~LitSubstationMuon ( )
inlinevirtual

Destructor.

Definition at line 33 of file LitSubstationMuon.h.

Member Function Documentation

◆ GetMaterial()

template<class T >
const LitMaterialInfo<T>& lit::parallel::LitSubstationMuon< T >::GetMaterial ( ) const
inline

Return material of substation.

Returns
Material of substation.

Definition at line 51 of file LitSubstationMuon.h.

References lit::parallel::LitSubstationMuon< T >::fMaterial.

Referenced by lit::parallel::LitTrackFinderNNVecMuon::ProcessStation(), and lit::parallel::LitSubstationMuon< T >::ToString().

◆ GetZ()

template<class T >
const T& lit::parallel::LitSubstationMuon< T >::GetZ ( ) const
inline

Return Z position of substation.

Returns
Z position of substation.

Definition at line 39 of file LitSubstationMuon.h.

References lit::parallel::LitSubstationMuon< T >::fZ.

Referenced by lit::parallel::LitTrackFinderNNVecMuon::ProcessStation(), and lit::parallel::LitSubstationMuon< T >::ToString().

◆ SetMaterial()

template<class T >
void lit::parallel::LitSubstationMuon< T >::SetMaterial ( const LitMaterialInfo< T > &  material)
inline

Set material of substation.

Parameters
[in]materielMaterial value.

Definition at line 57 of file LitSubstationMuon.h.

References lit::parallel::LitSubstationMuon< T >::fMaterial.

◆ SetZ()

template<class T >
void lit::parallel::LitSubstationMuon< T >::SetZ ( const T &  z)
inline

Set Z pposition of substation.

Parameters
[in]zZ position value.

Definition at line 45 of file LitSubstationMuon.h.

References lit::parallel::LitSubstationMuon< T >::fZ.

◆ ToString()

template<class T >
std::string lit::parallel::LitSubstationMuon< T >::ToString ( ) const
inline

Return string representation for the class.

Returns
String representation of class.

Definition at line 65 of file LitSubstationMuon.h.

References lit::parallel::LitSubstationMuon< T >::GetMaterial(), and lit::parallel::LitSubstationMuon< T >::GetZ().

Friends And Related Function Documentation

◆ operator<<

template<class T >
std::ostream& operator<< ( std::ostream &  strm,
const LitSubstationMuon< T > &  substation 
)
friend

Operator << for convenient output to std::ostream.

Returns
std::ostream for continuous output.

Definition at line 74 of file LitSubstationMuon.h.

Member Data Documentation

◆ fMaterial

template<class T >
LitMaterialInfo<T> lit::parallel::LitSubstationMuon< T >::fMaterial
private

◆ fZ


The documentation for this class was generated from the following file: