5#ifndef PANTAUALGS_PANTAUSEED_H
6#define PANTAUALGS_PANTAUSEED_H
72 virtual double pt()
const;
75 virtual double eta()
const;
78 virtual double phi()
const;
81 virtual double m()
const;
84 virtual double e()
const;
118 const std::vector<PanTau::TauConstituent*>& tauConstituents,
119 const std::vector<PanTau::TauConstituent*>& tauConstituentsWithUnselected,
120 const std::vector<int>& pantauSeed_TechnicalQuality
126 const std::vector<int>& pantauSeed_TechnicalQuality
138 const std::vector< std::vector<PanTau::TauConstituent*> >&
getConstituents()
const;
144 TLorentzVector
getSubsystemHLV(
int tauConstituent_Type,
bool& foundit);
209 static void SetP4EEtaPhiM(TLorentzVector& hlv,
double e,
double eta,
double phi,
double m );
235 if(
eta == 0. )
return;
236 double pt = std::sqrt( e*e - m*m) / std::cosh(
eta );
237 hlv.SetPtEtaPhiE(pt,
eta,
phi, e);
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
int getDecayModeByPanTau() const
virtual double eta() const
The pseudorapidity ( ) of the particle.
bool m_decayModeHack_CellBasedShots
std::vector< PanTau::TauConstituent * > m_ConstituentsList_AllSelected
void setDecayModeByPanTau(int decayModePanTau)
virtual FourMom_t p4() const
The full 4-momentum of the particle as a TLoretzVector.
static std::string getDecayModeName(int decayMode)
void setEta(float eta)
set the eta
const std::vector< int > & getTechnicalQuality() const
std::vector< PanTau::TauConstituent * > getConstituentsOfType(int tauConstituent_Type, bool &foundit)
void setPhi(float phi)
set the phi
void setPt(float pt)
set the Pt
virtual xAOD::Type::ObjectType type() const
The type of the object as a simple enumeration, remains pure virtual in e/gamma.
std::vector< PanTau::TauConstituent * > m_ConstituentsList_Core
std::vector< PanTau::TauConstituent * > m_ConstituentsList_All
const std::vector< std::vector< PanTau::TauConstituent * > > & getConstituents() const
@ t_NoSelectedConstituents
TLorentzVector getProtoMomentumCore() const
TLorentzVector m_ProtoMomentum_Core
PanTau::TauFeature * m_Features
flag to indicate whether the decay mode by cellbased was
virtual double m() const
The invariant mass of the particle.
PanTauSeed & operator=(const PanTauSeed &seed)
FourMom_t m_p4
4-momentum object
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.
const std::vector< PanTau::TauConstituent * > & getConstituentsAsList_Core() const
int getNumberOfConstituentsOfType(int tauConstituent_Type)
virtual double pt() const
The transverse momentum ( ) of the particle.
std::vector< TLorentzVector > m_TypeHLVs
void setFinalMomentum(TLorentzVector finalMom)
void setP4(float pt, float eta, float phi, float m)
set the 4-vec
std::vector< std::vector< PanTau::TauConstituent * > > m_Constituents
bool isOfTechnicalQuality(int pantauSeed_TechnicalQuality) const
TLorentzVector m_FinalMomentum
const xAOD::TauJet * getTauJet() const
int getDecayModeBySubAlg() const
const std::vector< PanTau::TauConstituent * > & getConstituentsAsList_All() const
bool getModeHackedByCellBased()
virtual double e() const
The total energy of the particle.
static int getDecayMode(int nCharged, int nNeutral)
virtual double rapidity() const
The true rapidity (y) of the particle.
TLorentzVector getFinalMomentum() const
virtual double phi() const
The azimuthal angle ( ) of the particle.
TLorentzVector getSubsystemHLV(int tauConstituent_Type, bool &foundit)
bool getIsValidSeed() const
void setM(float m)
set the Mass
void setModeHackedByCellBased(bool f)
std::vector< int > m_TechnicalQuality
const PanTau::TauFeature * getFeatures() const
Class containing features of a tau seed.
Class providing the definition of the 4-vector interface.
static void SetP4EEtaPhiM(TLorentzVector &hlv, double e, double eta, double phi, double m)
ObjectType
Type of objects that have a representation in the xAOD EDM.
TauJet_v3 TauJet
Definition of the current "tau version".