1#define ExampleEventSelector_cxx
8 fH1[
"gE"] =
new TH1D(
"gE",
"#gamma Singles", 12000, 0, 3000);
9 fH1[
"gE_b"] =
new TH1D(
"gE_b",
"#gamma Singles in rough #beta coincidence", 12000, 0, 3000);
10 fH1[
"aE"] =
new TH1D(
"aE",
"Addback Singles", 12000, 0, 3000);
11 fH2[
"ggE"] =
new TH2F(
"ggE",
"#gamma #gamma Coincidence", 8192, 0, 4096., 8192, 0, 4096.);
12 fH1[
"gsE"] =
new TH1D(
"gsE",
"suppressed #gamma Singles", 12000, 0, 3000);
13 fH1[
"gsE_b"] =
new TH1D(
"gsE_b",
"suppressed #gamma Singles in rough #beta coincidence", 12000, 0, 3000);
14 fH1[
"asE"] =
new TH1D(
"asE",
"suppressed Addback Singles", 12000, 0, 3000);
31 return std::fabs(g->
GetTime() -
s->GetTime()) < 300.;
45 fH1.at(
"gE")->Fill(grif1->GetEnergy());
50 fH2.at(
"ggE")->Fill(grif1->GetEnergy(), grif2->GetEnergy());
55 fH1.at(
"gE_b")->Fill(grif1->GetEnergy());
62 fH1.at(
"aE")->Fill(grif1->GetEnergy());
67 fH1.at(
"gsE")->Fill(grif1->GetEnergy());
71 fH1.at(
"gsE_b")->Fill(grif1->GetEnergy());
78 fH1.at(
"asE")->Fill(grif1->GetEnergy());
bool PromptCoincidence(TGriffinHit *one, TGriffinHit *two)
bool PromptCoincidence(TGriffinHit *g, TSceptarHit *s)
TGriffinBgo * fGriffinBgo
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
TGRSIMap< std::string, TH1 * > fH1
TGRSIMap< std::string, TH2 * > fH2
TGRSIMap< std::string, THnSparseF * > fHSparse
TList * GetOutputList() const override
this does the same as TSelector::GetOutputList()
TGriffinHit * GetAddbackHit(const int &i)
Short_t GetAddbackMultiplicity()
TGriffinHit * GetSuppressedAddbackHit(const int &i)
Short_t GetSuppressedMultiplicity(const TBgo *bgo)
Short_t GetSuppressedAddbackMultiplicity(const TBgo *bgo)
Short_t GetMultiplicity() const override
TGriffinHit * GetSuppressedHit(const int &i)
!
TGriffinHit * GetGriffinHit(const int &i)
!
TSceptarHit * GetSceptarHit(const int &i) const