CbmRoot
Loading...
Searching...
No Matches
lit::parallel::LitSubstationMuon< T > Class Template Reference

Substation in muon detector layout. More...

#include <LitSubstationMuon.h>

Public Member Functions

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

Private Attributes

fZ
 
LitMaterialInfo< T > fMaterial
 

Friends

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

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 29 of file LitSubstationMuon.h.

Constructor & Destructor Documentation

◆ LitSubstationMuon()

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

Constructor.

Definition at line 34 of file LitSubstationMuon.h.

◆ ~LitSubstationMuon()

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

Destructor.

Definition at line 39 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 57 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 45 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 63 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 51 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 69 of file LitSubstationMuon.h.

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

Friends And Related Symbol 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 78 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: