11#include "CLHEP/Vector/LorentzVector.h"
22 m_h_hits_x =
new TH1D(
"h_hits_rpc_x",
"hits_x", 100,-11000, 11000);
26 m_h_hits_y =
new TH1D(
"h_hits_rpc_y",
"hits_y", 100,-11000,11000);
30 m_h_hits_z =
new TH1D(
"h_hits_rpc_z",
"hits_z", 100,-12500, 12500);
34 m_h_hits_r =
new TH1D(
"h_hits_rpc_r",
"hits_r", 100,6000,14000);
38 m_h_xy =
new TH2D(
"h_rpc_xy",
"xy", 100,-11000.,11000.,100, -11000., 11000.);
42 m_h_zr =
new TH2D(
"m_rpc_zr",
"zr", 100,-12500.,12500.,100, 6000., 14000.);
46 m_h_hits_eta =
new TH1D(
"h_hits_rpc_eta",
"hits_eta", 100,-1.5,1.5);
50 m_h_hits_phi =
new TH1D(
"h_hits_rpc_phi",
"hits_phi", 100,-3.2,3.2);
54 m_h_hits_lx =
new TH1D(
"h_hits_rpc_lx",
"hits_lx", 100,-10, 10);
58 m_h_hits_ly =
new TH1D(
"h_hits_rpc_ly",
"hits_ly", 100,-1500,1500);
62 m_h_hits_lz =
new TH1D(
"h_hits_rpc_lz",
"hits_lz", 100,-600,600);
66 m_h_hits_time =
new TH1D(
"h_hits_rpc_time",
"hits_time", 100,0, 120);
70 m_h_hits_edep =
new TH1D(
"h_hits_rpc_edep",
"hits_edep", 100,0,0.15);
74 m_h_hits_kine =
new TH1D(
"h_hits_rpc_kine",
"hits_kine", 100,0,500);
78 m_h_hits_step =
new TH1D(
"h_hits_rpc_step",
"hits_step", 100,0,25);
82 return StatusCode::SUCCESS;
89 const EventContext& ctx{Gaudi::Hive::currentContext()};
103 m_h_xy->Fill(p.x(), p.y());
104 m_h_zr->Fill(p.z(),p.perp());
116 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
AtlasHitsVector< RPCSimHit > RPCSimHitCollection
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
TH1 * m_h_hits_x
Some variables.
virtual StatusCode initialize() override final
Gaudi::Property< std::string > m_path
SG::ReadHandleKey< RPCSimHitCollection > m_readKey
virtual StatusCode execute() override final
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.