49 , m_ntupleFileName(
"/LucidHitAnalysis/")
50 ,
m_path(
"/LucidHitAnalysis/")
51 , m_thistSvc(
"THistSvc",
name)
65 m_h_hit_x =
new TH1D(
"h_hit_x",
"hit_x", 100,-150.,150.);
69 m_h_hit_y =
new TH1D(
"h_hit_y",
"hit_y", 100,-150.,150.);
73 m_h_hit_z =
new TH1D(
"h_hit_z",
"hit_z", 100,-20000.,20000.);
77 m_h_xy =
new TH2D(
"h_xy",
"hit_xy", 100,-150.,150.,100,-150,150);
81 m_h_zr =
new TH2D(
"h_zr",
"hit_zr", 100,-20000.,20000.,100,0,250);
85 m_h_hit_post_x =
new TH1D(
"h_hit_post_x",
"hit_post_x", 100,-150.,150.);
89 m_h_hit_post_y =
new TH1D(
"h_hit_post_y",
"hit_post_y", 100,-150,150.);
93 m_h_hit_post_z =
new TH1D(
"h_hit_post_z",
"hit_post_z", 100,-15000,15000.);
97 m_h_hit_edep =
new TH1D(
"h_hit_edep",
"hit_edep", 100,0.,20.);
101 m_h_hit_pdgid =
new TH1D(
"h_hit_pdgid",
"hit_pdgid", 100,0.,7e6);
105 m_h_hit_pretime =
new TH1D(
"h_hit_pretime",
"hit_pretime", 100,0.,100.);
113 m_h_genvolume =
new TH1D(
"h_genvolume",
"genvolume", 20,0.,5.);
117 m_h_wavelength =
new TH1D(
"m_wavelength",
"wavelength", 150,0.,800.);
122 m_tree =
new TTree(
"Lucid",
"Lucid");
144 return StatusCode::SUCCESS;
167 double x = i_hit->GetX();
168 double y = i_hit->GetY();
169 double z = i_hit->GetZ();
170 double r = sqrt(
x*
x+
y*
y);
187 m_hit_x->push_back(i_hit->GetX());
188 m_hit_y->push_back(i_hit->GetY());
189 m_hit_z->push_back(i_hit->GetZ());
204 return StatusCode::SUCCESS;