ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
Tools
HitAnalysis
src
AFPHitAnalysis.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef AFP_HIT_ANALYSIS_H
6
#define AFP_HIT_ANALYSIS_H
7
8
#include "
AthenaBaseComps/AthHistogramAlgorithm.h
"
9
#include "
StoreGate/ReadHandleKey.h
"
10
#include "
AFP_SimEv/AFP_SIDSimHitCollection.h
"
11
12
13
class
AFPHitAnalysis
:
public
AthHistogramAlgorithm
{
14
15
public
:
16
using
AthHistogramAlgorithm::AthHistogramAlgorithm
;
17
~AFPHitAnalysis
() =
default
;
18
19
virtual
StatusCode
initialize
() override final;
20
virtual StatusCode
execute
(
const
EventContext& ctx) override final;
21
22
private
:
23
25
TH1*
m_h_hitID
{
nullptr
};
26
TH1*
m_h_pdgID
{
nullptr
};
27
TH1*
m_h_trackID
{
nullptr
};
28
TH1*
m_h_kine
{
nullptr
};
29
TH1*
m_h_edep
{
nullptr
};
30
TH1*
m_h_stepX
{
nullptr
};
31
TH1*
m_h_stepY
{
nullptr
};
32
TH1*
m_h_stepZ
{
nullptr
};
33
TH1*
m_h_time
{
nullptr
};
34
TH1*
m_h_stationID
{
nullptr
};
35
TH1*
m_h_detID
{
nullptr
};
36
TH1*
m_h_pixelRow
{
nullptr
};
37
TH1*
m_h_pixelCol
{
nullptr
};
38
39
std::vector<float>*
m_hitID
{
nullptr
};
40
std::vector<float>*
m_pdgID
{
nullptr
};
41
std::vector<float>*
m_trackID
{
nullptr
};
42
std::vector<float>*
m_kine
{
nullptr
};
43
std::vector<float>*
m_edep
{
nullptr
};
44
std::vector<float>*
m_stepX
{
nullptr
};
45
std::vector<float>*
m_stepY
{
nullptr
};
46
std::vector<float>*
m_stepZ
{
nullptr
};
47
std::vector<float>*
m_time
{
nullptr
};
48
std::vector<int>*
m_stationID
{
nullptr
};
49
std::vector<int>*
m_detID
{
nullptr
};
50
std::vector<int>*
m_pixelRow
{
nullptr
};
51
std::vector<int>*
m_pixelCol
{
nullptr
};
52
53
TTree *
m_tree
{
nullptr
};
54
Gaudi::Property<std::string>
m_ntupleFileName
{
this
,
"NtupleFileName"
,
"/AFPHitAnalysis/"
};
55
Gaudi::Property<std::string>
m_path
{
this
,
"HistPath"
,
"/AFPHitAnalysis/"
};
56
SG::ReadHandleKey<AFP_SIDSimHitCollection>
m_readKey
{
this
,
"InpuKey"
,
"AFP_SIDSimHitCollection"
};
57
58
59
60
};
61
62
#endif
// AFP_HIT_ANALYSIS_H
AFP_SIDSimHitCollection.h
AthHistogramAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AFPHitAnalysis
Definition
AFPHitAnalysis.h:13
AFPHitAnalysis::m_stepZ
std::vector< float > * m_stepZ
Definition
AFPHitAnalysis.h:46
AFPHitAnalysis::m_h_pdgID
TH1 * m_h_pdgID
Definition
AFPHitAnalysis.h:26
AFPHitAnalysis::m_edep
std::vector< float > * m_edep
Definition
AFPHitAnalysis.h:43
AFPHitAnalysis::m_hitID
std::vector< float > * m_hitID
Definition
AFPHitAnalysis.h:39
AFPHitAnalysis::m_h_stationID
TH1 * m_h_stationID
Definition
AFPHitAnalysis.h:34
AFPHitAnalysis::initialize
virtual StatusCode initialize() override final
Definition
AFPHitAnalysis.cxx:13
AFPHitAnalysis::m_pixelCol
std::vector< int > * m_pixelCol
Definition
AFPHitAnalysis.h:51
AFPHitAnalysis::m_ntupleFileName
Gaudi::Property< std::string > m_ntupleFileName
Definition
AFPHitAnalysis.h:54
AFPHitAnalysis::m_pdgID
std::vector< float > * m_pdgID
Definition
AFPHitAnalysis.h:40
AFPHitAnalysis::~AFPHitAnalysis
~AFPHitAnalysis()=default
AFPHitAnalysis::execute
virtual StatusCode execute(const EventContext &ctx) override final
Execute method.
Definition
AFPHitAnalysis.cxx:92
AFPHitAnalysis::m_h_stepZ
TH1 * m_h_stepZ
Definition
AFPHitAnalysis.h:32
AFPHitAnalysis::m_readKey
SG::ReadHandleKey< AFP_SIDSimHitCollection > m_readKey
Definition
AFPHitAnalysis.h:56
AFPHitAnalysis::m_detID
std::vector< int > * m_detID
Definition
AFPHitAnalysis.h:49
AFPHitAnalysis::m_h_kine
TH1 * m_h_kine
Definition
AFPHitAnalysis.h:28
AFPHitAnalysis::m_stepY
std::vector< float > * m_stepY
Definition
AFPHitAnalysis.h:45
AFPHitAnalysis::m_h_pixelRow
TH1 * m_h_pixelRow
Definition
AFPHitAnalysis.h:36
AFPHitAnalysis::m_stationID
std::vector< int > * m_stationID
Definition
AFPHitAnalysis.h:48
AFPHitAnalysis::m_h_edep
TH1 * m_h_edep
Definition
AFPHitAnalysis.h:29
AFPHitAnalysis::m_stepX
std::vector< float > * m_stepX
Definition
AFPHitAnalysis.h:44
AFPHitAnalysis::m_h_stepY
TH1 * m_h_stepY
Definition
AFPHitAnalysis.h:31
AFPHitAnalysis::m_path
Gaudi::Property< std::string > m_path
Definition
AFPHitAnalysis.h:55
AFPHitAnalysis::m_trackID
std::vector< float > * m_trackID
Definition
AFPHitAnalysis.h:41
AFPHitAnalysis::AthHistogramAlgorithm
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
AthHistogramAlgorithm.cxx:31
AFPHitAnalysis::m_h_pixelCol
TH1 * m_h_pixelCol
Definition
AFPHitAnalysis.h:37
AFPHitAnalysis::m_h_hitID
TH1 * m_h_hitID
Some histograms.
Definition
AFPHitAnalysis.h:25
AFPHitAnalysis::m_kine
std::vector< float > * m_kine
Definition
AFPHitAnalysis.h:42
AFPHitAnalysis::m_h_detID
TH1 * m_h_detID
Definition
AFPHitAnalysis.h:35
AFPHitAnalysis::m_h_trackID
TH1 * m_h_trackID
Definition
AFPHitAnalysis.h:27
AFPHitAnalysis::m_time
std::vector< float > * m_time
Definition
AFPHitAnalysis.h:47
AFPHitAnalysis::m_pixelRow
std::vector< int > * m_pixelRow
Definition
AFPHitAnalysis.h:50
AFPHitAnalysis::m_h_time
TH1 * m_h_time
Definition
AFPHitAnalysis.h:33
AFPHitAnalysis::m_tree
TTree * m_tree
Definition
AFPHitAnalysis.h:53
AFPHitAnalysis::m_h_stepX
TH1 * m_h_stepX
Definition
AFPHitAnalysis.h:30
AthHistogramAlgorithm::AthHistogramAlgorithm
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
AthHistogramAlgorithm.cxx:31
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
const
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0