 |
ATLAS Offline Software
|
Go to the documentation of this file.
18 m_h_hitID =
new TH1D(
"h_hitID",
"hitID",100, 0., 100.);
22 m_h_pdgID =
new TH1D(
"h_pdgID",
"pdgID", 200, -100,100);
26 m_h_trackID =
new TH1D(
"h_trackID",
"trackID", 100, 0,100);
30 m_h_kine =
new TH1D(
"h_kine",
"kine", 100, 0,1000);
34 m_h_edep =
new TH1D(
"h_edep",
"edep", 100, 0,1000);
38 m_h_stepX =
new TH1D(
"h_stepX",
"stepX", 100, 0,1000);
42 m_h_stepY =
new TH1D(
"h_stepY",
"stepY", 100, 0,1000);
46 m_h_stepZ =
new TH1D(
"h_stepZ",
"stepZ", 100, 0,1000);
50 m_h_stationID =
new TH1D(
"h_stationID",
"stationID", 50, 0,50);
54 m_h_detID =
new TH1D(
"h_detID",
"detID", 50, 0,50);
58 m_h_pixelRow =
new TH1D(
"h_pixelRow",
"pixelRow", 20, 0,20);
62 m_h_pixelCol =
new TH1D(
"h_pixelCol",
"pixelCol", 20, 0,20);
67 m_tree =
new TTree(
"AFP",
"AFP");
88 return StatusCode::SUCCESS;
113 const EventContext& ctx{Gaudi::Hive::currentContext()};
119 for ( hi=(*iter).begin(); hi != (*iter).end(); ++hi ) {
152 return StatusCode::SUCCESS;
const ServiceHandle< ITHistSvc > & histSvc() const
The standard THistSvc (for writing histograms and TTrees and more to a root file) Returns (kind of) a...
AtlasHitsVector< AFP_SIDSimHit >::const_iterator AFP_SIDSimHitConstIter
std::vector< float > * m_stepY
virtual StatusCode execute() override final
Gaudi::Property< std::string > m_ntupleFileName
std::vector< float > * m_edep
std::vector< int > * m_stationID
SG::ReadHandleKey< AFP_SIDSimHitCollection > m_readKey
std::vector< float > * m_pdgID
std::vector< float > * m_trackID
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
std::vector< float > * m_stepZ
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< float > * m_stepX
std::vector< float > * m_kine
std::vector< int > * m_pixelRow
std::vector< float > * m_time
TH1 * m_h_hitID
Some histograms.
Gaudi::Property< std::string > m_path
std::vector< float > * m_hitID
std::vector< int > * m_pixelCol
std::vector< int > * m_detID
Handle class for reading from StoreGate.
virtual StatusCode initialize() override final