18 , fFebGrouping(FebGrouping)
19 , fComponentId(compId)
27 printf(
"%s @ %d pos[%5.2f %5.2f]\n", (opt ? opt : GetName()),
fAddress,
fX,
fY);
35 if (chAddress == (*it))
return ich;
44 LOG(warn) << GetName() <<
"::SetChannelAddress : pad address " << address <<
" already allocated";
53 Int_t nofChannels = addresses.size();
55 LOG(warn) << GetName() <<
"::SetChannelAddresses : input N channels:" << nofChannels <<
"differs from definition "
ClassImp(CbmConverterManager)
Definition of ASIC parameters.
virtual Int_t QueryChannel(Int_t ch) const
Query ASIC for specific pad address.
Double_t fX
center of asic in global c.s. [cm]
std::vector< Int_t > fChannelAddresses
addresses of individual output channels
Double_t fY
center of asic in global c.s. [cm]
Int_t fAddress
unique ASIC ID
virtual void SetChannelAddress(Int_t address)
virtual void SetChannelAddresses(std::vector< Int_t > addresses)
virtual void Print(Option_t *opt="") const
CbmTrdParAsic(Int_t address=0, Int_t FebGrouping=-1, Double_t x=0, Double_t y=0, Double_t z=0, size_t compId=0)
virtual Int_t GetNchannels() const =0
Definition of generic parameters for one TRD module.