12#include "CLHEP/Vector/LorentzVector.h"
62 ,
m_path(
"/CSCHitAnalysis/")
77 m_h_hits_x =
new TH1D(
"h_csc_hits_x",
"hits_x", 100,-2000, 2000);
81 m_h_hits_y =
new TH1D(
"h_csc_hits_y",
"hits_y", 100,-2000,2000);
85 m_h_hits_z =
new TH1D(
"h_csc_hits_z",
"hits_z", 100,-10000,10000);
89 m_h_hits_r =
new TH1D(
"h_csc_hits_r",
"hits_r", 100,500,2500);
93 m_h_xy =
new TH2D(
"h_csc_xy",
"xy", 100,-2000.,2000.,100, -2000., 2000.);
97 m_h_zr =
new TH2D(
"h_csc_zr",
"zr", 100,-10000.,10000.,100, 500., 2500.);
101 m_h_hits_eta =
new TH1D(
"h_csc_hits_eta",
"hits_eta", 100,-3.0,3.0);
105 m_h_hits_phi =
new TH1D(
"h_csc_hits_phi",
"hits_phi", 100,-3.2,3.2);
109 m_h_hits_sx =
new TH1D(
"h_csc_hits_sx",
"hits_sx", 100,-10, 10);
113 m_h_hits_sy =
new TH1D(
"h_csc_hits_sy",
"hits_sy", 100,-500,500);
117 m_h_hits_sz =
new TH1D(
"h_csc_hits_sz",
"hits_sz", 100,-1000,1000);
121 m_h_hits_ex =
new TH1D(
"h_csc_hits_ex",
"hits_ex", 100,-10, 10);
125 m_h_hits_ey =
new TH1D(
"h_csc_hits_ey",
"hits_ey", 100,-500,500);
129 m_h_hits_ez =
new TH1D(
"h_csc_hits_ez",
"hits_ez", 100,-1000,1000);
133 m_h_hits_time =
new TH1D(
"h_csc_hits_time",
"hits_time", 100,20, 40);
137 m_h_hits_edep =
new TH1D(
"h_csc_hits_edep",
"hits_edep", 100,0,0.1);
141 m_h_hits_kine =
new TH1D(
"h_csc_hits_kine",
"hits_kine", 100,0,3000);
146 m_tree =
new TTree(
"CSC",
"CSC");
171 return StatusCode::SUCCESS;
195 if (
evtStore()->retrieve(csc_container,
"CSC_Hits") == StatusCode::SUCCESS) {
197 i_hit != csc_container->
end(); ++i_hit) {
208 m_h_xy->Fill(p.x(), p.y());
209 m_h_zr->Fill(p.z(), p.perp());
242 return StatusCode::SUCCESS;
AtlasHitsVector< CSCSimHit > CSCSimHitCollection
#define CHECK(...)
Evaluate an expression and check for errors.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
CONT::const_iterator const_iterator
const_iterator begin() const
const_iterator end() const
std::vector< float > * m_hits_end_y
std::vector< float > * m_hits_end_z
std::vector< float > * m_hits_phi
std::vector< float > * m_hits_start_y
std::vector< float > * m_hits_eta
std::vector< float > * m_hits_x
std::vector< float > * m_hits_end_x
std::vector< float > * m_hits_y
std::vector< float > * m_hits_edep
virtual StatusCode initialize()
std::vector< float > * m_hits_r
TH1 * m_h_hits_x
Some variables.
std::vector< float > * m_hits_kine
std::vector< float > * m_hits_start_x
ServiceHandle< ITHistSvc > m_thistSvc
std::vector< float > * m_hits_start_z
virtual StatusCode execute()
std::vector< float > * m_hits_z
std::vector< float > * m_hits_time
std::string m_ntupleFileName
CSCHitAnalysis(const std::string &name, ISvcLocator *pSvcLocator)
Amg::Vector3D getGlobalPosition() const
Eigen::Matrix< double, 3, 1 > Vector3D