CbmRoot
|
Represents detector layout. More...
#include <LitDetectorLayout.h>
Public Member Functions | |
LitDetectorLayout () | |
Constructor. | |
virtual | ~LitDetectorLayout () |
Destructor. | |
void | AddStation (const LitStation< T > &station) |
Add station to detector layout. | |
void | AddVirtualStation (const LitVirtualStation< T > &virtualStation) |
Add virtual station to detector layout. | |
unsigned char | GetNofStations () const |
Return number of stations. | |
unsigned char | GetNofVirtualStations () const |
Return number of virtual stations. | |
const LitStation< T > & | GetStation (unsigned char station) const |
Return station by index. | |
const LitVirtualStation< T > & | GetVirtualStation (unsigned char virtualStation) const |
Return virtual station by index. | |
string | ToString () const |
Returns string representation of the class. | |
Private Attributes | |
vector< LitStation< T > > | fStations |
vector< LitVirtualStation< T > > | fVirtualStations |
Friends | |
ostream & | operator<< (ostream &strm, const LitDetectorLayout &layout) |
Operator << for convenient output to ostream. | |
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 39 of file LitDetectorLayout.h.
|
inline |
Constructor.
Definition at line 44 of file LitDetectorLayout.h.
|
inlinevirtual |
Destructor.
Definition at line 49 of file LitDetectorLayout.h.
|
inline |
Add station to detector layout.
[in] | station | Station to be added. |
Definition at line 55 of file LitDetectorLayout.h.
References lit::parallel::LitDetectorLayout< T >::fStations.
Referenced by CbmLitTrackingGeometryConstructor::GetMuchLayout(), and CbmLitTrackingGeometryConstructor::GetTrdLayout().
|
inline |
Add virtual station to detector layout.
[in] | virtualStation | Virtual station to be added. |
Definition at line 61 of file LitDetectorLayout.h.
References lit::parallel::LitDetectorLayout< T >::fVirtualStations.
Referenced by CbmLitTrackingGeometryConstructor::GetTrdLayout().
|
inline |
Return number of stations.
Definition at line 67 of file LitDetectorLayout.h.
References lit::parallel::LitDetectorLayout< T >::fStations.
Referenced by lit::parallel::LitDetectorLayout< T >::ToString().
|
inline |
Return number of virtual stations.
Definition at line 73 of file LitDetectorLayout.h.
References lit::parallel::LitDetectorLayout< T >::fVirtualStations.
Referenced by lit::parallel::LitTrackFitter(), and lit::parallel::LitDetectorLayout< T >::ToString().
|
inline |
Return station by index.
[in] | station | Index of station. |
Definition at line 80 of file LitDetectorLayout.h.
References lit::parallel::LitDetectorLayout< T >::fStations.
Referenced by lit::parallel::LitTrackFitter(), and lit::parallel::LitDetectorLayout< T >::ToString().
|
inline |
Return virtual station by index.
[in] | station | Virtual station index. |
Definition at line 87 of file LitDetectorLayout.h.
References lit::parallel::LitDetectorLayout< T >::fVirtualStations.
Referenced by lit::parallel::LitTrackFitter(), and lit::parallel::LitDetectorLayout< T >::ToString().
|
inline |
Returns string representation of the class.
Definition at line 96 of file LitDetectorLayout.h.
References lit::parallel::LitDetectorLayout< T >::GetNofStations(), lit::parallel::LitDetectorLayout< T >::GetNofVirtualStations(), lit::parallel::LitDetectorLayout< T >::GetStation(), and lit::parallel::LitDetectorLayout< T >::GetVirtualStation().
|
friend |
Operator << for convenient output to ostream.
Definition at line 115 of file LitDetectorLayout.h.
|
private |
Definition at line 122 of file LitDetectorLayout.h.
Referenced by lit::parallel::LitDetectorLayout< T >::AddStation(), lit::parallel::LitDetectorLayout< T >::GetNofStations(), and lit::parallel::LitDetectorLayout< T >::GetStation().
|
private |
Definition at line 123 of file LitDetectorLayout.h.
Referenced by lit::parallel::LitDetectorLayout< T >::AddVirtualStation(), lit::parallel::LitDetectorLayout< T >::GetNofVirtualStations(), and lit::parallel::LitDetectorLayout< T >::GetVirtualStation().