ATLAS Offline Software
Simulation
ISF
ISF_Core
ISF_Tools
src
EnergyParticleOrderingTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// EnergyParticleOrderingTool.cxx, (c) ATLAS Detector software
8
9
// class header include
10
#include "
EnergyParticleOrderingTool.h
"
11
12
// ISF includes
13
#include "
ISF_Event/ISFParticle.h
"
14
16
ISF::EnergyParticleOrderingTool::EnergyParticleOrderingTool
(
const
std::string&
t
,
const
std::string&
n
,
const
IInterface*
p
) :
17
base_class(
t
,
n
,
p
)
18
{
19
}
20
22
ISF::EnergyParticleOrderingTool::~EnergyParticleOrderingTool
()
23
{
24
}
25
27
ISF::ParticleOrder
ISF::EnergyParticleOrderingTool::computeOrder
(
const
ISFParticle
&
p
)
const
28
{
29
// Multiply to make use of float info
30
return
(
int
)(
p
.ekin() * 100.0);
31
}
ISF::EnergyParticleOrderingTool::EnergyParticleOrderingTool
EnergyParticleOrderingTool(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition:
EnergyParticleOrderingTool.cxx:16
ISF::EnergyParticleOrderingTool::computeOrder
virtual ISF::ParticleOrder computeOrder(const ISFParticle &p) const
Compute particle order.
Definition:
EnergyParticleOrderingTool.cxx:27
ISF::ISFParticle
Definition:
ISFParticle.h:42
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
ISF::ParticleOrder
int ParticleOrder
particle order definition
Definition:
ParticleOrder.h:15
ISFParticle.h
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
beamspotman.n
n
Definition:
beamspotman.py:731
ISF::EnergyParticleOrderingTool::~EnergyParticleOrderingTool
virtual ~EnergyParticleOrderingTool()
Virtual destructor.
Definition:
EnergyParticleOrderingTool.cxx:22
EnergyParticleOrderingTool.h
Generated on Thu Nov 7 2024 21:14:47 for ATLAS Offline Software by
1.8.18