11#include "CLHEP/Vector/LorentzVector.h"
30 m_h_hits_x =
new TH1D(
"h_hits_tgc_x",
"hits_x", 100,-5000, 5000);
34 m_h_hits_y =
new TH1D(
"h_hits_tgc_y",
"hits_y", 100,-5000,5000);
38 m_h_hits_z =
new TH1D(
"h_hits_tgc_z",
"hits_z", 100,-12000,12000);
42 m_h_hits_r =
new TH1D(
"h_hits_tgc_r",
"hits_r", 100,2000,10000);
46 m_h_xy =
new TH2D(
"h_tgc_xy",
"xy", 100,-5000.,5000.,100, -5000., 5000.);
50 m_h_rz =
new TH2D(
"h_tgc_rz",
"rz", 100,2000.,10000.,100, -12000., 12000.);
54 m_h_hits_eta =
new TH1D(
"h_hits_tgc_eta",
"hits_eta", 100,-10.0,10.0);
58 m_h_hits_phi =
new TH1D(
"h_hits_tgc_phi",
"hits_phi", 100,-3.2,3.2);
62 m_h_hits_lx =
new TH1D(
"h_hits_tgc_lx",
"hits_lx", 100,-800, 800);
66 m_h_hits_ly =
new TH1D(
"h_hits_tgc_ly",
"hits_ly", 100,-800,800);
70 m_h_hits_lz =
new TH1D(
"h_hits_tgc_lz",
"hits_lz", 100,-800,800);
74 m_h_hits_dcx =
new TH1D(
"h_hits_tgc_dcx",
"hits_dcx", 100,-1, 1);
78 m_h_hits_dcy =
new TH1D(
"h_hits_tgc_dcy",
"hits_dcy", 100,-1,1);
82 m_h_hits_dcz =
new TH1D(
"h_hits_tgc_dcz",
"hits_dcz", 100,-1,1);
86 m_h_hits_time =
new TH1D(
"h_hits_tgc_time",
"hits_time", 100,0, 250);
90 m_h_hits_edep =
new TH1D(
"h_hits_tgc_edep",
"hits_edep", 100,0,0.5);
94 m_h_hits_kine =
new TH1D(
"h_hits_tgc_kine",
"hits_kine", 100,0,1000);
98 m_h_hits_step =
new TH1D(
"h_hits_tgc_step",
"hits_step", 100,0,50);
103 return StatusCode::SUCCESS;
110 const EventContext& ctx{Gaudi::Hive::currentContext()};
124 m_h_xy->Fill(p.x(), p.y());
125 m_h_rz->Fill(p.perp(), p.z());
141 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
AtlasHitsVector< TGCSimHit > TGCSimHitCollection
const ServiceHandle< ITHistSvc > & histSvc() const
The standard THistSvc (for writing histograms and TTrees and more to a root file) Returns (kind of) a...
CONT::const_iterator const_iterator
const_iterator begin() const
const_iterator end() const
Amg::Vector3D getGlobalPosition() const
SG::ReadHandleKey< TGCSimHitCollection > m_readKey
TH1 * m_h_hits_x
Some variables.
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_path
virtual StatusCode execute() override
Eigen::Matrix< double, 3, 1 > Vector3D
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.