![]() |
ATLAS Offline Software
|
#include <PanTauSeed.h>
Public Types | |
| enum | TechnicalQuality { t_NoValidInputTau , t_NoConstituentsAtAll , t_NoSelectedConstituents , t_BadPtValue , t_GoodSeed , t_nTechnicalQualities } |
| enum | DecayModeExtended { t_ExtMode100 = 1 , t_ExtMode10X = 2 , t_ExtMode110 = 3 , t_ExtMode11X = 4 , t_ExtMode1XX = 5 , t_ExtMode300 = 6 , t_ExtMode30X = 7 , t_ExtMode3XX = 8 , t_ExtModeOther = 9 , t_ExtModeNotSet = 10 , t_ExtModeError = 11 , t_ExtMode11shots = 12 } |
Public Member Functions | |
| PanTauSeed () | |
| ~PanTauSeed () | |
| PanTauSeed (const PanTauSeed &seed) | |
| PanTauSeed & | operator= (const PanTauSeed &seed) |
Functions for getting and setting user properties | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
| Fetch an aux data variable, as a non-const reference. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
| Fetch an aux data variable, as a const reference. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
| Check if a user property is available for reading or not. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
| Check if a user property is available for writing or not. | |
Static Public Member Functions | |
| static int | getDecayMode (int nCharged, int nNeutral) |
| static std::string | getDecayModeName (int decayMode) |
xAOD::IParticle functions | |
These are already virtual due to IParticle | |
| typedef IParticle::FourMom_t | FourMom_t |
| Definition of the 4-momentum type. | |
| FourMom_t | m_p4 |
| 4-momentum object | |
| bool | m_IsValidSeed |
| std::vector< int > | m_TechnicalQuality |
| xAOD::TauJet * | m_TauJet |
| std::vector< std::vector< PanTau::TauConstituent * > > | m_Constituents |
| TLorentzVector | m_ProtoMomentum_Core |
| TLorentzVector | m_FinalMomentum |
| std::vector< TLorentzVector > | m_TypeHLVs |
| std::vector< PanTau::TauConstituent * > | m_ConstituentsList_Core |
| std::vector< PanTau::TauConstituent * > | m_ConstituentsList_AllSelected |
| std::vector< PanTau::TauConstituent * > | m_ConstituentsList_All |
| int | m_DecayMode_BySubAlg |
| int | m_DecayMode_ByPanTau |
| bool | m_decayModeHack_CellBasedShots |
| PanTau::TauFeature * | m_Features |
| flag to indicate whether the decay mode by cellbased was | |
| virtual double | pt () const |
| The transverse momentum ( \(p_T\)) of the particle. | |
| virtual double | eta () const |
| The pseudorapidity ( \(\eta\)) of the particle. | |
| virtual double | phi () const |
| The azimuthal angle ( \(\phi\)) of the particle. | |
| virtual double | m () const |
| The invariant mass of the particle. | |
| virtual double | e () const |
| The total energy of the particle. | |
| virtual double | rapidity () const |
| The true rapidity (y) of the particle. | |
| virtual FourMom_t | p4 () const |
| The full 4-momentum of the particle as a TLoretzVector. | |
| virtual xAOD::Type::ObjectType | type () const |
| The type of the object as a simple enumeration, remains pure virtual in e/gamma. | |
| void | setP4 (float pt, float eta, float phi, float m) |
| set the 4-vec | |
| void | setPt (float pt) |
| set the Pt | |
| void | setEta (float eta) |
| set the eta | |
| void | setPhi (float phi) |
| set the phi | |
| void | setM (float m) |
| set the Mass | |
| PanTauSeed (xAOD::TauJet *tauJet, const std::vector< PanTau::TauConstituent * > &tauConstituents, const std::vector< PanTau::TauConstituent * > &tauConstituentsWithUnselected, const std::vector< int > &pantauSeed_TechnicalQuality) | |
| Main constructor to be used. | |
| PanTauSeed (xAOD::TauJet *tauJet, const std::vector< int > &pantauSeed_TechnicalQuality) | |
| Constructor for invalid seeds. | |
| const xAOD::TauJet * | getTauJet () const |
| xAOD::TauJet * | getTauJet () |
| const PanTau::TauFeature * | getFeatures () const |
| PanTau::TauFeature * | getFeatures () |
| TLorentzVector | getProtoMomentumCore () const |
| bool | getIsValidSeed () const |
| const std::vector< int > & | getTechnicalQuality () const |
| bool | isOfTechnicalQuality (int pantauSeed_TechnicalQuality) const |
| const std::vector< std::vector< PanTau::TauConstituent * > > & | getConstituents () const |
| const std::vector< PanTau::TauConstituent * > & | getConstituentsAsList_Core () const |
| const std::vector< PanTau::TauConstituent * > & | getConstituentsAsList_All () const |
| std::vector< PanTau::TauConstituent * > | getConstituentsOfType (int tauConstituent_Type, bool &foundit) |
| int | getNumberOfConstituentsOfType (int tauConstituent_Type) |
| TLorentzVector | getSubsystemHLV (int tauConstituent_Type, bool &foundit) |
| TLorentzVector | getFinalMomentum () const |
| int | getDecayModeBySubAlg () const |
| int | getDecayModeByPanTau () const |
| void | setFinalMomentum (TLorentzVector finalMom) |
| void | setDecayModeByPanTau (int decayModePanTau) |
| void | setModeHackedByCellBased (bool f) |
| bool | getModeHackedByCellBased () |
Definition at line 24 of file PanTauSeed.h.
| typedef IParticle::FourMom_t PanTau::PanTauSeed::FourMom_t |
Definition of the 4-momentum type.
Definition at line 90 of file PanTauSeed.h.
| Enumerator | |
|---|---|
| t_ExtMode100 | |
| t_ExtMode10X | |
| t_ExtMode110 | |
| t_ExtMode11X | |
| t_ExtMode1XX | |
| t_ExtMode300 | |
| t_ExtMode30X | |
| t_ExtMode3XX | |
| t_ExtModeOther | |
| t_ExtModeNotSet | |
| t_ExtModeError | |
| t_ExtMode11shots | |
Definition at line 43 of file PanTauSeed.h.
| Enumerator | |
|---|---|
| t_NoValidInputTau | |
| t_NoConstituentsAtAll | |
| t_NoSelectedConstituents | |
| t_BadPtValue | |
| t_GoodSeed | |
| t_nTechnicalQualities | |
Definition at line 33 of file PanTauSeed.h.
| PanTau::PanTauSeed::PanTauSeed | ( | ) |
Definition at line 9 of file PanTauSeed.cxx.
| PanTau::PanTauSeed::~PanTauSeed | ( | ) |
Definition at line 30 of file PanTauSeed.cxx.
| PanTau::PanTauSeed::PanTauSeed | ( | const PanTauSeed & | seed | ) |
Definition at line 54 of file PanTauSeed.cxx.
| PanTau::PanTauSeed::PanTauSeed | ( | xAOD::TauJet * | tauJet, |
| const std::vector< PanTau::TauConstituent * > & | tauConstituents, | ||
| const std::vector< PanTau::TauConstituent * > & | tauConstituentsWithUnselected, | ||
| const std::vector< int > & | pantauSeed_TechnicalQuality ) |
Main constructor to be used.
Definition at line 186 of file PanTauSeed.cxx.
| PanTau::PanTauSeed::PanTauSeed | ( | xAOD::TauJet * | tauJet, |
| const std::vector< int > & | pantauSeed_TechnicalQuality ) |
Constructor for invalid seeds.
Definition at line 267 of file PanTauSeed.cxx.
|
inlineinherited |
Fetch an aux data variable, as a non-const reference.
This function provides an easy way for users to decorate objects with auxiliary data.
Take note that this function is slow. Should not be used inside time-critical code.
| name | Name of the aux variable |
| clsname | The name of the associated class. May be blank |
Definition at line 98 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inlineinherited |
Fetch an aux data variable, as a const reference.
This function provides an easy way for users to retrieve auxiliary decorations from an object.
Take note that this function is slow. Should not be used inside time-critical code.
| name | Name of the aux variable |
| clsname | The name of the associated class. May be blank |
Definition at line 118 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
virtual |
The total energy of the particle.
Implements xAOD::IParticle.
Definition at line 125 of file PanTauSeed.cxx.
|
virtual |
The pseudorapidity ( \(\eta\)) of the particle.
Implements xAOD::IParticle.
Definition at line 107 of file PanTauSeed.cxx.
|
inline |
Definition at line 220 of file PanTauSeed.h.
|
inline |
Definition at line 222 of file PanTauSeed.h.
|
inline |
Definition at line 221 of file PanTauSeed.h.
| std::vector< PanTau::TauConstituent * > PanTau::PanTauSeed::getConstituentsOfType | ( | int | tauConstituent_Type, |
| bool & | foundit ) |
Definition at line 337 of file PanTauSeed.cxx.
|
static |
Definition at line 289 of file PanTauSeed.cxx.
|
inline |
Definition at line 225 of file PanTauSeed.h.
|
inline |
Definition at line 224 of file PanTauSeed.h.
|
static |
Definition at line 312 of file PanTauSeed.cxx.
|
inline |
Definition at line 218 of file PanTauSeed.h.
|
inline |
Definition at line 217 of file PanTauSeed.h.
|
inline |
Definition at line 223 of file PanTauSeed.h.
|
inline |
Definition at line 226 of file PanTauSeed.h.
|
inline |
Definition at line 154 of file PanTauSeed.h.
| int PanTau::PanTauSeed::getNumberOfConstituentsOfType | ( | int | tauConstituent_Type | ) |
Definition at line 348 of file PanTauSeed.cxx.
|
inline |
Definition at line 219 of file PanTauSeed.h.
| TLorentzVector PanTau::PanTauSeed::getSubsystemHLV | ( | int | tauConstituent_Type, |
| bool & | foundit ) |
Definition at line 358 of file PanTauSeed.cxx.
|
inline |
Definition at line 216 of file PanTauSeed.h.
|
inline |
Definition at line 215 of file PanTauSeed.h.
|
inline |
Definition at line 227 of file PanTauSeed.h.
|
inlineinherited |
Check if a user property is available for reading or not.
This function should be used to check if a user property which may or may not exist, is set on the object.
| name | Name of the auxiliary variable |
| clsname | The name of the associated class. May be blank |
Definition at line 135 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inlineinherited |
Check if a user property is available for writing or not.
This function can be used to check whether it will be possible to set a user property on the object.
| name | Name of the auxiliary variable |
| clsname | The name of the associated class. May be blank |
Definition at line 152 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
| bool PanTau::PanTauSeed::isOfTechnicalQuality | ( | int | pantauSeed_TechnicalQuality | ) | const |
Definition at line 328 of file PanTauSeed.cxx.
|
virtual |
The invariant mass of the particle.
Implements xAOD::IParticle.
Definition at line 119 of file PanTauSeed.cxx.
| PanTau::PanTauSeed & PanTau::PanTauSeed::operator= | ( | const PanTauSeed & | seed | ) |
Definition at line 75 of file PanTauSeed.cxx.
|
virtual |
The full 4-momentum of the particle as a TLoretzVector.
Implements xAOD::IParticle.
Definition at line 133 of file PanTauSeed.cxx.
|
virtual |
The azimuthal angle ( \(\phi\)) of the particle.
Implements xAOD::IParticle.
Definition at line 113 of file PanTauSeed.cxx.
|
virtual |
The transverse momentum ( \(p_T\)) of the particle.
Implements xAOD::IParticle.
Definition at line 101 of file PanTauSeed.cxx.
|
virtual |
The true rapidity (y) of the particle.
Implements xAOD::IParticle.
Definition at line 129 of file PanTauSeed.cxx.
|
inline |
Definition at line 230 of file PanTauSeed.h.
| void PanTau::PanTauSeed::setEta | ( | float | eta | ) |
set the eta
Definition at line 157 of file PanTauSeed.cxx.
|
inline |
Definition at line 229 of file PanTauSeed.h.
| void PanTau::PanTauSeed::setM | ( | float | m | ) |
|
inline |
Definition at line 153 of file PanTauSeed.h.
| void PanTau::PanTauSeed::setP4 | ( | float | pt, |
| float | eta, | ||
| float | phi, | ||
| float | m ) |
set the 4-vec
Definition at line 137 of file PanTauSeed.cxx.
| void PanTau::PanTauSeed::setPhi | ( | float | phi | ) |
| void PanTau::PanTauSeed::setPt | ( | float | pt | ) |
|
virtual |
The type of the object as a simple enumeration, remains pure virtual in e/gamma.
Implements xAOD::IParticle.
Definition at line 179 of file PanTauSeed.cxx.
|
protected |
Definition at line 175 of file PanTauSeed.h.
|
protected |
Definition at line 192 of file PanTauSeed.h.
|
protected |
Definition at line 188 of file PanTauSeed.h.
|
protected |
Definition at line 187 of file PanTauSeed.h.
|
protected |
Definition at line 196 of file PanTauSeed.h.
|
protected |
Definition at line 195 of file PanTauSeed.h.
|
protected |
Definition at line 198 of file PanTauSeed.h.
|
protected |
flag to indicate whether the decay mode by cellbased was
1p1n and hits in EM1 > 2 (because then 1p1n -> 1pX
is set)
Definition at line 203 of file PanTauSeed.h.
|
protected |
Definition at line 181 of file PanTauSeed.h.
|
protected |
Definition at line 166 of file PanTauSeed.h.
|
private |
4-momentum object
Definition at line 161 of file PanTauSeed.h.
|
protected |
Definition at line 178 of file PanTauSeed.h.
|
protected |
Definition at line 171 of file PanTauSeed.h.
|
protected |
Definition at line 168 of file PanTauSeed.h.
|
protected |
Definition at line 184 of file PanTauSeed.h.