5#ifndef PANTAUALGS_TAUCONSTITUENT_H
6#define PANTAUALGS_TAUCONSTITUENT_H
13#include <TLorentzVector.h>
72 const std::vector<int>& itsType,
92 virtual double pt()
const;
95 virtual double eta()
const;
98 virtual double phi()
const;
101 virtual double m()
const;
104 virtual double e()
const;
148 const std::vector<TauConstituent*>&
getShots()
const;
void setM(float m)
set the Mass
std::vector< std::string > getTypeName() const
const std::vector< TauConstituent * > & getShots() const
virtual double pt() const
The transverse momentum ( ) of the particle.
void addShot(TauConstituent *shot)
unsigned int getNShots() const
int getNPhotonsInShot() const
virtual double eta() const
The pseudorapidity ( ) of the particle.
static double DefaultCharge()
virtual double phi() const
The azimuthal angle ( ) of the particle.
TauConstituent & operator=(const TauConstituent &tauConst)
Assignment operator.
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.
static bool isNeutralType(int tauConstituentType)
std::vector< TauConstituent * > m_Shots
void setPt(float pt)
set the Pt
virtual FourMom_t p4() const
The full 4-momentum of the particle as a TLorentzVector.
TauConstituent(const TauConstituent &tauConst)
Copy Constructor.
void setEta(float eta)
set the eta
const xAOD::PFO * getPFO() const
FourMom_t m_p4
4-momentum object
std::string getTypeNameString() const
std::vector< int > m_TypeFlags
void setPhi(float phi)
set the phi
static std::string AllConstituentsName()
virtual double e() const
The total energy of the particle.
bool isOfType(TauConstituent::Type aType) const
TauConstituent()
Default Constructor for POOL.
virtual ~TauConstituent()
Destructor.
void setP4(float pt, float eta, float phi, float m)
set the 4-vec
const std::vector< int > & getTypeFlags() const
static double DefaultBDTValue()
double getBDTValue() const
Type
Type enumeration to specify type of this tau constituent.
virtual double rapidity() const
The true rapidity (y) of the particle.
virtual xAOD::Type::ObjectType type() const
The type of the object as a simple enumeration, remains pure virtual in e/gamma.
virtual double m() const
The invariant mass of the particle.
void setNPhotonsInShot(int nPhotons)
void removeTypeFlag(TauConstituent::Type aType)
Class providing the definition of the 4-vector interface.
ObjectType
Type of objects that have a representation in the xAOD EDM.
PFO_v1 PFO
Definition of the current "pfo version".