|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef XAODTAU_VERSIONS_TAUJET_V2_H
9 #define XAODTAU_VERSIONS_TAUJET_V2_H
13 #include "AthLinks/ElementLink.h"
26 #include "Math/Vector4D.h"
48 virtual double pt()
const;
50 virtual double eta()
const;
52 virtual double phi()
const;
54 virtual double e()
const;
57 virtual double m()
const;
66 typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> >
GenVecFourMom_t;
187 if (this->
detail(detail,temp))
return temp;
317 typedef std::vector< ElementLink< xAOD::PFOContainer > >
PFOLinks_t;
454 #endif // XAODTAU_VERSIONS_TAUJET_V2_H
void setTrackEtaStrip(unsigned int numTrack, float eta)
TauTrackFlag
Enum for tau track flags.
void clearProtoChargedPFOLinks()
Remove all cellbased_charged PFOs from the tau.
const PFO * protoNeutralPFO(size_t i) const
Get the pointer to a given cellbased_neutral PFO associated with this tau.
void addNeutralPFOLink(const ElementLink< PFOContainer > &pfo)
add a neutral PFO to the tau
void setTrackFilterQuality(int)
const PFOLinks_t & hadronicPFOLinks() const
double ptTauEnergyScale() const
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
const TrackParticle * otherTrack(size_t i) const
Get the pointer to a given track associated with this tau.
size_t nOtherTracks() const
Get the number of track particles associated with this tau.
void setJetLink(const JetLink_t &jetLink)
TauJet_v2()
Default constructor.
size_t nProtoNeutralPFOs() const
Get the number of cellbased_neutral PFO particles associated with this tau.
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for taus.
double mDetectorAxis() const
double phiTauEtaCalib() const
double etaTauEtaCalib() const
void clearOtherTrackLinks()
Remove all tracks from the tau.
void setIsTau(TauJetParameters::IsTauFlag flag, bool value)
Set Flag for tau acceptance based on predefined arbitrary criteria.
double etaTrigCaloOnly() const
VetoFlags
Enum for Veto flags.
void setHadronicPFOLinks(const PFOLinks_t &hadronicPFOs)
size_t nProtoChargedPFOs() const
Get the number of cellbased_charged PFO particles associated with this tau.
const TrackParticle * wideTrack(size_t i) const
Get the pointer to a given track associated with this tau.
void setFlag(TauJetParameters::VetoFlags flag, bool value)
Set veto flag.
const Vertex * vertex() const
void clearHadronicPFOLinks()
Remove all hadronic PFOs from the tau.
void addProtoChargedPFOLink(const ElementLink< PFOContainer > &pfo)
add a cellbased_charged PFO to the tau
void clearNeutralPFOLinks()
Remove all neutral PFOs from the tau.
double ptTauEtaCalib() const
const TrackParticleLinks_t & otherTrackLinks() const
double mTrigCaloOnly() const
size_t nHadronicPFOs() const
Get the number of hadronic PFO particles associated with this tau.
const VertexLink_t & vertexLink() const
void setProtoChargedPFOLinks(const PFOLinks_t &protoChargedPFOs)
double ptPanTauCellBasedProto() const
void setTrackPhiStrip(unsigned int numTrack, float phi)
double mTauEnergyScale() const
void setDiscriminant(TauJetParameters::TauID discID, double disc)
Set value of discriminant.
void setShotPFOLinks(const PFOLinks_t &shotPFOs)
void addChargedPFOLink(const ElementLink< PFOContainer > &pfo)
add a charged PFO to the tau
void addWideTrackLink(const ElementLink< TrackParticleContainer > &tr)
add a track to the tau
bool isTau(TauJetParameters::IsTauFlag flag) const
Get Flag for tau acceptance based on predefined arbitrary criteria.
double phiTauEnergyScale() const
const VertexLink_t & secondaryVertexLink() const
void addShotPFOLink(const ElementLink< PFOContainer > &pfo)
add a shot PFO to the tau
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
void setP4(double pt, double eta, double phi, double m)
Set methods for IParticle values.
void setVertex(const xAOD::VertexContainer *cont, const xAOD::Vertex *vertex)
size_t nChargedPFOs() const
Get the number of charged PFO particles associated with this tau.
TauID
Enum for discriminants.
void setOtherTrackLinks(const TrackParticleLinks_t &trackParticles)
const PFO * pi0PFO(size_t i) const
Get the pointer to a given pi0 PFO associated with this tau.
Class providing the definition of the 4-vector interface.
int trackFilterProngs() const
void setProtoPi0PFOLinks(const PFOLinks_t &protoPi0PFOs)
const PFO * shotPFO(size_t i) const
Get the pointer to a given shot PFO associated with this tau.
xAODTAU_return_type< T >::type panTauDetail(TauJetParameters::PanTauDetails panTauDetail) const
const PFOLinks_t & neutralPFOLinks() const
const TrackParticleLinks_t & trackLinks() const
void setPanTauDetail(TauJetParameters::PanTauDetails panTauDetail, int value)
double phiPanTauCellBased() const
TLorentzVector FourMom_t
Definition of the 4-momentum type.
void setJet(const xAOD::JetContainer *cont, const xAOD::Jet *jet)
bool detail(TauJetParameters::Detail detail, int &value) const
Get and set values of common details variables via enum.
double etaIntermediateAxis() const
double ptIntermediateAxis() const
const PFOLinks_t & protoPi0PFOLinks() const
const JetLink_t & jetLink() const
Detail
Enum for tau parameters - used mainly for backward compatibility with the analysis code.
DATAVECTOR_BASE(xAOD::TauJet_v2, xAOD::IParticle)
float trackEtaStrip(unsigned int numTrack) const
size_t nPi0PFOs() const
Get the number of pi0 PFO particles associated with this tau.
void addPi0PFOLink(const ElementLink< PFOContainer > &pfo)
add a pi0 PFO to the tau
const PFO * protoPi0PFO(size_t i) const
Get the pointer to a given cellbased_pi0 PFO associated with this tau.
const PFO * protoChargedPFO(size_t i) const
Get the pointer to a given cellbased_charged PFO associated with this tau.
double discriminant(TauJetParameters::TauID discID) const
Get value of discriminant.
size_t nShotPFOs() const
Get the number of shot PFO particles associated with this tau.
double phiJetSeed() const
void setChargedPFOLinks(const PFOLinks_t &chargedPFOs)
TauCalibType
Enum for tau calib type.
virtual double pt() const
The transverse momentum ( ) of the particle.
ElementLink< xAOD::VertexContainer > VertexLink_t
double etaPanTauCellBased() const
int trackFilterQuality() const
double ptDetectorAxis() const
void addOtherTrackLink(const ElementLink< TrackParticleContainer > &tr)
add a track to the tau
const PFO * neutralPFO(size_t i) const
Get the pointer to a given neutral PFO associated with this tau.
unsigned int ROIWord() const
the ROIWord, in case TauJet is used in EF trigger
size_t nNeutralPFOs() const
Get the number of neutral PFO particles associated with this tau.
bool flag(TauJetParameters::VetoFlags flag) const
Get veto flag.
void setDetail(TauJetParameters::Detail detail, int value)
const PFOLinks_t & protoNeutralPFOLinks() const
Class describing a tau jet.
bool panTauDetail(TauJetParameters::PanTauDetails panTauDetail, int &value) const
Get and set values of pantau details variables via enum.
void setTrackFilterProngs(int)
double mTauEtaCalib() const
void setTrackFlag(const TrackParticle *track, TauJetParameters::TauTrackFlag flag, bool value)
void setSecondaryVertexLink(const VertexLink_t &vertexLink)
size_t nWideTracks() const
Get the number of track particles associated with this tau.
void setProtoNeutralPFOLinks(const PFOLinks_t &protoNeutralPFOs)
double etaTauEnergyScale() const
void addProtoNeutralPFOLink(const ElementLink< PFOContainer > &pfo)
add a cellbased_neutral PFO to the tau
ElementLink implementation for ROOT usage.
double etaDetectorAxis() const
void clearChargedPFOLinks()
Remove all charged PFOs from the tau.
void clearTrackLinks()
Remove all tracks from the tau.
void clearWideTrackLinks()
Remove all tracks from the tau.
void setVertexLink(const VertexLink_t &vertexLink)
double mIntermediateAxis() const
const TrackParticle * track(size_t i) const
Get the pointer to a given track associated with this tau.
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal taus type.
void addTrackLink(const ElementLink< TrackParticleContainer > &tr)
add a track to the tau
bool trackFlag(const TrackParticle *track, TauJetParameters::TauTrackFlag flag) const
virtual double m() const
The invariant mass of the particle.
double mPanTauCellBased() const
void clearPi0PFOLinks()
Remove all pi0 PFOs from the tau.
const PFOLinks_t & pi0PFOLinks() const
void clearProtoNeutralPFOLinks()
Remove all cellbased_neutral PFOs from the tau.
double phiTrigCaloOnly() const
double etaPanTauCellBasedProto() const
An STL vector of pointers that by default owns its pointed-to elements.
virtual double eta() const
The pseudorapidity ( ) of the particle.
void setPi0PFOLinks(const PFOLinks_t &pi0PFOs)
const PFO * hadronicPFO(size_t i) const
Get the pointer to a given hadronic PFO associated with this tau.
PanTauDetails
Enum for tau details (scalar) calculated by pantau.
double phiIntermediateAxis() const
Class describing a Vertex.
double ptPanTauCellBased() const
const Vertex * secondaryVertex() const
virtual double rapidity() const
The true rapidity (y) of the particle.
size_t nProtoPi0PFOs() const
Get the number of cellbased_pi0 PFO particles associated with this tau.
const PFOLinks_t & protoChargedPFOLinks() const
cellbased pfos
void setTrackLinks(const TrackParticleLinks_t &trackParticles)
IsTauFlag
Enum for IsTau flags.
const PFOLinks_t & chargedPFOLinks() const
default pfos
void setROIWord(unsigned int)
virtual FourMom_t p4() const
The full 4-momentum of the particle.
const PFOLinks_t & shotPFOLinks() const
double phiDetectorAxis() const
void addProtoPi0PFOLink(const ElementLink< PFOContainer > &pfo)
add a cellbased_pi0 PFO to the tau
std::vector< ElementLink< xAOD::PFOContainer > > PFOLinks_t
double ptTrigCaloOnly() const
Class describing a TrackParticle.
const TrackParticleLinks_t & wideTrackLinks() const
void addHadronicPFOLink(const ElementLink< PFOContainer > &pfo)
add a hadronic PFO to the tau
void clearShotPFOLinks()
Remove all shot PFOs from the tau.
double etaJetSeed() const
ObjectType
Type of objects that have a representation in the xAOD EDM.
void setNeutralPFOLinks(const PFOLinks_t &neutralPFOs)
virtual double e() const
The total energy of the particle.
double mPanTauCellBasedProto() const
xAODTAU_return_type< T >::type detail(TauJetParameters::Detail detail) const
void setSecondaryVertex(const xAOD::VertexContainer *cont, const xAOD::Vertex *vertex)
bool hasDiscriminant(TauJetParameters::TauID discID) const
Check if class contains requested discriminant.
virtual double phi() const
The azimuthal angle ( ) of the particle.
float trackPhiStrip(unsigned int numTrack) const
void clearProtoPi0PFOLinks()
Remove all cellbased_pi0 PFOs from the tau.
const PFO * chargedPFO(size_t i) const
Get the pointer to a given charged PFO associated with this tau.
double phiPanTauCellBasedProto() const
ElementLink< xAOD::JetContainer > JetLink_t
void setWideTrackLinks(const TrackParticleLinks_t &trackParticles)
std::vector< ElementLink< xAOD::TrackParticleContainer > > TrackParticleLinks_t