1#ifndef ComptonPolarimetryHelper_h
2#define ComptonPolarimetryHelper_h
60 if(index < 0 || index > 1) {
61 for(index = 0; index < 2; ++index) {
76 Prefix(
"ComptonPolarimetry");
96 std::cout <<
"No user settings provided, using default settings: ";
104 ROOT::RDF::RResultPtr<std::map<std::string, TList>>
Book(ROOT::RDataFrame* d)
override
void DestroyHelper(TGRSIHelper *helper)
ComptonPolarimetryHelper * CreateHelper(TList *list)
std::vector< int > fExcludedDetectors
ROOT::RDF::RResultPtr< std::map< std::string, TList > > Book(ROOT::RDataFrame *d) override
This method will call the Book action on the provided dataframe.
std::array< double, 2 > fGammaGateLow
double TimeDiff(TGriffinHit *grif1, TGriffinHit *grif2) const
bool Coincident(TGriffinHit *grif1, TGriffinHit *grif2) const
std::array< double, 2 > fGammaGateHigh
void Exec(unsigned int slot, TGriffin &fGriffin, TGriffinBgo &fGriffinBgo)
void CreateHistograms(unsigned int slot) override
Virtual helper function that the user uses to create their histograms.
std::vector< int > fExcludedCrystals
bool ExcludeCrystal(int arraynumber) const
bool ExcludeDetector(int detector) const
ComptonPolarimetryHelper(TList *list)
std::map< unsigned int, std::deque< TGriffin * > > fGriffinDeque
int CheckEnergy(double energy, int index=-1) const
virtual Long64_t GetTimeStampNs(Option_t *opt="") 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
std::vector< int > GetIntVector(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