20 TString name, TString dettype,
22 fSubbankIndex(subbankid),fWordInSubbank(offset),
23 fmoduletype(modtype),fdetectorname(name),fdetectortype(dettype),
31 fSubbankIndex(subbankid), fIndex(-1)
33 Int_t modnum, channum;
40 fdetectortype.ToLower();
41 fChannelName.ToLower();
52 size_t namesize = fChannelName.Sizeof();
103 QwError<<
"QwBeamLine::LoadChannelMap: Unknown module type, "
110 QwError <<
"QwBeamLine::LoadChannelMap: Unknown detector type, "
118 <<
" was not recognized as a valid subelement for "
130 std::cout<<std::endl<<
"Detector name= "<<
fdetectorname<<std::endl;
133 std::cout<<
"module type= "<<
fmoduletype<<std::endl;
135 std::cout<<
"Index of this detector in the vector of similar detector= "<<
137 std::cout<<
"Subelement index= "<<
139 std::cout<<
"---------------------------------------------------"<<std::endl;
140 std::cout<<std::endl;
EQwBeamInstrumentType GetQwBeamInstrumentType(TString name)
static UInt_t GetSubElementIndex(TString subname)
static Int_t GetBufferOffset(Int_t scalerindex, Int_t wordindex, UInt_t header=1)
Bool_t ReportInitErrors() const
static UInt_t GetSubElementIndex(TString subname)
static const UInt_t kInvalidSubelementIndex
EQwBeamInstrumentType fTypeID
static UInt_t GetSubElementIndex(TString subname)
static std::ostream & endl(std::ostream &)
End of the line.
static UInt_t GetSubElementIndex(TString subname)
T GetTypedNextToken()
Get next token into specific type.
static Int_t GetBufferOffset(Int_t moduleindex, Int_t channelindex)
#define QwError
Predefined log drain for errors.