28 , m_h_TRT_time_photons(0)
29 , m_h_TRT_time_nonphotons(0)
30 , m_h_TRT_edep_photons(0)
31 , m_h_TRT_edep_nonphotons(0)
32 , m_h_TRT_kine_photons(0)
33 , m_h_TRT_kine_nonphotons(0)
39 , m_TRT_time_photons(0)
40 , m_TRT_time_nonphotons(0)
41 , m_TRT_edep_photons(0)
42 , m_TRT_edep_nonphotons(0)
43 , m_TRT_kine_photons(0)
44 , m_TRT_kine_nonphotons(0)
48 ,
m_path(
"/TRTHitAnalysis/")
49 , m_ntupleFileName(
"/TRTHitAnalysis/")
50 , m_thistSvc(
"THistSvc",
name)
64 m_h_TRT_x =
new TH1D(
"h_TRT_x",
"hits_x", 100,-1100, 1100);
68 m_h_TRT_y =
new TH1D(
"h_TRT_y",
"hits_y", 100,-1100,1100);
72 m_h_TRT_z =
new TH1D(
"h_TRT_z",
"hits_z", 100,-3000,3000);
76 m_h_TRT_r =
new TH1D(
"h_TRT_r",
"hits_r", 100,500,1100);
80 m_h_TRT_xy =
new TH2D(
"h_TRT_xy",
"xy", 100,-1100.,1100.,100, -1100., 1100.);
84 m_h_TRT_zr =
new TH2D(
"h_TRT_zr",
"zr", 100,-3000,3000,100,500.,1100.);
112 m_h_TRT_barcode =
new TH1D(
"h_TRT_barcode",
"hits_barcode", 100,-500,300000);
117 m_tree =
new TTree(
"TRT",
"TRT");
138 return StatusCode::SUCCESS;
158 if (
evtStore()->
retrieve(p_collection,
"TRTUncompressedHits") == StatusCode::SUCCESS) {
177 int particleId(i_hit->GetParticleEncoding());
178 if(particleId == 22 ||
static_cast<int>(std::abs(particleId)/100000)==41 ||
static_cast<int>(std::abs(particleId)/10000000)==1) {
199 return StatusCode::SUCCESS;