|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef XAODPFLOW_VERSIONS_TRACKCALOCLUSTER_V1_H
7 #define XAODPFLOW_VERSIONS_TRACKCALOCLUSTER_V1_H
11 #include "AthLinks/ElementLink.h"
40 virtual double pt()
const;
42 virtual double eta()
const;
44 virtual double phi()
const;
46 virtual double m()
const;
48 virtual double e()
const;
61 typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> >
GenVecFourMom_t;
89 const std::vector< ElementLink<xAOD::CaloClusterContainer> > &
caloClusterLinks()
const;
98 #endif // XAODPFLOW_VERSIONS_TRACKCALOCLUSTER_V1_H
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type (GenVector version)
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Class describing a TrackCaloCluster.
void setCaloClusterLinks(const std::vector< ElementLink< xAOD::CaloClusterContainer > > &caloClusterLinks)
Set the links to the CaloClusters.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
virtual FourMom_t p4() const
The full 4-momentum of the particle.
Class providing the definition of the 4-vector interface.
const xAOD::TrackParticle * trackParticle() const
Returns a pointer (which can be NULL) to the xAOD::TrackParticle associated with this TrackCaloCluste...
TLorentzVector FourMom_t
Definition of the 4-momentum type.
virtual double eta() const
The pseudorapidity ( ) of the particle.
virtual double pt() const
The transverse momentum ( ) of the particle.
virtual double phi() const
The azimuthal angle ( ) of the particle (has range to .)
void setTrackParticleLink(const ElementLink< xAOD::TrackParticleContainer > &particle)
Set the link to the TrackParticle.
virtual double m() const
The invariant mass of the particle..
virtual double e() const
The total energy of the particle.
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : GenVector version.
const std::vector< ElementLink< xAOD::CaloClusterContainer > > & caloClusterLinks() const
Returns a vector to the links (which can be invalid) to the xAOD::CaloClusters associated with this T...
virtual int taste() const
The taste of the particle.
const ElementLink< xAOD::TrackParticleContainer > & trackParticleLink() const
virtual double rapidity() const
The true rapidity (y) of the particle.
An STL vector of pointers that by default owns its pointed-to elements.
Taste
Type of TrackCaloCluster - Charged - Neutral - Combined.
Class describing a TrackParticle.
ObjectType
Type of objects that have a representation in the xAOD EDM.
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
void setParameters(float pt, float eta, float phi, float m, TrackCaloCluster_v1::Taste taste, const ElementLink< xAOD::TrackParticleContainer > &particle, const std::vector< ElementLink< xAOD::CaloClusterContainer > > &clusters)
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.