ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
ISF
ISF_HepMC
ISF_HepMC_Tools
src
LLPTruthStrategy.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ISF_TOOLS_LLPTRUTHSTRATEGY_H
6
#define ISF_TOOLS_LLPTRUTHSTRATEGY_H 1
7
8
// stl includes
9
#include <set>
10
#include <vector>
11
12
// Athena includes
13
#include "
AthenaBaseComps/AthAlgTool.h
"
14
#include "
AtlasDetDescr/AtlasRegion.h
"
15
16
// ISF includes
17
#include "
ISF_HepMC_Interfaces/ITruthStrategy.h
"
18
19
namespace
ISF
{
20
28
class
LLPTruthStrategy
final :
public
extends<AthAlgTool, ITruthStrategy> {
29
30
public
:
32
LLPTruthStrategy
(
const
std::string& t,
const
std::string& n,
const
IInterface* p );
33
35
~LLPTruthStrategy
() =
default
;
36
37
// Athena algtool's Hooks
38
virtual
StatusCode
initialize
() override final;
39
41
virtual
bool
pass
(
ITruthIncident
& incident)
const
override final;
42
43
virtual
bool
appliesToRegion
(
unsigned
short
geoID)
const
override final;
44
45
private
:
48
Gaudi
::
Property
<
int
>
m_passProcessCodeRangeLow
{
this
,
"PassProcessCodeRangeLow"
, 200};
49
Gaudi::Property<int>
m_passProcessCodeRangeHigh
{
this
,
"PassProcessCodeRangeHigh"
, 299};
50
Gaudi::Property<int>
m_passProcessCategory
{
this
,
"PassProcessCategory"
, 9};
51
52
IntegerArrayProperty
m_regionListProperty
{
this
,
"Regions"
, {}};
53
};
54
55
}
56
57
58
#endif
//> !ISF_TOOLS_LLPTRUTHSTRATEGY_H
AthAlgTool.h
AtlasRegion.h
ITruthStrategy.h
ISF::ITruthIncident
ISF interface class for TruthIncidents.
Definition
ITruthIncident.h:45
ISF::LLPTruthStrategy::m_passProcessCategory
Gaudi::Property< int > m_passProcessCategory
Definition
LLPTruthStrategy.h:50
ISF::LLPTruthStrategy::pass
virtual bool pass(ITruthIncident &incident) const override final
True if the ITruthStrategy implementationapplies to the given ITruthIncident.
Definition
LLPTruthStrategy.cxx:35
ISF::LLPTruthStrategy::initialize
virtual StatusCode initialize() override final
Definition
LLPTruthStrategy.cxx:21
ISF::LLPTruthStrategy::LLPTruthStrategy
LLPTruthStrategy(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition
LLPTruthStrategy.cxx:15
ISF::LLPTruthStrategy::m_passProcessCodeRangeLow
Gaudi::Property< int > m_passProcessCodeRangeLow
The process code range (low-high) and the category of processes that should pass this strategy.
Definition
LLPTruthStrategy.h:48
ISF::LLPTruthStrategy::m_regionListProperty
IntegerArrayProperty m_regionListProperty
Definition
LLPTruthStrategy.h:52
ISF::LLPTruthStrategy::~LLPTruthStrategy
~LLPTruthStrategy()=default
Destructor.
ISF::LLPTruthStrategy::m_passProcessCodeRangeHigh
Gaudi::Property< int > m_passProcessCodeRangeHigh
Definition
LLPTruthStrategy.h:49
ISF::LLPTruthStrategy::appliesToRegion
virtual bool appliesToRegion(unsigned short geoID) const override final
Definition
LLPTruthStrategy.cxx:59
Property
Support class for PropertyMgr.
Definition
Property.h:23
const
Gaudi
=============================================================================
Definition
CaloGPUClusterAndCellDataMonitorOptions.h:273
ISF
ISFParticleOrderedQueue.
Definition
PrimaryParticleInformation.h:13
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0