Go to the documentation of this file.
14 #ifndef LITDETECTORLAYOUT_H_
15 #define LITDETECTORLAYOUT_H_
100 ss <<
"LitDetectorLayout: \n";
101 ss <<
"virtual stations: nofVirtualStations="
108 ss << (int)
i <<
" " <<
GetStation(
i).ToString() <<
"\n";
125 vector<LitVirtualStation<T>>
void AddStation(const LitStation< T > &station)
Add station to detector layout.
string ToString() const
Returns string representation of the class.
class lit::parallel::LitDetectorLayout _fvecalignment
const LitVirtualStation< T > & GetVirtualStation(unsigned char virtualStation) const
Return virtual station by index.
Virtual detector station which stores information needed for track propagation.
LitDetectorLayout< fvec > LitDetectorLayoutVec
Vector version of LitDetectorLayout.
Represents detector layout.
friend ostream & operator<<(ostream &strm, const LitDetectorLayout &layout)
Operator << for convenient output to ostream.
virtual ~LitDetectorLayout()
Destructor.
vector< LitStation< T > > fStations
LitDetectorLayout()
Constructor.
unsigned char GetNofVirtualStations() const
Return number of virtual stations.
LitDetectorLayout< fscal > LitDetectorLayoutScal
Scalar version of LitDetectorLayout.
vector< LitVirtualStation< T > > fVirtualStations
void AddVirtualStation(const LitVirtualStation< T > &virtualStation)
Add virtual station to detector layout.
const LitStation< T > & GetStation(unsigned char station) const
Return station by index.
unsigned char GetNofStations() const
Return number of stations.