Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
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;
117 PanTauSeed(
const std::string& nameInputAlgorithm,
119 const std::vector<PanTau::TauConstituent*>& tauConstituents,
120 const std::vector<PanTau::TauConstituent*>& tauConstituentsWithUnselected,
121 const std::vector<int>& pantauSeed_TechnicalQuality
126 PanTauSeed(
const std::string& nameInputAlgorithm,
128 const std::vector<int>& pantauSeed_TechnicalQuality
142 const std::vector< std::vector<PanTau::TauConstituent*> >&
getConstituents()
const;
149 TLorentzVector
getSubsystemHLV(
int tauConstituent_Type,
bool& foundit);
221 static void SetP4EEtaPhiM(TLorentzVector& hlv,
double e,
double eta,
double phi,
double m );
248 inline static void PanTau::SetP4EEtaPhiM(TLorentzVector& hlv,
double e,
double eta,
double phi,
double m ){
250 if( eta == 0. )
return;
251 double pt = std::sqrt(
e*
e -
m*
m) / std::cosh( eta );
252 hlv.SetPtEtaPhiE(
pt, eta, phi,
e);
257 #endif // PANTAUALGS_PANTAUSEED_H
virtual xAOD::Type::ObjectType type() const
The type of the object as a simple enumeration, remains pure virtual in e/gamma.
TLorentzVector getProtoMomentumWide() const
void setDecayModeByPanTau(int decayModePanTau)
bool m_decayModeHack_CellBasedShots
const std::vector< PanTau::TauConstituent * > & getConstituentsAsList_Wide() const
const std::vector< int > & getTechnicalQuality() const
std::vector< std::vector< PanTau::TauConstituent * > > m_Constituents
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.
const PanTau::TauFeature * getFeatures() const
void setPt(float pt)
set the Pt
std::vector< PanTau::TauConstituent * > m_ConstituentsList_AllSelected
const xAOD::TauJet * getTauJet() const
TLorentzVector getSubsystemHLV(int tauConstituent_Type, bool &foundit)
const std::vector< PanTau::TauConstituent * > & getConstituentsAsList_All() const
int getDecayModeBySubAlg() const
const std::string & getNameInputAlgorithm() const
int getDecayModeByPanTau() const
std::vector< PanTau::TauConstituent * > getConstituentsOfType(int tauConstituent_Type, bool &foundit)
virtual double phi() const
The azimuthal angle ( ) of the particle.
virtual double eta() const
The pseudorapidity ( ) of the particle.
TLorentzVector getFinalMomentum() const
void setEta(float eta)
set the eta
bool getIsValidSeed() const
Class providing the definition of the 4-vector interface.
virtual FourMom_t p4() const
The full 4-momentum of the particle as a TLoretzVector.
PanTau::TauFeature * m_Features
flag to indicate whether the decay mode by cellbased was
TLorentzVector FourMom_t
Definition of the 4-momentum type.
FourMom_t m_p4
4-momentum object
virtual double rapidity() const
The true rapidity (y) of the particle.
void setFinalMomentum(TLorentzVector finalMom)
std::string m_NameInputAlgorithm
std::vector< TLorentzVector > m_TypeHLVs
Class describing a tau jet.
PanTauSeed & operator=(const PanTauSeed &seed)
std::vector< PanTau::TauConstituent * > m_ConstituentsList_Wide
std::vector< PanTau::TauConstituent * > m_ConstituentsList_All
const std::vector< std::vector< PanTau::TauConstituent * > > & getConstituents() const
TLorentzVector m_ProtoMomentum_Wide
void setModeHackedByCellBased(bool f)
virtual double pt() const
The transverse momentum ( ) of the particle.
std::vector< int > m_TechnicalQuality
bool getModeHackedByCellBased()
static int getDecayMode(int nCharged, int nNeutral)
int getNumberOfConstituentsOfType(int tauConstituent_Type)
void setM(float m)
set the Mass
bool isOfTechnicalQuality(int pantauSeed_TechnicalQuality) const
TLorentzVector m_ProtoMomentum_Core
void setPhi(float phi)
set the phi
std::vector< PanTau::TauConstituent * > m_ConstituentsList_Core
@ t_NoSelectedConstituents
TLorentzVector getProtoMomentumCore() const
virtual double m() const
The invariant mass of the particle.
const std::vector< PanTau::TauConstituent * > & getConstituentsAsList_Core() const
void setP4(float pt, float eta, float phi, float m)
set the 4-vec
static std::string getDecayModeName(int decayMode)
TLorentzVector m_FinalMomentum
virtual double e() const
The total energy of the particle.