ATLAS Offline Software
Simulation
ISF
ISF_HepMC
ISF_HepMC_Tools
src
CylinderVolumeTruthStrategy.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// CylinderVolumeTruthStrategy.h, (c) ATLAS Detector software
8
9
#ifndef ISF_HEPMC_TOOLS_CYLINDERVOLUMETRUTHSTRATEGY_H
10
#define ISF_HEPMC_TOOLS_CYLINDERVOLUMETRUTHSTRATEGY_H 1
11
12
// stl includes
13
#include <set>
14
#include <vector>
15
16
// Athena includes
17
#include "
AthenaBaseComps/AthAlgTool.h
"
18
#include "
AtlasDetDescr/AtlasRegion.h
"
19
20
// ISF includes
21
#include "
ISF_HepMC_Interfaces/ITruthStrategy.h
"
22
23
namespace
ISF
{
24
33
class
CylinderVolumeTruthStrategy
final :
public
extends<AthAlgTool, ITruthStrategy> {
34
35
public
:
37
CylinderVolumeTruthStrategy
(
const
std::string&
t
,
const
std::string&
n
,
const
IInterface*
p
);
38
40
~CylinderVolumeTruthStrategy
();
41
42
// Athena algtool's Hooks
43
virtual
StatusCode
initialize
()
override
;
44
virtual
StatusCode
finalize
()
override
;
45
47
virtual
bool
pass
(
ITruthIncident
& incident)
const override
;
48
49
virtual
bool
appliesToRegion
(
unsigned
short
geoID)
const override
;
50
private
:
51
double
m_ri
;
52
double
m_ro
;
53
54
IntegerArrayProperty
m_regionListProperty
;
55
};
56
57
}
58
59
60
#endif //> !ISF_HEPMC_TOOLS_CYLINDERVOLUMETRUTHSTRATEGY_H
ISF::CylinderVolumeTruthStrategy::m_ri
double m_ri
inner cylinder radius
Definition:
CylinderVolumeTruthStrategy.h:51
ISF::CylinderVolumeTruthStrategy::initialize
virtual StatusCode initialize() override
Definition:
CylinderVolumeTruthStrategy.cxx:36
ISF::CylinderVolumeTruthStrategy::finalize
virtual StatusCode finalize() override
Definition:
CylinderVolumeTruthStrategy.cxx:51
AtlasRegion.h
ISF::CylinderVolumeTruthStrategy::m_ro
double m_ro
outer cylinder radius
Definition:
CylinderVolumeTruthStrategy.h:52
ISF::CylinderVolumeTruthStrategy::~CylinderVolumeTruthStrategy
~CylinderVolumeTruthStrategy()
Destructor.
Definition:
CylinderVolumeTruthStrategy.cxx:31
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
ITruthStrategy.h
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
ISF::CylinderVolumeTruthStrategy::CylinderVolumeTruthStrategy
CylinderVolumeTruthStrategy(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition:
CylinderVolumeTruthStrategy.cxx:19
beamspotman.n
n
Definition:
beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ISF::ITruthIncident
Definition:
ITruthIncident.h:45
AthAlgTool.h
ISF::CylinderVolumeTruthStrategy
Definition:
CylinderVolumeTruthStrategy.h:33
ISF::CylinderVolumeTruthStrategy::m_regionListProperty
IntegerArrayProperty m_regionListProperty
Definition:
CylinderVolumeTruthStrategy.h:54
ISF::CylinderVolumeTruthStrategy::pass
virtual bool pass(ITruthIncident &incident) const override
true if the ITruthStrategy implementation applies to the given ITruthIncident
Definition:
CylinderVolumeTruthStrategy.cxx:59
ISF::CylinderVolumeTruthStrategy::appliesToRegion
virtual bool appliesToRegion(unsigned short geoID) const override
Definition:
CylinderVolumeTruthStrategy.cxx:71
ISF
ISFParticleOrderedQueue.
Definition:
PrimaryParticleInformation.h:13
Generated on Thu Nov 7 2024 21:13:05 for ATLAS Offline Software by
1.8.18