29 , m_h_TRT_time_photons(0)
30 , m_h_TRT_time_nonphotons(0)
31 , m_h_TRT_edep_photons(0)
32 , m_h_TRT_edep_nonphotons(0)
33 , m_h_TRT_kine_photons(0)
34 , m_h_TRT_kine_nonphotons(0)
40 , m_TRT_time_photons(0)
41 , m_TRT_time_nonphotons(0)
42 , m_TRT_edep_photons(0)
43 , m_TRT_edep_nonphotons(0)
44 , m_TRT_kine_photons(0)
45 , m_TRT_kine_nonphotons(0)
49 ,
m_path(
"/TRTHitAnalysis/")
50 , m_ntupleFileName(
"/TRTHitAnalysis/")
51 , m_thistSvc(
"THistSvc",
name)
65 m_h_TRT_x =
new TH1D(
"h_TRT_x",
"hits_x", 100,-1100, 1100);
69 m_h_TRT_y =
new TH1D(
"h_TRT_y",
"hits_y", 100,-1100,1100);
73 m_h_TRT_z =
new TH1D(
"h_TRT_z",
"hits_z", 100,-3000,3000);
77 m_h_TRT_r =
new TH1D(
"h_TRT_r",
"hits_r", 100,500,1100);
81 m_h_TRT_xy =
new TH2D(
"h_TRT_xy",
"xy", 100,-1100.,1100.,100, -1100., 1100.);
85 m_h_TRT_zr =
new TH2D(
"h_TRT_zr",
"zr", 100,-3000,3000,100,500.,1100.);
113 m_h_TRT_barcode =
new TH1D(
"h_TRT_barcode",
"hits_barcode", 100,-500,300000);
118 m_tree =
new TTree(
"TRT",
"TRT");
141 return StatusCode::SUCCESS;
161 if (
evtStore()->
retrieve(p_collection,
"TRTUncompressedHits") == StatusCode::SUCCESS) {
180 int particleId(i_hit->GetParticleEncoding());
181 if(particleId == 22 ||
static_cast<int>(std::abs(particleId)/100000)==41 ||
static_cast<int>(std::abs(particleId)/10000000)==1) {
202 return StatusCode::SUCCESS;