12 #include "CLHEP/Vector/LorentzVector.h"
58 , m_ntupleFileName(
"/MDTHitAnalysis/")
59 ,
m_path(
"/MDTHitAnalysis/")
60 , m_thistSvc(
"THistSvc",
name)
74 m_h_hits_x =
new TH1D(
"h_hits_mdt_x",
"hits_x", 100,-25000, 25000);
78 m_h_hits_y =
new TH1D(
"h_hits_mdt_y",
"hits_y", 100,-25000,25000);
82 m_h_hits_z =
new TH1D(
"h_hits_mdt_z",
"hits_z", 100,-45000,45000);
86 m_h_hits_r =
new TH1D(
"h_hits_mdt_r",
"hits_r", 100,4000,26000);
90 m_h_xy =
new TH2D(
"h_mdt_xy",
"xy", 100,-25000.,25000.,100, -25000., 25000.);
94 m_h_zr =
new TH2D(
"h_mdt_zr",
"zr", 100,-45000.,45000.,100, 4000., 26000.);
98 m_h_hits_eta =
new TH1D(
"h_hits_mdt_eta",
"hits_eta", 100,-3.0,3.0);
102 m_h_hits_phi =
new TH1D(
"h_hits_mdt_phi",
"hits_phi", 100,-3.2,3.2);
106 m_h_hits_lx =
new TH1D(
"h_hits_mdt_lx",
"hits_lx", 100,-20, 20);
110 m_h_hits_ly =
new TH1D(
"h_hits_mdt_ly",
"hits_ly", 100,-20,20);
114 m_h_hits_lz =
new TH1D(
"h_hits_mdt_lz",
"hits_lz", 100,-2000,2000);
118 m_h_hits_driftR =
new TH1D(
"h_hits_mdt_driftR",
"hits_driftR", 100,0,15);
122 m_h_hits_time =
new TH1D(
"h_hits_mdt_time",
"hits_time", 100,0, 150);
126 m_h_hits_edep =
new TH1D(
"h_hits_mdt_edep",
"hits_edep", 100,0,0.2);
130 m_h_hits_kine =
new TH1D(
"h_hits_mdt_kine",
"hits_kine", 100,0,20000);
134 m_h_hits_step =
new TH1D(
"h_hits_mdt_step",
"hits_step", 100,0,100);
139 m_tree =
new TTree(
"MDT",
"MDT");
163 return StatusCode::SUCCESS;
186 if (
evtStore()->
retrieve(mdt_container,
"MDT_Hits") == StatusCode::SUCCESS) {
218 m_hits_lx->push_back((*i_hit).localPosition().x());
219 m_hits_ly->push_back((*i_hit).localPosition().y());
220 m_hits_lz->push_back((*i_hit).localPosition().z());
230 return StatusCode::SUCCESS;