20 TString name, TString dettype,
33 Int_t modnum, channum;
46 if (paramfile.
ReturnValue(
"vqwk_buffer_offset",offset)) {
51 if (paramfile.
ReturnValue(
"adc18_buffer_offset",offset)) {
56 if (paramfile.
ReturnValue(
"scaler_buffer_offset",offset)) {
61 if (paramfile.
ReturnValue(
"MollerADC_buffer_offset",offset)) {
118 QwError<<
"QwBeamLine::LoadChannelMap: Unknown module type, "
125 QwError <<
"QwBeamLine::LoadChannelMap: Unknown detector type, "
133 <<
" was not recognized as a valid subelement for "
145 std::cout<<std::endl<<
"Detector name= "<<
fdetectorname<<std::endl;
148 std::cout<<
"module type= "<<
fmoduletype<<std::endl;
150 std::cout<<
"Index of this detector in the vector of similar detector= "<<
152 std::cout<<
"Subelement index= "<<
154 std::cout<<
"---------------------------------------------------"<<std::endl;
155 std::cout<<std::endl;
Base and derived classes for scaler channel data handling.
#define QwError
Predefined log drain for errors.
Decoding and management for Moller ADC channels (6x32-bit datawords)
Decoding and management for VQWK ADC channels (6x32-bit datawords)
static const UInt_t kInvalidSubelementIndex
EQwBeamInstrumentType GetQwBeamInstrumentType(TString name)
Quadrant photodiode beam position monitor implementation.
Beam detector identification and mapping class.
Linear diode array beam position monitor implementation.
Stripline beam position monitor implementation.
Cavity beam position monitor implementation.
static Int_t GetBufferOffset(Int_t moduleindex, Int_t channelindex)
static std::ostream & endl(std::ostream &)
End of the line.
static Int_t GetBufferOffset(Int_t moduleindex, Int_t channelindex)
Configuration file parser with flexible tokenization and search capabilities.
T GetTypedNextToken()
Get next token into specific type.
Bool_t ReturnValue(const std::string keyname, T &retvalue)
static Int_t GetBufferOffset(Int_t scalerindex, Int_t wordindex, UInt_t header=1)
static Int_t GetBufferOffset(Int_t moduleindex, Int_t channelindex)
QwBeamDetectorID(Int_t subbankid, Int_t offset, TString name, TString dettype, TString modtype)
EQwBeamInstrumentType fTypeID
Bool_t ReportInitErrors() const
static Bool_t ParseChannelName(const TString &channel, TString &detname, TString &subname, UInt_t &localindex)
static UInt_t GetSubElementIndex(TString subname)
static UInt_t GetSubElementIndex(TString subname)
static UInt_t GetSubElementIndex(TString subname)