 |
ATLAS Offline Software
|
Go to the documentation of this file.
34 return StatusCode::SUCCESS;
38 execute (
const EventContext &ctx)
const
48 if (primaryVertex ==
nullptr)
64 float deltaZ0SinTheta = -999;
65 float deltaZ0SinThetasig = -999;
74 return StatusCode::FAILURE;
77 if (
track !=
nullptr) {
84 const double vertex_z = primaryVertex ? primaryVertex->z() : 0;
96 return StatusCode::SUCCESS;
void set(const SG::AuxElement &object, const T &value, const CP::SystematicSet &sys) const
set the object decoration for the given systematic
SysWriteDecorHandle< float > m_d0sigHandle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
double d0significance(const xAOD::TrackParticle *tp, double d0_uncert_beam_spot_2)
StatusCode initialize() override
float beamPosSigmaX() const
The width of the beam spot in the X direction.
const std::vector< CP::SystematicSet > & systematicsVector() const
the list of systematics to loop over
SysListHandle m_systematicsList
the systematics list we run
Class providing the definition of the 4-vector interface.
Select isolated Photons, Electrons and Muons.
SysWriteDecorHandle< float > m_z0sinthetaHandle
double z0sinthetasignificance(const xAOD::TrackParticle *tp, const xAOD::Vertex *vx=NULL)
Get the impact parameter significance of a track particle in the z direction, including the sin(theta...
::StatusCode initialize()
intialize this property
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(SysListHandle &sysListHandle, const ISysHandleBase &objectHandle)
initialize this handle
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
the EventInfo key
float beamPosSigmaY() const
The width of the beam spot in the Y direction.
float beamPosSigmaXY() const
The beam spot shape's X-Y correlation.
Class describing a Vertex.
SysWriteDecorHandle< float > m_z0sinthetasigHandle
SysWriteDecorHandle< float > m_d0Handle
SG::ReadHandleKey< xAOD::VertexContainer > m_primaryVerticesKey
the PrimaryVertex key
Class describing a TrackParticle.
StatusCode execute(const EventContext &ctx) const override
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
the particle container we run on