|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef XAODTAU_VERSIONS_TAUJET_V1_H
9 #define XAODTAU_VERSIONS_TAUJET_V1_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;
182 if (this->
detail(detail,temp))
return temp;
328 typedef std::vector< ElementLink< xAOD::PFOContainer > >
PFOLinks_t;
509 #endif // XAODTAU_VERSIONS_TAUJET_V1_H
double etaPanTauCellBasedProto() const
size_t nEflowRec_Charged_PFOs() const
Get the number of eflowRec_charged PFO particles associated with this tau.
void setVertex(const xAOD::VertexContainer *cont, const xAOD::Vertex *vertex)
double phiTauEnergyScale() const
void setCellBased_Pi0_PFOLinks(const PFOLinks_t &cellBased_Pi0_PFOs)
bool flag(TauJetParameters::VetoFlags flag) const
Get veto flag.
virtual double rapidity() const
The true rapidity (y) of the particle.
size_t nTracks() const
Get the number of track particles associated with this tau.
void setHadronic_PFOLinks(const PFOLinks_t &hadronic_PFOs)
void setCharged_PFOLinks(const PFOLinks_t &charged_PFOs)
double ptPanTauCellBasedProto() const
const TrackParticle * track(size_t i) const
Get the pointer to a given track associated with this tau.
const TrackParticle * wideTrack(size_t i) const
Get the pointer to a given track associated with this tau.
void setTrackFilterQuality(int)
void addShot_PFOLink(const ElementLink< PFOContainer > &pfo)
add a shot PFO to the tau
float trackEtaStrip(unsigned int numTrack) const
void setConversionTrackLinks(const TrackParticleLinks_t &trackParticles)
VetoFlags
Enum for Veto flags.
double etaPanTauCellBased() const
xAODTAU_return_type< T >::type detail(TauJetParameters::Detail detail) const
size_t nEflowRec_Neutral_PFOs() const
Get the number of eflowRec_neutral PFO particles associated with this tau.
const PFOLinks_t & eflowRec_Pi0_PFOLinks() const
double etaJetSeed() const
double etaIntermediateAxis() const
const TrackParticleLinks_t & conversionTrackLinks() const
double mDetectorAxis() const
std::vector< ElementLink< xAOD::PFOContainer > > PFOLinks_t
void clearEflowRec_Charged_PFOLinks()
Remove all eflowRec_charged PFOs from the tau.
void setShot_PFOLinks(const PFOLinks_t &shot_PFOs)
void addWideTrackLink(const ElementLink< TrackParticleContainer > &tr)
add a track to the tau
void clearHadronic_PFOLinks()
Remove all hadronic PFOs from the tau.
void setTrackLinks(const TrackParticleLinks_t &trackParticles)
void addEflowRec_Charged_PFOLink(const ElementLink< PFOContainer > &pfo)
add a eflowRec_charged PFO to the tau
const PFO * eflowRec_Pi0_PFO(size_t i) const
Get the pointer to a given eflowRec_pi0 PFO associated with this tau.
const PFO * cellBased_Pi0_PFO(size_t i) const
Get the pointer to a given cellbased_pi0 PFO associated with this tau.
double mTauEtaCalib() const
void clearOtherTrackLinks()
Remove all tracks from the tau.
const TrackParticleLinks_t & wideTrackLinks() const
double phiDetectorAxis() const
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
const PFOLinks_t & charged_PFOLinks() const
default pfos
const Vertex * vertex() const
void addCharged_PFOLink(const ElementLink< PFOContainer > &pfo)
add a charged PFO to the tau
size_t nShot_PFOs() const
Get the number of shot PFO particles associated with this tau.
double mPanTauCellBasedProto() const
TauID
Enum for discriminants.
Class providing the definition of the 4-vector interface.
const VertexLink_t & secondaryVertexLink() const
bool isTau(TauJetParameters::IsTauFlag flag) const
Get Flag for tau acceptance based on predefined arbitrary criteria.
void setCellBased_Charged_PFOLinks(const PFOLinks_t &cellBased_Charged_PFOs)
unsigned int ROIWord() const
the ROIWord, in case TauJet is used in EF trigger
DATAVECTOR_BASE(xAOD::TauJet_v1, xAOD::IParticle)
const TrackParticleLinks_t & otherTrackLinks() const
size_t nOtherTracks() const
Get the number of track particles associated with this tau.
double ptTauEnergyScale() const
void setVertexLink(const VertexLink_t &vertexLink)
void setWideTrackLinks(const TrackParticleLinks_t &trackParticles)
void addTrackLink(const ElementLink< TrackParticleContainer > &tr)
add a track to the tau
double discriminant(TauJetParameters::TauID discID) const
Get value of discriminant.
Class describing a tau jet.
void addEflowRec_Pi0_PFOLink(const ElementLink< PFOContainer > &pfo)
add a eflowRec_pi0 PFO to the tau
void clearShot_PFOLinks()
Remove all shot PFOs from the tau.
const TrackParticle * otherTrack(size_t i) const
Get the pointer to a given track associated with this tau.
void setTrackPhiStrip(unsigned int numTrack, float phi)
const JetLink_t & jetLink() const
TLorentzVector FourMom_t
Definition of the 4-momentum type.
void clearEflowRec_Pi0_PFOLinks()
Remove all eflowRec_pi0 PFOs from the tau.
void setROIWord(unsigned int)
const PFOLinks_t & eflowRec_Neutral_PFOLinks() const
void addConversionTrackLink(const ElementLink< TrackParticleContainer > &tr)
add a track to the tau
virtual double m() const
The invariant mass of the particle.
void addNeutral_PFOLink(const ElementLink< PFOContainer > &pfo)
add a neutral PFO to the tau
const PFO * cellBased_Charged_PFO(size_t i) const
Get the pointer to a given cellbased_charged PFO associated with this tau.
double mTauEnergyScale() const
Detail
Enum for tau parameters - used mainly for backward compatibility with the analysis code.
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal taus type.
int trackFilterQuality() const
const TrackParticle * conversionTrack(size_t i) const
Get the pointer to a given track associated with this tau.
double ptDetectorAxis() const
void clearCellBased_Neutral_PFOLinks()
Remove all cellbased_neutral PFOs from the tau.
double ptIntermediateAxis() const
void setPanTauDetail(TauJetParameters::PanTauDetails panTauDetail, int value)
double mPanTauCellBased() const
void addCellBased_Neutral_PFOLink(const ElementLink< PFOContainer > &pfo)
add a cellbased_neutral PFO to the tau
TauCalibType
Enum for tau calib type.
size_t nPi0_PFOs() const
Get the number of pi0 PFO particles associated with this tau.
void setTrackFilterPass(unsigned int numTrack, int pass)
void setSecondaryVertex(const xAOD::VertexContainer *cont, const xAOD::Vertex *vertex)
bool detail(TauJetParameters::Detail detail, int &value) const
Get and set values of common details variables via enum.
void setFlag(TauJetParameters::VetoFlags flag, bool value)
Set veto flag.
const PFOLinks_t & cellBased_Charged_PFOLinks() const
cellbased pfos
double phiPanTauCellBased() const
void clearConversionTrackLinks()
Remove all tracks from the tau.
double mIntermediateAxis() const
void setEflowRec_Pi0_PFOLinks(const PFOLinks_t &eflowRec_Pi0_PFOs)
void setDetail(TauJetParameters::Detail detail, int value)
double phiIntermediateAxis() const
double phiJetSeed() const
double ptPanTauCellBased() const
const PFOLinks_t & cellBased_Neutral_PFOLinks() const
double etaTauEnergyScale() const
size_t nCellBased_Pi0_PFOs() const
Get the number of cellbased_pi0 PFO particles associated with this tau.
void setOtherTrackLinks(const TrackParticleLinks_t &trackParticles)
const TrackParticleLinks_t & trackLinks() const
const VertexLink_t & vertexLink() const
virtual double pt() const
The transverse momentum ( ) of the particle.
void setIsTau(TauJetParameters::IsTauFlag flag, bool value)
Set Flag for tau acceptance based on predefined arbitrary criteria.
void setDiscriminant(TauJetParameters::TauID discID, double disc)
Set value of discriminant.
size_t nEflowRec_Pi0_PFOs() const
Get the number of eflowRec_pi0 PFO particles associated with this tau.
bool hasDiscriminant(TauJetParameters::TauID discID) const
Check if class contains requested discriminant.
size_t nCellBased_Charged_PFOs() const
Get the number of cellbased_charged PFO particles associated with this tau.
void clearCellBased_Pi0_PFOLinks()
Remove all cellbased_pi0 PFOs from the tau.
void setPi0_PFOLinks(const PFOLinks_t &pi0_PFOs)
bool panTauDetail(TauJetParameters::PanTauDetails panTauDetail, int &value) const
Get and set values of pantau details variables via enum.
virtual double eta() const
The pseudorapidity ( ) of the particle.
size_t nWideTracks() const
Get the number of track particles associated with this tau.
const PFOLinks_t & pi0_PFOLinks() const
ElementLink implementation for ROOT usage.
double etaTauEtaCalib() const
void setSecondaryVertexLink(const VertexLink_t &vertexLink)
const PFO * eflowRec_Charged_PFO(size_t i) const
Get the pointer to a given eflowRec_charged PFO associated with this tau.
TauJet_v1()
Default constructor.
const PFO * cellBased_Neutral_PFO(size_t i) const
Get the pointer to a given cellbased_neutral PFO associated with this tau.
void clearWideTrackLinks()
Remove all tracks from the tau.
void addOtherTrackLink(const ElementLink< TrackParticleContainer > &tr)
add a track to the tau
std::vector< ElementLink< xAOD::TrackParticleContainer > > TrackParticleLinks_t
const PFO * shot_PFO(size_t i) const
Get the pointer to a given shot PFO associated with this tau.
virtual double e() const
The total energy of the particle.
const PFOLinks_t & eflowRec_Charged_PFOLinks() const
eflowRec pfos
void clearTrackLinks()
Remove all tracks from the tau.
void addEflowRec_Neutral_PFOLink(const ElementLink< PFOContainer > &pfo)
add a eflowRec_neutral PFO to the tau
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
xAODTAU_return_type< T >::type panTauDetail(TauJetParameters::PanTauDetails panTauDetail) const
void setJetLink(const JetLink_t &jetLink)
const PFOLinks_t & cellBased_Pi0_PFOLinks() const
double phiTauEtaCalib() const
void clearCharged_PFOLinks()
Remove all charged PFOs from the tau.
void setJet(const xAOD::JetContainer *cont, const xAOD::Jet *jet)
An STL vector of pointers that by default owns its pointed-to elements.
double etaDetectorAxis() const
void setTrackEtaStrip(unsigned int numTrack, float eta)
ElementLink< xAOD::VertexContainer > VertexLink_t
const PFO * neutral_PFO(size_t i) const
Get the pointer to a given neutral PFO associated with this tau.
void clearNeutral_PFOLinks()
Remove all neutral PFOs from the tau.
PanTauDetails
Enum for tau details (scalar) calculated by pantau.
Class describing a Vertex.
void addPi0_PFOLink(const ElementLink< PFOContainer > &pfo)
add a pi0 PFO to the tau
void setTrackFilterProngs(int)
void addHadronic_PFOLink(const ElementLink< PFOContainer > &pfo)
add a hadronic PFO to the tau
void setEflowRec_Neutral_PFOLinks(const PFOLinks_t &eflowRec_Neutral_PFOs)
virtual double phi() const
The azimuthal angle ( ) of the particle.
size_t nCellBased_Neutral_PFOs() const
Get the number of cellbased_neutral PFO particles associated with this tau.
virtual FourMom_t p4() const
The full 4-momentum of the particle.
const PFO * hadronic_PFO(size_t i) const
Get the pointer to a given hadronic PFO associated with this tau.
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for taus.
IsTauFlag
Enum for IsTau flags.
const PFOLinks_t & hadronic_PFOLinks() const
void setNeutral_PFOLinks(const PFOLinks_t &neutral_PFOs)
int trackFilterProngs() const
const PFO * eflowRec_Neutral_PFO(size_t i) const
Get the pointer to a given eflowRec_neutral PFO associated with this tau.
double ptTauEtaCalib() const
const PFO * charged_PFO(size_t i) const
Get the pointer to a given charged PFO associated with this tau.
size_t nConversionTracks() const
Get the number of track particles associated with this tau.
Class describing a TrackParticle.
void setEflowRec_Charged_PFOLinks(const PFOLinks_t &eflowRec_Charged_PFOs)
size_t nCharged_PFOs() const
Get the number of charged PFO particles associated with this tau.
float trackPhiStrip(unsigned int numTrack) const
ObjectType
Type of objects that have a representation in the xAOD EDM.
void clearCellBased_Charged_PFOLinks()
Remove all cellbased_charged PFOs from the tau.
const PFOLinks_t & shot_PFOLinks() const
void addCellBased_Pi0_PFOLink(const ElementLink< PFOContainer > &pfo)
add a cellbased_pi0 PFO to the tau
const PFO * pi0_PFO(size_t i) const
Get the pointer to a given pi0 PFO associated with this tau.
int trackFilterPass(unsigned int numTrack) const
void addCellBased_Charged_PFOLink(const ElementLink< PFOContainer > &pfo)
add a cellbased_charged PFO to the tau
ElementLink< xAOD::JetContainer > JetLink_t
void clearPi0_PFOLinks()
Remove all pi0 PFOs from the tau.
void setCellBased_Neutral_PFOLinks(const PFOLinks_t &cellBased_Neutral_PFOs)
void clearEflowRec_Neutral_PFOLinks()
Remove all eflowRec_neutral PFOs from the tau.
size_t nNeutral_PFOs() const
Get the number of neutral PFO particles associated with this tau.
void setP4(double pt, double eta, double phi, double m)
Set methods for IParticle values.
size_t nHadronic_PFOs() const
Get the number of hadronic PFO particles associated with this tau.
double phiPanTauCellBasedProto() const
const PFOLinks_t & neutral_PFOLinks() const
const Vertex * secondaryVertex() const