ATLAS Offline Software
Simulation
ISF
ISF_SimulationSelectors
src
KinematicSimSelector.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// KinematicSimSelector.h, (c) ATLAS Detector software
8
9
#ifndef ISF_TOOLS_KINEMATICSIMSELECTOR_H
10
#define ISF_TOOLS_KINEMATICSIMSELECTOR_H 1
11
12
#include "GaudiKernel/IPartPropSvc.h"
13
14
15
// ISF includes
16
#include "
ISF_Event/KinematicParticleCuts.h
"
17
#include "
BaseSimulationSelector.h
"
18
19
namespace
ISF
20
{
21
28
class
KinematicSimSelector
final :
public
BaseSimulationSelector
,
public
KinematicParticleCuts
29
{
30
31
ServiceHandle<IPartPropSvc>
m_partPropSvc
;
32
33
public
:
35
KinematicSimSelector
(
const
std::string&
t
,
const
std::string&
n
,
const
IInterface*
p
);
36
38
~KinematicSimSelector
();
39
40
// Athena algtool's Hooks
41
virtual
StatusCode
initialize
()
override
;
42
virtual
StatusCode
finalize
()
override
;
43
45
virtual
bool
passSelectorCuts
(
const
ISFParticle
&
particle
)
const override
;
46
};
47
48
}
49
50
#endif //> !ISF_TOOLS_KINEMATICSIMSELECTOR_H
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition:
ParticleHypothesis.h:76
KinematicParticleCuts.h
ISF::ISFParticle
Definition:
ISFParticle.h:42
ISF::KinematicSimSelector::passSelectorCuts
virtual bool passSelectorCuts(const ISFParticle &particle) const override
check whether given particle passes all cuts -> will be used for routing decision
Definition:
KinematicSimSelector.cxx:76
ISF::KinematicSimSelector::~KinematicSimSelector
~KinematicSimSelector()
Destructor.
Definition:
KinematicSimSelector.cxx:34
ISF::KinematicSimSelector::KinematicSimSelector
KinematicSimSelector(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition:
KinematicSimSelector.cxx:17
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
ISF::BaseSimulationSelector
Definition:
BaseSimulationSelector.h:31
ISF::KinematicSimSelector::m_partPropSvc
ServiceHandle< IPartPropSvc > m_partPropSvc
Definition:
KinematicSimSelector.h:31
ISF::KinematicSimSelector::initialize
virtual StatusCode initialize() override
Definition:
KinematicSimSelector.cxx:39
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
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::KinematicSimSelector::finalize
virtual StatusCode finalize() override
Definition:
KinematicSimSelector.cxx:70
BaseSimulationSelector.h
ISF
ISFParticleOrderedQueue.
Definition:
PrimaryParticleInformation.h:13
ISF::KinematicSimSelector
Definition:
KinematicSimSelector.h:29
ServiceHandle< IPartPropSvc >
ISF::KinematicParticleCuts
Definition:
KinematicParticleCuts.h:23
Generated on Mon Dec 23 2024 21:12:57 for ATLAS Offline Software by
1.8.18