|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef XAODTAU_VERSIONS_TAUJET_V3_H
9 #define XAODTAU_VERSIONS_TAUJET_V3_H
13 #include "AthLinks/ElementLink.h"
29 #include "Math/Vector4D.h"
51 virtual double pt()
const;
53 virtual double eta()
const;
55 virtual double phi()
const;
57 virtual double e()
const;
60 virtual double m()
const;
69 typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> >
GenVecFourMom_t;
187 if (this->
detail(detail,temp))
return temp;
257 #ifndef XAOD_STANDALONE
266 std::vector<const TauTrack*>
allTracks()
const;
292 std::vector<const IParticle*>
clusters()
const;
312 size_t nPi0s()
const;
335 typedef std::vector< ElementLink< xAOD::PFOContainer > >
PFOLinks_t;
472 #endif // XAODTAU_VERSIONS_TAUJET_V3_H
TauTrackFlag
Enum for tau track flags.
double phiDetectorAxis() const
int trackFilterQuality() const
xAODTAU_return_type< T >::type panTauDetail(TauJetParameters::PanTauDetails panTauDetail) const
double etaTrigCaloOnly() const
double etaTauEtaCalib() const
void addShotPFOLink(const ElementLink< PFOContainer > &pfo)
add a shot PFO to the tau
double mTauEnergyScale() const
const PFOLinks_t & hadronicPFOLinks() const
DATAVECTOR_BASE(xAOD::TauJet_v3, xAOD::IParticle)
double mDetectorAxis() const
double etaTauEnergyScale() const
void setAllTauTrackLinks(const TauTrackLinks_t &tauTracks)
const IParticleLinks_t & clusterLinks() const
const PFO * hadronicPFO(size_t i) const
Get the pointer to a given hadronic PFO associated with this tau.
double mPanTauCellBased() const
void setProtoNeutralPFOLinks(const PFOLinks_t &protoNeutralPFOs)
size_t nNeutralPFOs() const
Get the number of neutral PFO particles associated with this tau.
size_t nTracksWithMask(unsigned int classification) const
const TauTrack * trackWithMask(size_t i, unsigned int mask, int *container_index=0) const
double discriminant(TauJetParameters::TauID discID) const
Get value of discriminant.
size_t nAllTracks() const
double phiIntermediateAxis() const
virtual double eta() const
The pseudorapidity ( ) of the particle.
size_t nProtoNeutralPFOs() const
Get the number of cellbased_neutral PFO particles associated with this tau.
double etaDetectorAxis() const
double etaIntermediateAxis() const
void clearProtoChargedPFOLinks()
Remove all cellbased_charged PFOs from the tau.
double phiFinalCalib() const
void setJetLink(const JetLink_t &jetLink)
void setPanTauDetail(TauJetParameters::PanTauDetails panTauDetail, int value)
double mPanTauCellBasedProto() const
void clearTauTrackLinks()
Remove all tracks from the tau.
std::vector< const TauTrack * > tracksWithMask(unsigned int mask) const
Get the v<const pointer> to a given tauTrack collection associated with this tau.
virtual double m() const
The invariant mass of the particle.
void addChargedPFOLink(const ElementLink< PFOContainer > &pfo)
add a charged PFO to the tau
double etaFinalCalib() const
State
enum of possible signal states.
size_t nTracks(TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged) const
void clearNeutralPFOLinks()
Remove all neutral PFOs from the tau.
void setProtoPi0PFOLinks(const PFOLinks_t &protoPi0PFOs)
void setNeutralPFOLinks(const PFOLinks_t &neutralPFOs)
void clearClusterLinks()
Remove all clusters from the tau.
void clearPi0PFOLinks()
Remove all pi0 PFOs from the tau.
void clearPi0Links()
Remove all pi0s from the tau.
const IParticle * cluster(size_t i) const
Get the pointer to a given cluster associated with this tau.
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
bool hasDiscriminant(TauJetParameters::TauID discID) const
Check if class contains requested discriminant.
bool panTauDetail(TauJetParameters::PanTauDetails panTauDetail, int &value) const
Get and set values of pantau details variables via enum.
TauTrack * trackNonConst(size_t i, TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged)
const PFO * protoChargedPFO(size_t i) const
Get the pointer to a given cellbased_charged PFO associated with this tau.
size_t nHadronicPFOs() const
Get the number of hadronic PFO particles associated with this tau.
void setVertex(const xAOD::VertexContainer *cont, const xAOD::Vertex *vertex)
TauID
Enum for discriminants.
void addProtoNeutralPFOLink(const ElementLink< PFOContainer > &pfo)
add a cellbased_neutral PFO to the tau
Class providing the definition of the 4-vector interface.
virtual double e() const
The total energy of the particle.
double ptDetectorAxis() const
size_t nProtoPi0PFOs() const
Get the number of cellbased_pi0 PFO particles associated with this tau.
double phiTrigCaloOnly() const
size_t nPi0PFOs() const
Get the number of pi0 PFO particles associated with this tau.
void setIsTau(TauJetParameters::IsTauFlag flag, bool value)
Set Flag for tau acceptance based on predefined arbitrary criteria.
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal taus type.
void setP4(double pt, double eta, double phi, double m)
Set methods for IParticle values.
virtual double rapidity() const
The true rapidity (y) of the particle.
double mTauEtaCalib() const
std::vector< const IParticle * > clusters() const
const PFO * pi0PFO(size_t i) const
Get the pointer to a given pi0 PFO associated with this tau.
TLorentzVector FourMom_t
Definition of the 4-momentum type.
void setClusterLinks(const IParticleLinks_t &clusters)
double phiJetSeed() const
unsigned int ROIWord() const
the ROIWord, in case TauJet is used in EF trigger
virtual double pt() const
The transverse momentum ( ) of the particle.
Detail
Enum for tau parameters - used mainly for backward compatibility with the analysis code.
ElementLink< xAOD::VertexContainer > VertexLink_t
virtual double phi() const
The azimuthal angle ( ) of the particle.
const TauTrackLinks_t tauTrackLinksWithMask(unsigned int) const
const VertexLink_t & secondaryVertexLink() const
double etaPanTauCellBased() const
void addPi0PFOLink(const ElementLink< PFOContainer > &pfo)
add a pi0 PFO to the tau
double ptTauEnergyScale() const
void clearProtoPi0PFOLinks()
Remove all cellbased_pi0 PFOs from the tau.
size_t nTracksCharged() const
const PFOLinks_t & protoNeutralPFOLinks() const
const PFOLinks_t & neutralPFOLinks() const
TauCalibType
Enum for tau calib type.
const TauTrackLinks_t & allTauTrackLinks() const
void setSecondaryVertex(const xAOD::VertexContainer *cont, const xAOD::Vertex *vertex)
const PFOLinks_t & shotPFOLinks() const
void clearHadronicPFOLinks()
Remove all hadronic PFOs from the tau.
void setSecondaryVertexLink(const VertexLink_t &vertexLink)
Class describing a tau jet.
void setShotPFOLinks(const PFOLinks_t &shotPFOs)
double etaJetSeed() const
void setTrackFilterProngs(int)
const JetLink_t & jetLink() const
void addHadronicPFOLink(const ElementLink< PFOContainer > &pfo)
add a hadronic PFO to the tau
const TauTrack * track(size_t i, TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged, int *container_index=0) const
Get the pointer to a given tauTrack associated with this tau /*container index needed by trackNonCons...
void addTauTrackLink(const ElementLink< TauTrackContainer > &tr)
add a TauTrack to the tau
void setTrackFilterQuality(int)
void addNeutralPFOLink(const ElementLink< PFOContainer > &pfo)
add a neutral PFO to the tau
double ptTauEtaCalib() const
double etaPanTauCellBasedProto() const
const IParticle * pi0(size_t i) const
Get the pointer to a given pi0 associated with this tau.
double ptTrigCaloOnly() const
std::vector< ElementLink< xAOD::IParticleContainer > > IParticleLinks_t
void setHadronicPFOLinks(const PFOLinks_t &hadronicPFOs)
void addPi0Link(const ElementLink< IParticleContainer > &tr)
add a pi0 link to the tau
double phiTauEnergyScale() const
TauTrackLinks_t & allTauTrackLinksNonConst()
In order to sort track links.
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for taus.
double mTrigCaloOnly() const
const PFOLinks_t & protoPi0PFOLinks() const
void setJet(const xAOD::JetContainer *cont, const xAOD::Jet *jet)
ElementLink implementation for ROOT usage.
void setPi0Links(const IParticleLinks_t &pi0s)
void addClusterLink(const ElementLink< IParticleContainer > &tr)
add a cluster link to the tau
bool detail(TauJetParameters::Detail detail, int &value) const
Set veto flag.
double phiPanTauCellBased() const
void clearProtoNeutralPFOLinks()
Remove all cellbased_neutral PFOs from the tau.
void addProtoPi0PFOLink(const ElementLink< PFOContainer > &pfo)
add a cellbased_pi0 PFO to the tau
FourMom_t calibratedCluster(size_t i, xAOD::CaloCluster::State state=xAOD::CaloCluster::State::CALIBRATED) const
Get TLV to a given cluster in calibrated state.
void setProtoChargedPFOLinks(const PFOLinks_t &protoChargedPFOs)
const PFOLinks_t & pi0PFOLinks() const
ElementLink< xAOD::JetContainer > JetLink_t
Evaluate cluster kinematics with a different vertex / signal state.
std::vector< xAOD::CaloVertexedTopoCluster > vertexedClusters() const
void setChargedPFOLinks(const PFOLinks_t &chargedPFOs)
const PFO * protoPi0PFO(size_t i) const
Get the pointer to a given cellbased_pi0 PFO associated with this tau.
std::vector< ElementLink< xAOD::PFOContainer > > PFOLinks_t
void clearChargedPFOLinks()
Remove all charged PFOs from the tau.
const TauTrackLinks_t tauTrackLinks(TauJetParameters::TauTrackFlag=TauJetParameters::TauTrackFlag::classifiedCharged) const
double phiTauEtaCalib() const
bool isTau(TauJetParameters::IsTauFlag flag) const
Get Flag for tau acceptance based on predefined arbitrary criteria.
An STL vector of pointers that by default owns its pointed-to elements.
void setPi0PFOLinks(const PFOLinks_t &pi0PFOs)
double mIntermediateAxis() const
PanTauDetails
Enum for tau details (scalar) calculated by pantau.
void setROIWord(unsigned int)
Class describing a Vertex.
void setVertexLink(const VertexLink_t &vertexLink)
std::vector< ElementLink< xAOD::TauTrackContainer > > TauTrackLinks_t
TauJet_v3()
Default constructor.
const Vertex * vertex() const
virtual FourMom_t p4() const
The full 4-momentum of the particle.
void clearShotPFOLinks()
Remove all shot PFOs from the tau.
const PFOLinks_t & protoChargedPFOLinks() const
cellbased pfos
void setDetail(TauJetParameters::Detail detail, int value)
IsTauFlag
Enum for IsTau flags.
const IParticleLinks_t & pi0Links() const
const PFO * protoNeutralPFO(size_t i) const
Get the pointer to a given cellbased_neutral PFO associated with this tau.
size_t nProtoChargedPFOs() const
Get the number of cellbased_charged PFO particles associated with this tau.
const PFOLinks_t & chargedPFOLinks() const
default pfos
void addProtoChargedPFOLink(const ElementLink< PFOContainer > &pfo)
add a cellbased_charged PFO to the tau
double ptIntermediateAxis() const
const PFO * shotPFO(size_t i) const
Get the pointer to a given shot PFO associated with this tau.
size_t nTracksIsolation() const
ObjectType
Type of objects that have a representation in the xAOD EDM.
const Vertex * secondaryVertex() const
double ptPanTauCellBased() const
double mFinalCalib() const
double ptFinalCalib() const
const PFO * neutralPFO(size_t i) const
Get the pointer to a given neutral PFO associated with this tau.
void setDiscriminant(TauJetParameters::TauID discID, double disc)
Set value of discriminant.
size_t nChargedPFOs() const
Get the number of charged PFO particles associated with this tau.
xAODTAU_return_type< T >::type detail(TauJetParameters::Detail detail) const
std::vector< const TauTrack * > tracks(TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged) const
Get the v<const pointer> to a given tauTrack collection associated with this tau.
std::vector< const TauTrack * > allTracks() const
Get the v<const pointer> to all tracks associated with this tau, regardless of classification.
const VertexLink_t & vertexLink() const
const PFO * chargedPFO(size_t i) const
Get the pointer to a given charged PFO associated with this tau.
size_t nShotPFOs() const
Get the number of shot PFO particles associated with this tau.
double phiPanTauCellBasedProto() const
int trackFilterProngs() const
double ptPanTauCellBasedProto() const