6 fTree[slot].emplace(
"coinc",
new TTree(
"coinc",
"coincident events"));
7 fTree[slot][
"timebg"] =
new TTree(
"timebg",
"time random events");
20 fH1[slot][
"asE"] =
new TH1D(
"asE",
"suppressed Addback Singles", 12000, 0, 3000);
21 fH2[slot][
"sceptarMult"] =
new TH2D(
"sceptarMult",
"Sceptar multiplicity vs. Griffin multiplicity", 64, 0, 64, 40, 0, 40);
22 fH2[slot][
"zdsMult"] =
new TH2D(
"zdsMult",
"ZeroDegree multiplicity vs. Griffin multiplicity", 64, 0, 64, 10, 0, 10);
34 return std::fabs(g->
GetTime() -
s->GetTime()) < 300.;
62 fH1[slot].at(
"asE")->Fill(grif1->GetEnergy());
74 bool foundBeta =
false;
110 fTree[slot].at(
"coinc")->Fill();
112 fTree[slot].at(
"timebg")->Fill();
bool PromptCoincidence(TGriffinHit *one, TGriffinHit *two)
bool PromptCoincidence(TGriffinHit *g, TZeroDegreeHit *z)
void CreateHistograms(unsigned int slot) override
Virtual helper function that the user uses to create their histograms.
std::map< unsigned int, int > fGriffinMultiplicity
multiplicity of suppressed addback energies
void Exec(unsigned int slot, TGriffin &grif, TGriffinBgo &grifBgo, TZeroDegree &zds, TSceptar &scep)
std::map< unsigned int, std::vector< double > > fBetaGammaTiming
vector of beta-gamma timing
std::map< unsigned int, std::vector< double > > fSuppressedAddback
vector of suppressed addback energies
std::map< unsigned int, double * > fSuppressedAddback2
vector of suppressed addback energies
virtual Double_t GetTime(const ETimeFlag &correct_flag=ETimeFlag::kAll, Option_t *opt="") const
Returns a time value to the nearest nanosecond!
virtual Short_t GetMultiplicity() const
std::vector< TGRSIMap< std::string, TTree * > > fTree
std::vector< TGRSIMap< std::string, TH2 * > > fH2
std::vector< TGRSIMap< std::string, TH1 * > > fH1
TGriffinHit * GetSuppressedAddbackHit(const int &i)
Short_t GetSuppressedAddbackMultiplicity(const TBgo *bgo)
TSceptarHit * GetSceptarHit(const int &i) const
TZeroDegreeHit * GetZeroDegreeHit(const int &i) const