12 #include "CLHEP/Vector/LorentzVector.h"
62 , m_ntupleFileName(
"/TGCHitAnalysis/")
63 ,
m_path(
"/TGCHitAnalysis/")
64 , m_thistSvc(
"THistSvc",
name)
77 m_h_hits_x =
new TH1D(
"h_hits_tgc_x",
"hits_x", 100,-5000, 5000);
81 m_h_hits_y =
new TH1D(
"h_hits_tgc_y",
"hits_y", 100,-5000,5000);
85 m_h_hits_z =
new TH1D(
"h_hits_tgc_z",
"hits_z", 100,-12000,12000);
89 m_h_hits_r =
new TH1D(
"h_hits_tgc_r",
"hits_r", 100,2000,10000);
93 m_h_xy =
new TH2D(
"h_tgc_xy",
"xy", 100,-5000.,5000.,100, -5000., 5000.);
97 m_h_rz =
new TH2D(
"h_tgc_rz",
"rz", 100,2000.,10000.,100, -12000., 12000.);
101 m_h_hits_eta =
new TH1D(
"h_hits_tgc_eta",
"hits_eta", 100,-10.0,10.0);
105 m_h_hits_phi =
new TH1D(
"h_hits_tgc_phi",
"hits_phi", 100,-3.2,3.2);
109 m_h_hits_lx =
new TH1D(
"h_hits_tgc_lx",
"hits_lx", 100,-800, 800);
113 m_h_hits_ly =
new TH1D(
"h_hits_tgc_ly",
"hits_ly", 100,-800,800);
117 m_h_hits_lz =
new TH1D(
"h_hits_tgc_lz",
"hits_lz", 100,-800,800);
121 m_h_hits_dcx =
new TH1D(
"h_hits_tgc_dcx",
"hits_dcx", 100,-1, 1);
125 m_h_hits_dcy =
new TH1D(
"h_hits_tgc_dcy",
"hits_dcy", 100,-1,1);
129 m_h_hits_dcz =
new TH1D(
"h_hits_tgc_dcz",
"hits_dcz", 100,-1,1);
133 m_h_hits_time =
new TH1D(
"h_hits_tgc_time",
"hits_time", 100,0, 250);
137 m_h_hits_edep =
new TH1D(
"h_hits_tgc_edep",
"hits_edep", 100,0,0.5);
141 m_h_hits_kine =
new TH1D(
"h_hits_tgc_kine",
"hits_kine", 100,0,1000);
145 m_h_hits_step =
new TH1D(
"h_hits_tgc_step",
"hits_step", 100,0,50);
150 m_tree =
new TTree(
"TGC",
"TGC");
176 return StatusCode::SUCCESS;
201 if (
evtStore()->
retrieve(tgc_container,
"TGC_Hits" ) == StatusCode::SUCCESS) {
234 m_hits_lx->push_back((*i_hit).localPosition().x());
235 m_hits_ly->push_back((*i_hit).localPosition().y());
236 m_hits_lz->push_back((*i_hit).localPosition().z());
237 m_hits_dcx->push_back((*i_hit).localDireCos().x());
238 m_hits_dcy->push_back((*i_hit).localDireCos().y());
239 m_hits_dcz->push_back((*i_hit).localDireCos().z());
249 return StatusCode::SUCCESS;