1#ifndef THcConfigEvtHandler_
2#define THcConfigEvtHandler_
#define ClassDef(name, id)
Analyze Hall C Configuration events. (Event type 125).
UInt_t DecodeCAEN1190Config(THaEvData *evdata, UInt_t ip, UInt_t len, CrateConfig::CAEN1190_t &cfg)
static constexpr UInt_t NTHR
std::vector< std::string > fParms
virtual void PrintConfig()
Bool_t IsPresent(UInt_t crate)
UInt_t GetNSA(UInt_t crate)
THcConfigEvtHandler(const THcConfigEvtHandler &fh)=delete
virtual Int_t Analyze(THaEvData *evdata)
virtual void MakeParms(UInt_t roc)
static constexpr UInt_t NPS
UInt_t GetNSB(UInt_t crate)
virtual ~THcConfigEvtHandler()
std::map< UInt_t, CrateConfig > fCrateInfoMap
THcConfigEvtHandler & operator=(const THcConfigEvtHandler &fh)=delete
UInt_t GetNPED(UInt_t crate)
UInt_t DecodeTIConfig(THaEvData *evdata, UInt_t ip, UInt_t len, CrateConfig::TI_t &cfg)
UInt_t DecodeFADC250Config(THaEvData *evdata, UInt_t ip, UInt_t len, CrateConfig::FADC250_t &cfg)
std::map< UInt_t, std::array< UInt_t, NTHR > > thresholds
std::array< Int_t, NPS > ps_factors
std::array< Int_t, NPS > prescales
struct THcConfigEvtHandler::CrateConfig::FADC250 FADC250_t
Int_t MakeParms(THcConfigEvtHandler &h) const
struct THcConfigEvtHandler::CrateConfig::CAEN1190 CAEN1190_t
CrateConfig(UInt_t crate)
struct THcConfigEvtHandler::CrateConfig::TI TI_t