#include <TauJet_v2.h>
Public Types | |
typedef ElementLink < xAOD::JetContainer > | JetLink_t |
typedef ElementLink < xAOD::VertexContainer > | VertexLink_t |
typedef std::vector < ElementLink < xAOD::TrackParticleContainer > > | TrackParticleLinks_t |
typedef std::vector < ElementLink < xAOD::PFOContainer > > | PFOLinks_t |
Public Member Functions | |
TauJet_v2 () | |
Default constructor. | |
float | charge () const |
void | setCharge (float) |
unsigned int | ROIWord () const |
the ROIWord, in case TauJet is used in EF trigger | |
void | setROIWord (unsigned int) |
bool | hasDiscriminant (TauJetParameters::TauID discID) const |
double | discriminant (TauJetParameters::TauID discID) const |
void | setDiscriminant (TauJetParameters::TauID discID, double disc) |
bool | isTau (TauJetParameters::IsTauFlag flag) const |
void | setIsTau (TauJetParameters::IsTauFlag flag, bool value) |
void | setFlag (TauJetParameters::VetoFlags flag, bool value) |
bool | flag (TauJetParameters::VetoFlags flag) const |
bool | detail (TauJetParameters::Detail detail, int &value) const |
Get and set values of common details variables via enum. | |
bool | detail (TauJetParameters::Detail detail, float &value) const |
void | setDetail (TauJetParameters::Detail detail, int value) |
void | setDetail (TauJetParameters::Detail detail, float value) |
template<class T > | |
xAODTAU_return_type< T >::type | detail (TauJetParameters::Detail detail) const |
bool | panTauDetail (TauJetParameters::PanTauDetails panTauDetail, int &value) const |
Get and set values of pantau details variables via enum. | |
bool | panTauDetail (TauJetParameters::PanTauDetails panTauDetail, float &value) const |
void | setPanTauDetail (TauJetParameters::PanTauDetails panTauDetail, int value) |
void | setPanTauDetail (TauJetParameters::PanTauDetails panTauDetail, float value) |
template<class T > | |
xAODTAU_return_type< T >::type | panTauDetail (TauJetParameters::PanTauDetails panTauDetail) const |
const JetLink_t & | jetLink () const |
void | setJetLink (const JetLink_t &jetLink) |
void | setJet (const xAOD::JetContainer *cont, const xAOD::Jet *jet) |
const Jet * | jet () const |
const VertexLink_t & | vertexLink () const |
void | setVertexLink (const VertexLink_t &vertexLink) |
void | setVertex (const xAOD::VertexContainer *cont, const xAOD::Vertex *vertex) |
const Vertex * | vertex () const |
const VertexLink_t & | secondaryVertexLink () const |
void | setSecondaryVertexLink (const VertexLink_t &vertexLink) |
void | setSecondaryVertex (const xAOD::VertexContainer *cont, const xAOD::Vertex *vertex) |
const Vertex * | secondaryVertex () const |
const TrackParticleLinks_t & | trackLinks () const |
void | setTrackLinks (const TrackParticleLinks_t &trackParticles) |
const TrackParticle * | track (size_t i) const |
Get the pointer to a given track associated with this tau. | |
size_t | nTracks () const |
Get the number of track particles associated with this tau. | |
void | addTrackLink (const ElementLink< TrackParticleContainer > &tr) |
add a track to the tau | |
void | clearTrackLinks () |
Remove all tracks from the tau. | |
bool | trackFlag (const TrackParticle *track, TauJetParameters::TauTrackFlag flag) const |
void | setTrackFlag (const TrackParticle *track, TauJetParameters::TauTrackFlag flag, bool value) |
int | trackFilterProngs () const |
void | setTrackFilterProngs (int) |
int | trackFilterQuality () const |
void | setTrackFilterQuality (int) |
float | pi0ConeDR () const |
void | setPi0ConeDR (float) |
float | trackEtaStrip (unsigned int numTrack) const |
void | setTrackEtaStrip (unsigned int numTrack, float eta) |
float | trackPhiStrip (unsigned int numTrack) const |
void | setTrackPhiStrip (unsigned int numTrack, float phi) |
const TrackParticleLinks_t & | wideTrackLinks () const |
void | setWideTrackLinks (const TrackParticleLinks_t &trackParticles) |
const TrackParticle * | wideTrack (size_t i) const |
Get the pointer to a given track associated with this tau. | |
size_t | nWideTracks () const |
Get the number of track particles associated with this tau. | |
void | addWideTrackLink (const ElementLink< TrackParticleContainer > &tr) |
add a track to the tau | |
void | clearWideTrackLinks () |
Remove all tracks from the tau. | |
const TrackParticleLinks_t & | otherTrackLinks () const |
void | setOtherTrackLinks (const TrackParticleLinks_t &trackParticles) |
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 | addOtherTrackLink (const ElementLink< TrackParticleContainer > &tr) |
add a track to the tau | |
void | clearOtherTrackLinks () |
Remove all tracks from the tau. | |
const PFOLinks_t & | hadronicPFOLinks () const |
void | setHadronicPFOLinks (const PFOLinks_t &hadronicPFOs) |
const PFO * | hadronicPFO (size_t i) const |
Get the pointer to a given hadronic PFO associated with this tau. | |
size_t | nHadronicPFOs () const |
Get the number of hadronic PFO particles associated with this tau. | |
void | addHadronicPFOLink (const ElementLink< PFOContainer > &pfo) |
add a hadronic PFO to the tau | |
void | clearHadronicPFOLinks () |
Remove all hadronic PFOs from the tau. | |
const PFOLinks_t & | shotPFOLinks () const |
void | setShotPFOLinks (const PFOLinks_t &shotPFOs) |
const PFO * | shotPFO (size_t i) const |
Get the pointer to a given shot PFO associated with this tau. | |
size_t | nShotPFOs () const |
Get the number of shot PFO particles associated with this tau. | |
void | addShotPFOLink (const ElementLink< PFOContainer > &pfo) |
add a shot PFO to the tau | |
void | clearShotPFOLinks () |
Remove all shot PFOs from the tau. | |
const PFOLinks_t & | chargedPFOLinks () const |
default pfos | |
void | setChargedPFOLinks (const PFOLinks_t &chargedPFOs) |
const PFO * | chargedPFO (size_t i) const |
Get the pointer to a given charged PFO associated with this tau. | |
size_t | nChargedPFOs () const |
Get the number of charged PFO particles associated with this tau. | |
void | addChargedPFOLink (const ElementLink< PFOContainer > &pfo) |
add a charged PFO to the tau | |
void | clearChargedPFOLinks () |
Remove all charged PFOs from the tau. | |
const PFOLinks_t & | neutralPFOLinks () const |
void | setNeutralPFOLinks (const PFOLinks_t &neutralPFOs) |
const PFO * | neutralPFO (size_t i) const |
Get the pointer to a given neutral PFO associated with this tau. | |
size_t | nNeutralPFOs () const |
Get the number of neutral PFO particles associated with this tau. | |
void | addNeutralPFOLink (const ElementLink< PFOContainer > &pfo) |
add a neutral PFO to the tau | |
void | clearNeutralPFOLinks () |
Remove all neutral PFOs from the tau. | |
const PFOLinks_t & | pi0PFOLinks () const |
void | setPi0PFOLinks (const PFOLinks_t &pi0PFOs) |
const PFO * | pi0PFO (size_t i) const |
Get the pointer to a given pi0 PFO associated with this tau. | |
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 | |
void | clearPi0PFOLinks () |
Remove all pi0 PFOs from the tau. | |
const PFOLinks_t & | protoChargedPFOLinks () const |
cellbased pfos | |
void | setProtoChargedPFOLinks (const PFOLinks_t &protoChargedPFOs) |
const PFO * | protoChargedPFO (size_t i) const |
Get the pointer to a given cellbased_charged PFO associated with this tau. | |
size_t | nProtoChargedPFOs () const |
Get the number of cellbased_charged PFO particles associated with this tau. | |
void | addProtoChargedPFOLink (const ElementLink< PFOContainer > &pfo) |
add a cellbased_charged PFO to the tau | |
void | clearProtoChargedPFOLinks () |
Remove all cellbased_charged PFOs from the tau. | |
const PFOLinks_t & | protoNeutralPFOLinks () const |
void | setProtoNeutralPFOLinks (const PFOLinks_t &protoNeutralPFOs) |
const PFO * | protoNeutralPFO (size_t i) const |
Get the pointer to a given cellbased_neutral PFO associated with this tau. | |
size_t | nProtoNeutralPFOs () const |
Get the number of cellbased_neutral PFO particles associated with this tau. | |
void | addProtoNeutralPFOLink (const ElementLink< PFOContainer > &pfo) |
add a cellbased_neutral PFO to the tau | |
void | clearProtoNeutralPFOLinks () |
Remove all cellbased_neutral PFOs from the tau. | |
const PFOLinks_t & | protoPi0PFOLinks () const |
void | setProtoPi0PFOLinks (const PFOLinks_t &protoPi0PFOs) |
const PFO * | protoPi0PFO (size_t i) const |
Get the pointer to a given cellbased_pi0 PFO associated with this tau. | |
size_t | nProtoPi0PFOs () const |
Get the number of cellbased_pi0 PFO particles associated with this tau. | |
void | addProtoPi0PFOLink (const ElementLink< PFOContainer > &pfo) |
add a cellbased_pi0 PFO to the tau | |
void | clearProtoPi0PFOLinks () |
Remove all cellbased_pi0 PFOs from the tau. | |
void | dump () |
xAOD::IParticle functions | |
virtual double | pt () const |
The transverse momentum () of the particle. | |
virtual double | eta () const |
The pseudorapidity () of the particle. | |
virtual double | phi () const |
The azimuthal angle () of the particle. | |
virtual double | e () const |
The total energy of the particle. | |
virtual double | m () const |
The invariant mass of the particle. | |
virtual double | rapidity () const |
The true rapidity (y) of the particle. | |
virtual const FourMom_t & | p4 () const |
The full 4-momentum of the particle. | |
virtual const FourMom_t & | p4 (const TauJetParameters::TauCalibType calib) const |
void | setP4 (double pt, double eta, double phi, double m) |
Set methods for IParticle values. | |
bool | setP4 (const TauJetParameters::TauCalibType calib, double pt, double eta, double phi, double m) |
double | ptJetSeed () const |
double | etaJetSeed () const |
double | phiJetSeed () const |
double | mJetSeed () const |
double | ptDetectorAxis () const |
double | etaDetectorAxis () const |
double | phiDetectorAxis () const |
double | mDetectorAxis () const |
double | ptIntermediateAxis () const |
double | etaIntermediateAxis () const |
double | phiIntermediateAxis () const |
double | mIntermediateAxis () const |
double | ptTauEnergyScale () const |
double | etaTauEnergyScale () const |
double | phiTauEnergyScale () const |
double | mTauEnergyScale () const |
double | ptTauEtaCalib () const |
double | etaTauEtaCalib () const |
double | phiTauEtaCalib () const |
double | mTauEtaCalib () const |
double | ptPanTauEFlowRecProto () const |
double | etaPanTauEFlowRecProto () const |
double | phiPanTauEFlowRecProto () const |
double | mPanTauEFlowRecProto () const |
double | ptPanTauEFlowRec () const |
double | etaPanTauEFlowRec () const |
double | phiPanTauEFlowRec () const |
double | mPanTauEFlowRec () const |
double | ptPanTauCellBasedProto () const |
double | etaPanTauCellBasedProto () const |
double | phiPanTauCellBasedProto () const |
double | mPanTauCellBasedProto () const |
double | ptPanTauCellBased () const |
double | etaPanTauCellBased () const |
double | phiPanTauCellBased () const |
double | mPanTauCellBased () const |
double | ptTrigCaloOnly () const |
double | etaTrigCaloOnly () const |
double | phiTrigCaloOnly () const |
double | mTrigCaloOnly () const |
virtual Type::ObjectType | type () const |
The type of the object as a simple enumeration. |
Class describing a tau jet
More details of how xAOD::TauJet is supposed to work...
double xAOD::TauJet_v2::discriminant | ( | TauJetParameters::TauID | discID | ) | const |
Get value of discriminant
discID | discriminant id requested |
bool xAOD::TauJet_v2::flag | ( | TauJetParameters::VetoFlags | flag | ) | const |
Get veto flag
flag | flag to check |
bool xAOD::TauJet_v2::hasDiscriminant | ( | TauJetParameters::TauID | discID | ) | const |
Check if class contains requested discriminant
discID | discriminant id requested |
bool xAOD::TauJet_v2::isTau | ( | TauJetParameters::IsTauFlag | flag | ) | const |
Get Flag for tau acceptance based on predefined arbitrary criteria
flag | flag to check |
void xAOD::TauJet_v2::setDiscriminant | ( | TauJetParameters::TauID | discID, | |
double | disc | |||
) |
Set value of discriminant
discID | discriminant id requested | |
disc | discriminant value |
void xAOD::TauJet_v2::setFlag | ( | TauJetParameters::VetoFlags | flag, | |
bool | value | |||
) |
Set veto flag
flag | flag to set | |
value | value to set |
void xAOD::TauJet_v2::setIsTau | ( | TauJetParameters::IsTauFlag | flag, | |
bool | value | |||
) |
Set Flag for tau acceptance based on predefined arbitrary criteria
flag | flag to set | |
value | value to set |