1#ifndef EFFICIENCYHELPER_HH
2#define EFFICIENCYHELPER_HH
25 }
catch(std::exception&) {}
35 Prefix(
"EfficiencyHelper");
39 ROOT::RDF::RResultPtr<std::map<std::string, TList>>
Book(ROOT::RDataFrame* d)
override
48 void EndOfSort(std::shared_ptr<std::map<std::string, TList>>& list)
override {}
void DestroyHelper(TGRSIHelper *helper)
EfficiencyHelper * CreateHelper(TList *list)
bool GoodCfd(TDetectorHit *h1)
void EndOfSort(std::shared_ptr< std::map< std::string, TList > > &list) override
This method gets called at the end of Finalize()
double fMinimumGriffinEnergy
ROOT::RDF::RResultPtr< std::map< std::string, TList > > Book(ROOT::RDataFrame *d) override
This method will call the Book action on the provided dataframe.
void CreateHistograms(unsigned int slot) override
Virtual helper function that the user uses to create their histograms.
EfficiencyHelper(TList *list)
bool PromptCoincidence(TGriffinHit *h1, TGriffinHit *h2)
void Exec(unsigned int slot, TGriffin &grif, TGriffinBgo &grifBgo)
bool Reject(TGriffinHit *hit)
virtual Long64_t GetTimeStampNs(Option_t *opt="") const
virtual double GetEnergy(Option_t *opt="") const
virtual Short_t GetKValue() const
!
virtual Double_t GetTime(const ETimeFlag &correct_flag=ETimeFlag::kAll, Option_t *opt="") const
Returns a time value to the nearest nanosecond!
TUserSettings * fUserSettings
bool GetBool(const std::string ¶meter, bool quiet=false) const
int GetInt(const std::string ¶meter, bool quiet=false) const
double GetDouble(const std::string ¶meter, bool quiet=false) const