23 TGeoPhysicalNode* node) :
48 if ( ! fSensors.empty() ) {
49 if ( sensor->
GetType() != fSensors[0]->GetType() ) {
51 <<
" incompatible with sensor type "
52 << fSensors[0]->GetType()->GetTypeId();
58 fSensors.push_back(sensor);
static UInt_t SetElementId(UInt_t address, Int_t level, Int_t newId)
Class representing an element of the STS setup.
UInt_t fAddress
Unique address.
vector< CbmStsElement * > fDaughters
Array of daughters.
void AddSignal(Int_t channel, Double_t time, Double_t charge)
void AddSensor(CbmStsSenzor *sensor)
Class representing an instance of a sensor in the CBM-STS.
void SetModule(CbmStsModule *module)
CbmStsSensorType * GetType() const
void SetAddress(UInt_t address)