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