27 const char* description) :
127 {
"CurrentFlag",
"BCM current flag for good event",
"fBCMflag"},
128 {
"bcm1.AvgCurrent",
"BCM1 average beam current",
"fBCM1avg"},
129 {
"bcm2.AvgCurrent",
"BCM2 average beam current",
"fBCM2avg"},
130 {
"bcm4a.AvgCurrent",
"BCM4a average beam current",
"fBCM4aavg"},
131 {
"bcm4b.AvgCurrent",
"BCM4b average beam current",
"fBCM4bavg"},
132 {
"bcm4c.AvgCurrent",
"BCM4c average beam current",
"fBCM4cavg"},
145 if( !
IsOK() )
return -1;
152 if(fGetScaler !=
kOK)
200 map<int, BCMInfo>::iterator it, next;
Option_t Option_t TPoint TPoint const char mode
ClassImp(VDC::AnalyticTTDConv) using namespace std
R__EXTERN class THcParmList * gHcParms
static Int_t DefineVarsFromList(const void *list, EType type, EMode mode, const char *def_prefix, const TObject *obj, const char *prefix, const char *here, const char *comment_subst="")
Read BCM current from scalers and compare to thresholds.
Int_t GetAvgCurrent(Int_t fevn, BCMInfo &bcminfo)
virtual Int_t ReadDatabase(const TDatime &date)
THcBCMCurrent(const char *name, const char *description)
std::map< Int_t, BCMInfo > BCMInfoMap
virtual Int_t Process(const THaEvData &)
virtual Int_t DefineVariables(EMode mode=kDefine)
Int_t LoadParmValues(const DBRequest *list, const char *prefix="")
Retrieve parameter values from the parameter cache.