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