22 if (name==
"integrationpmt"){
24 }
else if (name==
"scalerpmt"){
27 else if (name==
"combinationpmt"){
40 if (name==
"bpmstripline"){
43 else if (name==
"bcm"){
46 else if (name==
"combinedbcm"){
49 else if (name==
"combinedbpm"){
52 else if (name==
"energycalculator"){
55 else if (name==
"halomonitor"){
58 else if (name==
"bpmcavity"){
61 else if (name==
"qpd"){
64 else if (name==
"lineararray"){
67 else if (name==
"clock") {
83 result =
"UnknownPMT";
85 result =
"IntegrationPMT";
93 result =
"CombinationPMT";
102 result =
"kQwUnknownDeviceType";
104 result =
"bpmstripline";
113 result =
"lineararray";
116 result =
"combinedbcm";
119 result =
"combinedbpm";
122 result =
"energycalculator";
125 result =
"halomonitor";
128 result =
"bpmcavity";
138 if (evtype==
"g" && stabilitycut>0)
140 else if (evtype==
"g" && stabilitycut<=0)
142 else if (evtype==
"l" && stabilitycut>0)
144 else if (evtype==
"l" && stabilitycut<=0)
151 const std::string wienname[5] = {
"Indeterminate",
"Forward",
"Backward",
152 "Vertical",
"Horizontal"};
153 return wienname[type];
158 if (name==
"Forward"){
160 }
else if (name==
"Backward"){
162 }
else if (name==
"Vertical"){
164 }
else if (name==
"Horizontal"){
Basic data types and constants used throughout the Qweak analysis framework.
static const UInt_t kGlobalCut
static const UInt_t kStabilityCut
static const UInt_t kEventCutMode3
EQwWienMode
Double Wien configuration.
static const UInt_t kLocalCut
EQwWienMode WienModeIndex(TString name)
EQwPMTInstrumentType GetQwPMTInstrumentType(TString name)
TString GetQwPMTInstrumentTypeName(EQwPMTInstrumentType type)
std::string WienModeName(EQwWienMode type)
UInt_t GetGlobalErrorFlag(TString evtype, Int_t evMode, Double_t stabilitycut)
EQwBeamInstrumentType GetQwBeamInstrumentType(TString name)
TString GetQwBeamInstrumentTypeName(EQwBeamInstrumentType type)