#include <TauJet_v1.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_v1 () | |
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. | |
int | trackFilterPass (unsigned int numTrack) const |
void | setTrackFilterPass (unsigned int numTrack, int pass) |
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 & | conversionTrackLinks () const |
void | setConversionTrackLinks (const TrackParticleLinks_t &trackParticles) |
const TrackParticle * | conversionTrack (size_t i) const |
Get the pointer to a given track associated with this tau. | |
size_t | nConversionTracks () const |
Get the number of track particles associated with this tau. | |
void | addConversionTrackLink (const ElementLink< TrackParticleContainer > &tr) |
add a track to the tau | |
void | clearConversionTrackLinks () |
Remove all tracks from the tau. | |
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 & | hadronic_PFOLinks () const |
void | setHadronic_PFOLinks (const PFOLinks_t &hadronic_PFOs) |
const PFO * | hadronic_PFO (size_t i) const |
Get the pointer to a given hadronic PFO associated with this tau. | |
size_t | nHadronic_PFOs () const |
Get the number of hadronic PFO particles associated with this tau. | |
void | addHadronic_PFOLink (const ElementLink< PFOContainer > &pfo) |
add a hadronic PFO to the tau | |
void | clearHadronic_PFOLinks () |
Remove all hadronic PFOs from the tau. | |
const PFOLinks_t & | shot_PFOLinks () const |
void | setShot_PFOLinks (const PFOLinks_t &shot_PFOs) |
const PFO * | shot_PFO (size_t i) const |
Get the pointer to a given shot PFO associated with this tau. | |
size_t | nShot_PFOs () const |
Get the number of shot PFO particles associated with this tau. | |
void | addShot_PFOLink (const ElementLink< PFOContainer > &pfo) |
add a shot PFO to the tau | |
void | clearShot_PFOLinks () |
Remove all shot PFOs from the tau. | |
const PFOLinks_t & | charged_PFOLinks () const |
default pfos | |
void | setCharged_PFOLinks (const PFOLinks_t &charged_PFOs) |
const PFO * | charged_PFO (size_t i) const |
Get the pointer to a given charged PFO associated with this tau. | |
size_t | nCharged_PFOs () const |
Get the number of charged PFO particles associated with this tau. | |
void | addCharged_PFOLink (const ElementLink< PFOContainer > &pfo) |
add a charged PFO to the tau | |
void | clearCharged_PFOLinks () |
Remove all charged PFOs from the tau. | |
const PFOLinks_t & | neutral_PFOLinks () const |
void | setNeutral_PFOLinks (const PFOLinks_t &neutral_PFOs) |
const PFO * | neutral_PFO (size_t i) const |
Get the pointer to a given neutral PFO associated with this tau. | |
size_t | nNeutral_PFOs () const |
Get the number of neutral PFO particles associated with this tau. | |
void | addNeutral_PFOLink (const ElementLink< PFOContainer > &pfo) |
add a neutral PFO to the tau | |
void | clearNeutral_PFOLinks () |
Remove all neutral PFOs from the tau. | |
const PFOLinks_t & | pi0_PFOLinks () const |
void | setPi0_PFOLinks (const PFOLinks_t &pi0_PFOs) |
const PFO * | pi0_PFO (size_t i) const |
Get the pointer to a given pi0 PFO associated with this tau. | |
size_t | nPi0_PFOs () const |
Get the number of pi0 PFO particles associated with this tau. | |
void | addPi0_PFOLink (const ElementLink< PFOContainer > &pfo) |
add a pi0 PFO to the tau | |
void | clearPi0_PFOLinks () |
Remove all pi0 PFOs from the tau. | |
const PFOLinks_t & | cellBased_Charged_PFOLinks () const |
cellbased pfos | |
void | setCellBased_Charged_PFOLinks (const PFOLinks_t &cellBased_Charged_PFOs) |
const PFO * | cellBased_Charged_PFO (size_t i) const |
Get the pointer to a given cellbased_charged PFO associated with this tau. | |
size_t | nCellBased_Charged_PFOs () const |
Get the number of cellbased_charged PFO particles associated with this tau. | |
void | addCellBased_Charged_PFOLink (const ElementLink< PFOContainer > &pfo) |
add a cellbased_charged PFO to the tau | |
void | clearCellBased_Charged_PFOLinks () |
Remove all cellbased_charged PFOs from the tau. | |
const PFOLinks_t & | cellBased_Neutral_PFOLinks () const |
void | setCellBased_Neutral_PFOLinks (const PFOLinks_t &cellBased_Neutral_PFOs) |
const PFO * | cellBased_Neutral_PFO (size_t i) const |
Get the pointer to a given cellbased_neutral PFO associated with this tau. | |
size_t | nCellBased_Neutral_PFOs () const |
Get the number of cellbased_neutral PFO particles associated with this tau. | |
void | addCellBased_Neutral_PFOLink (const ElementLink< PFOContainer > &pfo) |
add a cellbased_neutral PFO to the tau | |
void | clearCellBased_Neutral_PFOLinks () |
Remove all cellbased_neutral PFOs from the tau. | |
const PFOLinks_t & | cellBased_Pi0_PFOLinks () const |
void | setCellBased_Pi0_PFOLinks (const PFOLinks_t &cellBased_Pi0_PFOs) |
const PFO * | cellBased_Pi0_PFO (size_t i) const |
Get the pointer to a given cellbased_pi0 PFO associated with this tau. | |
size_t | nCellBased_Pi0_PFOs () const |
Get the number of cellbased_pi0 PFO particles associated with this tau. | |
void | addCellBased_Pi0_PFOLink (const ElementLink< PFOContainer > &pfo) |
add a cellbased_pi0 PFO to the tau | |
void | clearCellBased_Pi0_PFOLinks () |
Remove all cellbased_pi0 PFOs from the tau. | |
const PFOLinks_t & | eflowRec_Charged_PFOLinks () const |
eflowRec pfos | |
void | setEflowRec_Charged_PFOLinks (const PFOLinks_t &eflowRec_Charged_PFOs) |
const PFO * | eflowRec_Charged_PFO (size_t i) const |
Get the pointer to a given eflowRec_charged PFO associated with this tau. | |
size_t | nEflowRec_Charged_PFOs () const |
Get the number of eflowRec_charged PFO particles associated with this tau. | |
void | addEflowRec_Charged_PFOLink (const ElementLink< PFOContainer > &pfo) |
add a eflowRec_charged PFO to the tau | |
void | clearEflowRec_Charged_PFOLinks () |
Remove all eflowRec_charged PFOs from the tau. | |
const PFOLinks_t & | eflowRec_Neutral_PFOLinks () const |
void | setEflowRec_Neutral_PFOLinks (const PFOLinks_t &eflowRec_Neutral_PFOs) |
const PFO * | eflowRec_Neutral_PFO (size_t i) const |
Get the pointer to a given eflowRec_neutral PFO associated with this tau. | |
size_t | nEflowRec_Neutral_PFOs () const |
Get the number of eflowRec_neutral PFO particles associated with this tau. | |
void | addEflowRec_Neutral_PFOLink (const ElementLink< PFOContainer > &pfo) |
add a eflowRec_neutral PFO to the tau | |
void | clearEflowRec_Neutral_PFOLinks () |
Remove all eflowRec_neutral PFOs from the tau. | |
const PFOLinks_t & | eflowRec_Pi0_PFOLinks () const |
void | setEflowRec_Pi0_PFOLinks (const PFOLinks_t &eflowRec_Pi0_PFOs) |
const PFO * | eflowRec_Pi0_PFO (size_t i) const |
Get the pointer to a given eflowRec_pi0 PFO associated with this tau. | |
size_t | nEflowRec_Pi0_PFOs () const |
Get the number of eflowRec_pi0 PFO particles associated with this tau. | |
void | addEflowRec_Pi0_PFOLink (const ElementLink< PFOContainer > &pfo) |
add a eflowRec_pi0 PFO to the tau | |
void | clearEflowRec_Pi0_PFOLinks () |
Remove all eflowRec_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 |
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_v1::discriminant | ( | TauJetParameters::TauID | discID | ) | const |
Get value of discriminant
discID | discriminant id requested |
bool xAOD::TauJet_v1::flag | ( | TauJetParameters::VetoFlags | flag | ) | const |
Get veto flag
flag | flag to check |
bool xAOD::TauJet_v1::hasDiscriminant | ( | TauJetParameters::TauID | discID | ) | const |
Check if class contains requested discriminant
discID | discriminant id requested |
bool xAOD::TauJet_v1::isTau | ( | TauJetParameters::IsTauFlag | flag | ) | const |
Get Flag for tau acceptance based on predefined arbitrary criteria
flag | flag to check |
void xAOD::TauJet_v1::setDiscriminant | ( | TauJetParameters::TauID | discID, | |
double | disc | |||
) |
Set value of discriminant
discID | discriminant id requested | |
disc | discriminant value |
void xAOD::TauJet_v1::setFlag | ( | TauJetParameters::VetoFlags | flag, | |
bool | value | |||
) |
Set veto flag
flag | flag to set | |
value | value to set |
void xAOD::TauJet_v1::setIsTau | ( | TauJetParameters::IsTauFlag | flag, | |
bool | value | |||
) |
Set Flag for tau acceptance based on predefined arbitrary criteria
flag | flag to set | |
value | value to set |