ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
Tools
HitAnalysis
src
LucidHitAnalysis.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LUCID_HIT_ANALYSIS_H
6
#define LUCID_HIT_ANALYSIS_H
7
8
#include "
AthenaBaseComps/AthHistogramAlgorithm.h
"
9
#include "
LUCID_SimEvent/LUCID_SimHitCollection.h
"
10
#include "
StoreGate/ReadHandleKey.h
"
11
12
class
LucidHitAnalysis
:
public
AthHistogramAlgorithm
{
13
14
public
:
15
16
using
AthHistogramAlgorithm::AthHistogramAlgorithm
;
17
~LucidHitAnalysis
() =
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_hit_x
{
nullptr
};
26
TH1*
m_h_hit_y
{
nullptr
};
27
TH1*
m_h_hit_z
{
nullptr
};
28
TH2*
m_h_xy
{
nullptr
};
29
TH2*
m_h_zr
{
nullptr
};
30
TH1*
m_h_hit_post_x
{
nullptr
};
31
TH1*
m_h_hit_post_y
{
nullptr
};
32
TH1*
m_h_hit_post_z
{
nullptr
};
33
TH1*
m_h_hit_edep
{
nullptr
};
34
TH1*
m_h_hit_pdgid
{
nullptr
};
35
TH1*
m_h_hit_pretime
{
nullptr
};
36
TH1*
m_h_hit_posttime
{
nullptr
};
37
TH1*
m_h_genvolume
{
nullptr
};
38
TH1*
m_h_wavelength
{
nullptr
};
39
40
std::vector<float>*
m_hit_x
{
nullptr
};
41
std::vector<float>*
m_hit_y
{
nullptr
};
42
std::vector<float>*
m_hit_z
{
nullptr
};
43
std::vector<float>*
m_hit_post_x
{
nullptr
};
44
std::vector<float>*
m_hit_post_y
{
nullptr
};
45
std::vector<float>*
m_hit_post_z
{
nullptr
};
46
std::vector<float>*
m_hit_edep
{
nullptr
};
47
std::vector<float>*
m_hit_pdgid
{
nullptr
};
48
std::vector<float>*
m_hit_pretime
{
nullptr
};
49
std::vector<float>*
m_hit_posttime
{
nullptr
};
50
std::vector<float>*
m_gen_volume
{
nullptr
};
51
std::vector<float>*
m_wavelength
{
nullptr
};
52
53
TTree *
m_tree
{
nullptr
};
54
55
StringProperty
m_ntupleFileName
{
this
,
"NtupleFileName"
,
"/LucidHitAnalysis/"
};
56
StringProperty
m_path
{
this
,
"HistPath"
,
"/LucidHitAnalysis/"
};
57
SG::ReadHandleKey<LUCID_SimHitCollection>
m_readKey
{
this
,
"InputKey"
,
"LucidSimHitsVector"
};
58
59
};
60
61
#endif
// LUCID_HIT_ANALYSIS_H
AthHistogramAlgorithm.h
LUCID_SimHitCollection.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthHistogramAlgorithm::AthHistogramAlgorithm
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
AthHistogramAlgorithm.cxx:31
LucidHitAnalysis
Definition
LucidHitAnalysis.h:12
LucidHitAnalysis::m_ntupleFileName
StringProperty m_ntupleFileName
Definition
LucidHitAnalysis.h:55
LucidHitAnalysis::m_wavelength
std::vector< float > * m_wavelength
Definition
LucidHitAnalysis.h:51
LucidHitAnalysis::~LucidHitAnalysis
~LucidHitAnalysis()=default
LucidHitAnalysis::m_h_xy
TH2 * m_h_xy
Definition
LucidHitAnalysis.h:28
LucidHitAnalysis::m_hit_posttime
std::vector< float > * m_hit_posttime
Definition
LucidHitAnalysis.h:49
LucidHitAnalysis::m_h_zr
TH2 * m_h_zr
Definition
LucidHitAnalysis.h:29
LucidHitAnalysis::m_hit_z
std::vector< float > * m_hit_z
Definition
LucidHitAnalysis.h:42
LucidHitAnalysis::m_h_hit_post_x
TH1 * m_h_hit_post_x
Definition
LucidHitAnalysis.h:30
LucidHitAnalysis::m_readKey
SG::ReadHandleKey< LUCID_SimHitCollection > m_readKey
Definition
LucidHitAnalysis.h:57
LucidHitAnalysis::m_h_hit_post_z
TH1 * m_h_hit_post_z
Definition
LucidHitAnalysis.h:32
LucidHitAnalysis::m_h_hit_x
TH1 * m_h_hit_x
Some histograms.
Definition
LucidHitAnalysis.h:25
LucidHitAnalysis::m_path
StringProperty m_path
Definition
LucidHitAnalysis.h:56
LucidHitAnalysis::m_hit_x
std::vector< float > * m_hit_x
Definition
LucidHitAnalysis.h:40
LucidHitAnalysis::m_h_hit_edep
TH1 * m_h_hit_edep
Definition
LucidHitAnalysis.h:33
LucidHitAnalysis::initialize
virtual StatusCode initialize() override final
Definition
LucidHitAnalysis.cxx:10
LucidHitAnalysis::m_hit_pdgid
std::vector< float > * m_hit_pdgid
Definition
LucidHitAnalysis.h:47
LucidHitAnalysis::m_h_hit_pdgid
TH1 * m_h_hit_pdgid
Definition
LucidHitAnalysis.h:34
LucidHitAnalysis::m_hit_pretime
std::vector< float > * m_hit_pretime
Definition
LucidHitAnalysis.h:48
LucidHitAnalysis::m_gen_volume
std::vector< float > * m_gen_volume
Definition
LucidHitAnalysis.h:50
LucidHitAnalysis::m_tree
TTree * m_tree
Definition
LucidHitAnalysis.h:53
LucidHitAnalysis::m_h_hit_y
TH1 * m_h_hit_y
Definition
LucidHitAnalysis.h:26
LucidHitAnalysis::m_hit_post_y
std::vector< float > * m_hit_post_y
Definition
LucidHitAnalysis.h:44
LucidHitAnalysis::m_hit_post_x
std::vector< float > * m_hit_post_x
Definition
LucidHitAnalysis.h:43
LucidHitAnalysis::m_h_hit_pretime
TH1 * m_h_hit_pretime
Definition
LucidHitAnalysis.h:35
LucidHitAnalysis::m_hit_y
std::vector< float > * m_hit_y
Definition
LucidHitAnalysis.h:41
LucidHitAnalysis::m_h_hit_post_y
TH1 * m_h_hit_post_y
Definition
LucidHitAnalysis.h:31
LucidHitAnalysis::m_hit_post_z
std::vector< float > * m_hit_post_z
Definition
LucidHitAnalysis.h:45
LucidHitAnalysis::m_hit_edep
std::vector< float > * m_hit_edep
Definition
LucidHitAnalysis.h:46
LucidHitAnalysis::AthHistogramAlgorithm
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
AthHistogramAlgorithm.cxx:31
LucidHitAnalysis::m_h_hit_z
TH1 * m_h_hit_z
Definition
LucidHitAnalysis.h:27
LucidHitAnalysis::m_h_hit_posttime
TH1 * m_h_hit_posttime
Definition
LucidHitAnalysis.h:36
LucidHitAnalysis::m_h_genvolume
TH1 * m_h_genvolume
Definition
LucidHitAnalysis.h:37
LucidHitAnalysis::m_h_wavelength
TH1 * m_h_wavelength
Definition
LucidHitAnalysis.h:38
LucidHitAnalysis::execute
virtual StatusCode execute(const EventContext &ctx) override final
Execute method.
Definition
LucidHitAnalysis.cxx:94
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