1#ifndef Podd_THaAnalyzer_h_
2#define Podd_THaAnalyzer_h_
33 class InterStageModule;
66 const std::vector<THaApparatus*>&
68 const std::vector<THaPhysicsModule*>&
72 const std::vector<THaEvtTypeHandler*>&
74 const std::vector<THaPostProcess*>&
#define ClassDef(name, id)
static const vector< ModuleDef > module_list
Counter_t(Int_t _key, const char *_description)
Stage_t(Int_t _key, Int_t _countkey, const char *_name)
THaEvent * GetEvent() const
virtual void PrintRunSummary() const
void SetCutFile(const char *name)
virtual bool EvalStage(int n)
UInt_t GetCount(Int_t which) const
const std::vector< THaApparatus * > & GetApps() const
void SetOutFile(const char *name)
virtual void Print(Option_t *opt="") const
static const char *const kDefaultOdefFile
std::vector< THaApparatus * > fApps
virtual void PrintCounters() const
virtual Int_t PhysicsAnalysis(Int_t code)
void SetOdefFile(const char *name)
virtual Int_t SetCountMode(Int_t mode)
const std::vector< THaPhysicsModule * > & GetPhysics() const
const char * GetCutFileName() const
void SetEpicsEvtType(Int_t itype)
std::vector< THaAnalysisObject * > fAnalysisModules
static THaAnalyzer * fgAnalyzer
virtual Int_t MainAnalysis()
Int_t GetCompressionLevel() const
void SetMarkInterval(UInt_t interval)
virtual Int_t Process(THaRunBase *run=nullptr)
Bool_t HasStarted() const
THaAnalyzer & operator=(const THaAnalyzer &)
void EnableRunUpdate(Bool_t b=true)
std::vector< THaPhysicsModule * > fPhysics
virtual Int_t BeginAnalysis()
virtual Int_t ReadOneEvent()
static THaAnalyzer * GetInstance()
std::vector< THaEvtTypeHandler * > fEvtHandlers
std::vector< Stage_t > fStages
void SetEvent(THaEvent *event)
virtual Int_t InitModules(const std::vector< THaAnalysisObject * > &module_list, TDatime &run_time)
void EnablePhysicsEvents(Bool_t b=true)
void SetSummaryFile(const char *name)
virtual void InitCounters()
TFile * GetOutFile() const
virtual void PrepareModuleList()
void EnableOverwrite(Bool_t b=true)
const char * GetOdefFileName() const
std::vector< THaPostProcess * > fPostProcess
void SetCrateMapFileName(const char *name)
THaEvData * GetDecoder() const
const std::vector< THaPostProcess * > & GetPostProcess() const
virtual void PrintExitStatus(EExitStatus status) const
virtual Int_t Init(THaRunBase *run)
virtual void PrintSummary(EExitStatus exit_status) const
THaAnalyzer(const THaAnalyzer &)
const std::vector< THaEvtTypeHandler * > & GetEvtHandlers() const
const char * GetSummaryFileName() const
Bool_t SlowControlEnabled() const
void SetCodaVersion(Int_t vers)
const char * GetOutFileName() const
void EnableBenchmarks(Bool_t b=true)
virtual void PrintCutSummary() const
void EnableOtherEvents(Bool_t b=true)
virtual Int_t DoInit(THaRunBase *run)
std::vector< Podd::InterStageModule * > fInterStage
static const char *const kMasterCutName
virtual Int_t SlowControlAnalysis(Int_t code)
THaEpicsEvtHandler * fEpicsHandler
Bool_t OtherEventsEnabled() const
virtual void PrintTimingSummary() const
std::vector< THaSpectrometer * > fSpectrometers
Bool_t PhysicsEnabled() const
virtual Int_t PostProcess(Int_t code)
virtual Int_t InitOutput(const std::vector< THaAnalysisObject * > &module_list)
void EnableHelicity(Bool_t b=true)
std::vector< Counter_t > fCounters
Int_t Process(THaRunBase &run)
virtual Int_t AddInterStage(Podd::InterStageModule *module)
Int_t Init(THaRunBase &run)
void SetVerbosity(Int_t level)
virtual Int_t AddPostProcess(THaPostProcess *module)
virtual void InitStages()
virtual Int_t EndAnalysis()
TString fLoadedCutFileName
void EnableSlowControl(Bool_t b=true)
virtual Int_t OtherAnalysis(Int_t code)
void SetCompressionLevel(Int_t level)
Bool_t HelicityEnabled() const
void AddEpicsEvtType(Int_t itype)
THaEpicsEvtHandler * GetEpicsEvtHandler() const
const char * Data() const