17 if (name==
"integrationpmt"){
19 }
else if (name==
"scalerpmt"){
22 else if (name==
"combinationpmt"){
35 if (name==
"bpmstripline"){
38 else if (name==
"bcm"){
41 else if (name==
"combinedbcm"){
44 else if (name==
"combinedbpm"){
47 else if (name==
"energycalculator"){
50 else if (name==
"halomonitor"){
53 else if (name==
"bpmcavity"){
56 else if (name==
"qpd"){
59 else if (name==
"lineararray"){
62 else if (name==
"clock") {
78 result =
"UnknownPMT";
80 result =
"IntegrationPMT";
88 result =
"CombinationPMT";
97 result =
"kQwUnknownDeviceType";
99 result =
"bpmstripline";
108 result =
"lineararray";
111 result =
"combinedbcm";
114 result =
"combinedbpm";
117 result =
"energycalculator";
120 result =
"halomonitor";
123 result =
"bpmcavity";
133 if (evtype==
"g" && stabilitycut>0)
135 else if (evtype==
"g" && stabilitycut<=0)
137 else if (evtype==
"l" && stabilitycut>0)
139 else if (evtype==
"l" && stabilitycut<=0)
146 const std::string wienname[5] = {
"Indeterminate",
"Forward",
"Backward",
147 "Vertical",
"Horizontal"};
148 return wienname[type];
153 if (name==
"Forward"){
155 }
else if (name==
"Backward"){
157 }
else if (name==
"Vertical"){
159 }
else if (name==
"Horizontal"){
static const UInt_t kLocalCut
EQwPMTInstrumentType GetQwPMTInstrumentType(TString name)
EQwBeamInstrumentType GetQwBeamInstrumentType(TString name)
EQwWienMode
Double Wien configuration.
TString GetQwBeamInstrumentTypeName(EQwBeamInstrumentType type)
TString GetQwPMTInstrumentTypeName(EQwPMTInstrumentType type)
static const UInt_t kEventCutMode3
static const UInt_t kGlobalCut
EQwWienMode WienModeIndex(TString name)
static const UInt_t kStabilityCut
std::string WienModeName(EQwWienMode type)
UInt_t GetGlobalErrorFlag(TString evtype, Int_t evMode, Double_t stabilitycut)