1 #ifndef THcScalerEvtHandler_
2 #define THcScalerEvtHandler_
13 #include "THaEvtTypeHandler.h"
55 static size_t FindNoCase(
const std::string& sdata,
const std::string& skey);
HCScalerLoc(TString nm, TString desc, UInt_t idx, Int_t s1, UInt_t ich, UInt_t iki, Int_t iv)
std::vector< HCScalerLoc * > scalerloc
std::set< UInt_t > fModuleSet
std::vector< std::string > fBCM_Name
std::vector< Decoder::GenScaler * > scalers
virtual Int_t ReadDatabase(const TDatime &date)
Double_t * fBCM_SatQuadratic
std::vector< UInt_t * > fDelayedEvents
virtual void SetDelayedType(int evtype)
#define ClassDef(name, id)
void AddVars(TString name, TString desc, UInt_t iscal, UInt_t ichan, UInt_t ikind)
std::vector< UInt_t > scal_prev_read
Double_t * fBCM_SatOffset
Int_t fbcm_Current_Threshold_Index
std::vector< UInt_t > scal_present_read
std::vector< UInt_t > scal_overflows
THcScalerEvtHandler & operator=(const THcScalerEvtHandler &fh)
THcScalerEvtHandler(const char *, const char *)
static size_t FindNoCase(const std::string &sdata, const std::string &skey)
virtual EStatus Init(const TDatime &run_time)
Double_t * fBCM_delta_charge
Event handler for Hall C scalers.
virtual Int_t End(THaRunBase *r=0)
std::set< UInt_t > fRocSet
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
Double_t fbcm_Current_Threshold
virtual void SetOnlyUseSyncEvents(Bool_t b=kFALSE)
Int_t Analyze(THaEvData *evdata)
virtual void SetUseFirstEvent(Bool_t b=kFALSE)
virtual ~THcScalerEvtHandler()
virtual void SetOnlyBanks(Bool_t b=kFALSE)
Int_t AnalyzeBuffer(UInt_t *rdata, Bool_t onlysync)