7 #define CRT_HISTO2D(name, binx, lo_x, hi_x, biny, lo_y, hi_y) name = new TH2D((#name + postfix).c_str(), #name, binx, lo_x, hi_x, biny, lo_y, hi_y); StoreHisto(name)
10 CRT_HISTO2D(
crt_hits_xy, n_bins, tagger_volume[0], tagger_volume[3], n_bins, tagger_volume[1], tagger_volume[4]);
11 CRT_HISTO2D(
crt_hits_xz, n_bins, tagger_volume[0], tagger_volume[3], n_bins, tagger_volume[2], tagger_volume[5]);
12 CRT_HISTO2D(
crt_hits_yz, n_bins, tagger_volume[1], tagger_volume[4], n_bins, tagger_volume[2], tagger_volume[5]);
17 #define GET_CRT_HISTO2D(name, postfix) name = (TH2D *) f.Get((#name + postfix).c_str()); StoreHisto(name);
21 #undef GET_CRT_HISTO2D
void Fill(const numu::CRTHit &hit)
#define CRT_HISTO2D(name, binx, lo_x, hi_x, biny, lo_y, hi_y)
void Get(TFile &f, const std::string &postfix)
#define GET_CRT_HISTO2D(name, postfix)
TVector3 location
Location of the hit.
float z_pos
position in z-direction (cm).
float y_pos
position in y-direction (cm).
float x_pos
position in x-direction (cm).
void Initialize(const std::string &postfix, const std::vector< double > &tagger_volume)