Go to the documentation of this file.
3 #include <FairLogger.h>
19 , fFebGrouping(FebGrouping)
20 , fComponentId(compId)
21 , fChannelAddresses() {}
26 "%s @ %d pos[%5.2f %5.2f]\n", (opt ? opt : GetName()),
fAddress,
fX,
fY);
35 if (chAddress == (*it))
return ich;
43 LOG(warn) << GetName() <<
"::SetChannelAddress : pad address " << address
44 <<
" already allocated";
52 Int_t nofChannels = addresses.size();
54 LOG(warn) << GetName()
55 <<
"::SetChannelAddresses : input N channels:" << nofChannels
57 <<
". Input will be truncated.";
virtual void SetChannelAddresses(std::vector< Int_t > addresses)
Definition of ASIC parameters.
CbmTrdParAsic(Int_t address=0, Int_t FebGrouping=-1, Double_t x=0, Double_t y=0, Double_t z=0, std::uint64_t compId=0)
virtual void Print(Option_t *opt="") const
std::vector< Int_t > fChannelAddresses
addresses of individual output channels
Definition of generic parameters for one TRD module.
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
virtual Int_t QueryChannel(Int_t ch) const
Query ASIC for specific pad address.
virtual Int_t GetNchannels() const =0
Double_t fX
center of asic in global c.s. [cm]
Int_t fAddress
unique ASIC ID
Double_t fY
center of asic in global c.s. [cm]
virtual void SetChannelAddress(Int_t address)