CbmRoot
|
Represents detector layout. More...
#include <LitDetectorLayout.h>
Public Member Functions | |
LitDetectorLayout () | |
Constructor. More... | |
virtual | ~LitDetectorLayout () |
Destructor. More... | |
void | AddStation (const LitStation< T > &station) |
Add station to detector layout. More... | |
void | AddVirtualStation (const LitVirtualStation< T > &virtualStation) |
Add virtual station to detector layout. More... | |
unsigned char | GetNofStations () const |
Return number of stations. More... | |
unsigned char | GetNofVirtualStations () const |
Return number of virtual stations. More... | |
const LitStation< T > & | GetStation (unsigned char station) const |
Return station by index. More... | |
const LitVirtualStation< T > & | GetVirtualStation (unsigned char virtualStation) const |
Return virtual station by index. More... | |
string | ToString () const |
Returns string representation of the class. More... | |
Private Attributes | |
vector< LitStation< T > > | fStations |
vector< LitVirtualStation< T > > | fVirtualStations |
Friends | |
ostream & | operator<< (ostream &strm, const LitDetectorLayout &layout) |
Operator << for convenient output to ostream. More... | |
Represents detector layout.
Detector layout provides access to the detector information. It stores a list of virtual planes and a list of stations.
Definition at line 33 of file LitDetectorLayout.h.
|
inline |
Constructor.
Definition at line 38 of file LitDetectorLayout.h.
|
inlinevirtual |
Destructor.
Definition at line 43 of file LitDetectorLayout.h.
|
inline |
Add station to detector layout.
[in] | station | Station to be added. |
Definition at line 49 of file LitDetectorLayout.h.
Referenced by CbmLitTrackingGeometryConstructor::GetMuchLayout(), and CbmLitTrackingGeometryConstructor::GetTrdLayout().
|
inline |
Add virtual station to detector layout.
[in] | virtualStation | Virtual station to be added. |
Definition at line 57 of file LitDetectorLayout.h.
Referenced by CbmLitTrackingGeometryConstructor::GetTrdLayout().
|
inline |
Return number of stations.
Definition at line 65 of file LitDetectorLayout.h.
Referenced by lit::parallel::LitDetectorLayout< fscal >::ToString().
|
inline |
Return number of virtual stations.
Definition at line 71 of file LitDetectorLayout.h.
Referenced by lit::parallel::LitTrackFitter(), and lit::parallel::LitDetectorLayout< fscal >::ToString().
|
inline |
Return station by index.
[in] | station | Index of station. |
Definition at line 80 of file LitDetectorLayout.h.
Referenced by lit::parallel::LitTrackFitter(), and lit::parallel::LitDetectorLayout< fscal >::ToString().
|
inline |
Return virtual station by index.
[in] | station | Virtual station index. |
Definition at line 90 of file LitDetectorLayout.h.
Referenced by lit::parallel::LitTrackFitter(), and lit::parallel::LitDetectorLayout< fscal >::ToString().
|
inline |
Returns string representation of the class.
Definition at line 98 of file LitDetectorLayout.h.
|
friend |
Operator << for convenient output to ostream.
Definition at line 117 of file LitDetectorLayout.h.
|
private |
Definition at line 124 of file LitDetectorLayout.h.
Referenced by lit::parallel::LitDetectorLayout< fscal >::AddStation(), lit::parallel::LitDetectorLayout< fscal >::GetNofStations(), and lit::parallel::LitDetectorLayout< fscal >::GetStation().
|
private |
Definition at line 126 of file LitDetectorLayout.h.
Referenced by lit::parallel::LitDetectorLayout< fscal >::AddVirtualStation(), lit::parallel::LitDetectorLayout< fscal >::GetNofVirtualStations(), and lit::parallel::LitDetectorLayout< fscal >::GetVirtualStation().