ATLAS Offline Software
|
Class describing a tau jet. More...
#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 |
using | TypelessConstAccessor = ConstAuxElement::TypelessConstAccessor |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
using | ConstAccessor = SG::ConstAccessor< T, ALLOC > |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
using | Accessor = SG::Accessor< T, ALLOC > |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
using | Decorator = SG::Decorator< T, ALLOC > |
Public Member Functions | |
TauJet_v2 () | |
Default constructor. More... | |
float | charge () const |
void | setCharge (float) |
unsigned int | ROIWord () const |
the ROIWord, in case TauJet is used in EF trigger More... | |
void | setROIWord (unsigned int) |
bool | hasDiscriminant (TauJetParameters::TauID discID) const |
Check if class contains requested discriminant. More... | |
double | discriminant (TauJetParameters::TauID discID) const |
Get value of discriminant. More... | |
void | setDiscriminant (TauJetParameters::TauID discID, double disc) |
Set value of discriminant. More... | |
bool | isTau (TauJetParameters::IsTauFlag flag) const |
Get Flag for tau acceptance based on predefined arbitrary criteria. More... | |
void | setIsTau (TauJetParameters::IsTauFlag flag, bool value) |
Set Flag for tau acceptance based on predefined arbitrary criteria. More... | |
void | setFlag (TauJetParameters::VetoFlags flag, bool value) |
Set veto flag. More... | |
bool | flag (TauJetParameters::VetoFlags flag) const |
Get veto flag. More... | |
bool | detail (TauJetParameters::Detail detail, int &value) const |
Get and set values of common details variables via enum. More... | |
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. More... | |
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. More... | |
size_t | nTracks () const |
void | addTrackLink (const ElementLink< TrackParticleContainer > &tr) |
add a track to the tau More... | |
void | clearTrackLinks () |
Remove all tracks from the tau. More... | |
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. More... | |
size_t | nWideTracks () const |
Get the number of track particles associated with this tau. More... | |
void | addWideTrackLink (const ElementLink< TrackParticleContainer > &tr) |
add a track to the tau More... | |
void | clearWideTrackLinks () |
Remove all tracks from the tau. More... | |
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. More... | |
size_t | nOtherTracks () const |
Get the number of track particles associated with this tau. More... | |
void | addOtherTrackLink (const ElementLink< TrackParticleContainer > &tr) |
add a track to the tau More... | |
void | clearOtherTrackLinks () |
Remove all tracks from the tau. More... | |
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. More... | |
size_t | nHadronicPFOs () const |
Get the number of hadronic PFO particles associated with this tau. More... | |
void | addHadronicPFOLink (const ElementLink< PFOContainer > &pfo) |
add a hadronic PFO to the tau More... | |
void | clearHadronicPFOLinks () |
Remove all hadronic PFOs from the tau. More... | |
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. More... | |
size_t | nShotPFOs () const |
Get the number of shot PFO particles associated with this tau. More... | |
void | addShotPFOLink (const ElementLink< PFOContainer > &pfo) |
add a shot PFO to the tau More... | |
void | clearShotPFOLinks () |
Remove all shot PFOs from the tau. More... | |
const PFOLinks_t & | chargedPFOLinks () const |
default pfos More... | |
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. More... | |
size_t | nChargedPFOs () const |
Get the number of charged PFO particles associated with this tau. More... | |
void | addChargedPFOLink (const ElementLink< PFOContainer > &pfo) |
add a charged PFO to the tau More... | |
void | clearChargedPFOLinks () |
Remove all charged PFOs from the tau. More... | |
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. More... | |
size_t | nNeutralPFOs () const |
Get the number of neutral PFO particles associated with this tau. More... | |
void | addNeutralPFOLink (const ElementLink< PFOContainer > &pfo) |
add a neutral PFO to the tau More... | |
void | clearNeutralPFOLinks () |
Remove all neutral PFOs from the tau. More... | |
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. More... | |
size_t | nPi0PFOs () const |
Get the number of pi0 PFO particles associated with this tau. More... | |
void | addPi0PFOLink (const ElementLink< PFOContainer > &pfo) |
add a pi0 PFO to the tau More... | |
void | clearPi0PFOLinks () |
Remove all pi0 PFOs from the tau. More... | |
const PFOLinks_t & | protoChargedPFOLinks () const |
cellbased pfos More... | |
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. More... | |
size_t | nProtoChargedPFOs () const |
Get the number of cellbased_charged PFO particles associated with this tau. More... | |
void | addProtoChargedPFOLink (const ElementLink< PFOContainer > &pfo) |
add a cellbased_charged PFO to the tau More... | |
void | clearProtoChargedPFOLinks () |
Remove all cellbased_charged PFOs from the tau. More... | |
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. More... | |
size_t | nProtoNeutralPFOs () const |
Get the number of cellbased_neutral PFO particles associated with this tau. More... | |
void | addProtoNeutralPFOLink (const ElementLink< PFOContainer > &pfo) |
add a cellbased_neutral PFO to the tau More... | |
void | clearProtoNeutralPFOLinks () |
Remove all cellbased_neutral PFOs from the tau. More... | |
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. More... | |
size_t | nProtoPi0PFOs () const |
Get the number of cellbased_pi0 PFO particles associated with this tau. More... | |
void | addProtoPi0PFOLink (const ElementLink< PFOContainer > &pfo) |
add a cellbased_pi0 PFO to the tau More... | |
void | clearProtoPi0PFOLinks () |
Remove all cellbased_pi0 PFOs from the tau. More... | |
void | dump () const |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::reference_type | auxdata (const std::string &name) |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdata (const std::string &name) const |
Fetch an aux data variable, as a const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") |
Check if an aux variable is available for writing. More... | |
const SG::AuxVectorData * | container () const |
Return the container holding this element. More... | |
SG::AuxVectorData * | container () |
Return the container holding this element. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdataConst (const std::string &name) const |
Fetch an aux data variable, as a const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdataConst (const std::string &name, const std::string &clsname) const |
Fetch an aux data variable, as a const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritableAsDecoration (const std::string &name, const std::string &clsname="") const |
Check if an aux variable is available for writing as a decoration. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type | auxdecor (const std::string &name) const |
Fetch an aux decoration, as a non-const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type | auxdecor (const std::string &name, const std::string &clsname) const |
Fetch an aux decoration, as a non-const reference. More... | |
void | makePrivateStore () |
Create a new (empty) private store for this object. More... | |
template<class U1 > | |
void | makePrivateStore (const U1 &other) |
Create a new private store for this object and copy aux data. More... | |
template<class U1 > | |
void | makePrivateStore (const U1 *other) |
Create a new private store for this object and copy aux data. More... | |
void | releasePrivateStore () |
Release and free any private store associated with this object. More... | |
void | setStore (const SG::IConstAuxStore *store) |
Set the store associated with this object. More... | |
void | setStore (SG::IAuxStore *store) |
Set the store associated with this object. More... | |
void | setStore (const DataLink< SG::IConstAuxStore > &store) |
Set the store associated with this object. More... | |
void | setConstStore (const SG::IConstAuxStore *store) |
Synonym for setStore with IConstAuxStore . More... | |
void | setNonConstStore (SG::IAuxStore *store) |
Synonym for setStore with IAuxStore . More... | |
bool | usingPrivateStore () const |
Test to see if this object is currently using a private store. More... | |
bool | usingStandaloneStore () const |
Test to see if this object is currently using a standalone store. More... | |
const SG::IConstAuxStore * | getConstStore () const |
Return the current store, as a const interface. More... | |
SG::IAuxStore * | getStore () const |
Return the current store, as a non-const interface. More... | |
void | clearCache () |
Clear the cached aux data pointers. More... | |
const SG::auxid_set_t & | getAuxIDs () const |
Return a set of identifiers for existing data items for this object. More... | |
bool | hasStore () const |
Return true if this object has an associated store. More... | |
bool | hasNonConstStore () const |
Return true if this object has an associated non-const store. More... | |
bool | clearDecorations () const |
Clear all decorations. More... | |
bool | trackIndices () const |
Return true if index tracking is enabled for this object. More... | |
size_t | index () const |
Return the index of this element within its container. More... | |
size_t | index () const |
Return the index of this element within its container. More... | |
Static Public Attributes | |
static constexpr bool | supportsThinning = true |
Mark that this type supports thinning operations. More... | |
Protected Member Functions | |
bool | noPrivateData () const |
True if this element has no private data. More... | |
bool | havePrivateData () const |
True if this element currently has private data. More... | |
bool | hadPrivateData () const |
True if this element had private data before it was added to its current container. More... | |
Private Types | |
enum | PrivateStoreState : uint8_t { PrivateStoreState::NO_PRIVATE = 0, PrivateStoreState::HAVE_PRIVATE = 1, PrivateStoreState::HAD_PRIVATE = 2 } |
The current private data state. More... | |
Private Member Functions | |
void | releasePrivateStoreForDtor () |
Out-of-line portion of destructor. More... | |
void | setIndex (size_t index, SG::AuxVectorData *container) |
Set the index/container for this element. More... | |
bool | setIndexPrivate (size_t index, SG::AuxVectorData *container) |
Set the index/container for this element. More... | |
void | makePrivateStore1 (const void *) |
Create a new private store for this object and copy aux data. More... | |
void | makePrivateStore1 (const AuxElement *other) |
Create a new private store for this object and copy aux data. More... | |
AuxElementStandaloneData * | setStore1 (const SG::IConstAuxStore *store) |
Set the store associated with this object. More... | |
void | clearAux () |
Clear all aux data associated with this element. More... | |
void | copyAux (const ConstAuxElement &other) |
Copy aux data from another object. More... | |
void | setNoPrivateData () |
Record that this element does not have private data. More... | |
void | setHavePrivateData () |
Record that this element currently has private data. More... | |
void | setHadPrivateData () |
Record that this element used to have private data. More... | |
Private Attributes | |
const SG::AuxVectorData * | m_container |
The container of which this object is an element. More... | |
size_t | m_index |
The index of this element within its container. More... | |
PrivateStoreState | m_privateStoreState |
Class describing a tau jet.
More details of how xAOD::TauJet is supposed to work...
Definition at line 38 of file TauJet_v2.h.
|
inherited |
Definition at line 548 of file AuxElement.h.
|
inherited |
Definition at line 545 of file AuxElement.h.
|
inherited |
Definition at line 551 of file AuxElement.h.
|
inherited |
Definition of the 4-momentum type.
Definition at line 69 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> > xAOD::TauJet_v2::GenVecFourMom_t |
Base 4 Momentum type for taus.
Definition at line 66 of file TauJet_v2.h.
Definition at line 207 of file TauJet_v2.h.
typedef std::vector< ElementLink< xAOD::PFOContainer > > xAOD::TauJet_v2::PFOLinks_t |
Definition at line 317 of file TauJet_v2.h.
typedef std::vector< ElementLink< xAOD::TrackParticleContainer > > xAOD::TauJet_v2::TrackParticleLinks_t |
Definition at line 242 of file TauJet_v2.h.
|
inherited |
Definition at line 542 of file AuxElement.h.
Definition at line 219 of file TauJet_v2.h.
|
strongprivateinherited |
The current private data state.
Enumerator | |
---|---|
NO_PRIVATE | |
HAVE_PRIVATE | |
HAD_PRIVATE |
Definition at line 131 of file IAuxElement.h.
xAOD::TauJet_v2::TauJet_v2 | ( | ) |
void xAOD::TauJet_v2::addChargedPFOLink | ( | const ElementLink< PFOContainer > & | pfo | ) |
add a charged PFO to the tau
Definition at line 711 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::addHadronicPFOLink | ( | const ElementLink< PFOContainer > & | pfo | ) |
add a hadronic PFO to the tau
Definition at line 652 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::addNeutralPFOLink | ( | const ElementLink< PFOContainer > & | pfo | ) |
add a neutral PFO to the tau
Definition at line 742 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::addOtherTrackLink | ( | const ElementLink< TrackParticleContainer > & | tr | ) |
add a track to the tau
Definition at line 558 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::addPi0PFOLink | ( | const ElementLink< PFOContainer > & | pfo | ) |
add a pi0 PFO to the tau
Definition at line 773 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::addProtoChargedPFOLink | ( | const ElementLink< PFOContainer > & | pfo | ) |
add a cellbased_charged PFO to the tau
Definition at line 807 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::addProtoNeutralPFOLink | ( | const ElementLink< PFOContainer > & | pfo | ) |
add a cellbased_neutral PFO to the tau
Definition at line 837 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::addProtoPi0PFOLink | ( | const ElementLink< PFOContainer > & | pfo | ) |
add a cellbased_pi0 PFO to the tau
Definition at line 868 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::addShotPFOLink | ( | const ElementLink< PFOContainer > & | pfo | ) |
add a shot PFO to the tau
Definition at line 681 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::addTrackLink | ( | const ElementLink< TrackParticleContainer > & | tr | ) |
add a track to the tau
Definition at line 397 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::addWideTrackLink | ( | const ElementLink< TrackParticleContainer > & | tr | ) |
add a track to the tau
Definition at line 531 of file TauJet_v2.cxx.
|
inherited |
Fetch an aux data variable, as a non-const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
or ConstAccessor
classes.
|
inlineinherited |
Fetch an aux data variable, as a non-const reference.
This function provides an easy way for users to decorate objects with auxiliary data.
Take note that this function is slow. Should not be used inside time-critical code.
name | Name of the aux variable |
clsname | The name of the associated class. May be blank |
Definition at line 98 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inlineinherited |
Fetch an aux data variable, as a const reference.
This function provides an easy way for users to retrieve auxiliary decorations from an object.
Take note that this function is slow. Should not be used inside time-critical code.
name | Name of the aux variable |
clsname | The name of the associated class. May be blank |
Definition at line 118 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor
class.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor
class.
|
inherited |
Fetch an aux decoration, as a non-const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.
|
inherited |
Fetch an aux decoration, as a non-const reference.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.
float xAOD::TauJet_v2::charge | ( | ) | const |
Get the pointer to a given charged PFO associated with this tau.
const PFOLinks_t& xAOD::TauJet_v2::chargedPFOLinks | ( | ) | const |
default pfos
|
privateinherited |
Clear all aux data associated with this element.
If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData
.
Definition at line 535 of file AuxElement.cxx.
|
inherited |
Clear the cached aux data pointers.
You should call this any time something changes in the aux store that could invalidate the vector pointers.
Definition at line 319 of file AuxElement.cxx.
void xAOD::TauJet_v2::clearChargedPFOLinks | ( | ) |
Remove all charged PFOs from the tau.
Definition at line 717 of file TauJet_v2.cxx.
|
inherited |
Clear all decorations.
Erase all decorations from an associated store, restoring the state to when lock
was called.
Returns true if there were any decorations that were cleared, false if the store did not contain any decorations.
Definition at line 385 of file AuxElement.cxx.
void xAOD::TauJet_v2::clearHadronicPFOLinks | ( | ) |
Remove all hadronic PFOs from the tau.
Definition at line 658 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::clearNeutralPFOLinks | ( | ) |
Remove all neutral PFOs from the tau.
Definition at line 748 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::clearOtherTrackLinks | ( | ) |
Remove all tracks from the tau.
Definition at line 564 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::clearPi0PFOLinks | ( | ) |
Remove all pi0 PFOs from the tau.
Definition at line 779 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::clearProtoChargedPFOLinks | ( | ) |
Remove all cellbased_charged PFOs from the tau.
Definition at line 813 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::clearProtoNeutralPFOLinks | ( | ) |
Remove all cellbased_neutral PFOs from the tau.
Definition at line 843 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::clearProtoPi0PFOLinks | ( | ) |
Remove all cellbased_pi0 PFOs from the tau.
Definition at line 874 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::clearShotPFOLinks | ( | ) |
Remove all shot PFOs from the tau.
Definition at line 687 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::clearTrackLinks | ( | ) |
Remove all tracks from the tau.
Definition at line 403 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::clearWideTrackLinks | ( | ) |
Remove all tracks from the tau.
Definition at line 537 of file TauJet_v2.cxx.
|
inherited |
Return the container holding this element.
|
inherited |
Return the container holding this element.
|
privateinherited |
Copy aux data from another object.
other | The object from which to copy. |
If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData
.
All aux data items from other
are copied to this object. Any aux data items associated with this object that are not present in other
are cleared. (If other
has no aux data, then all aux data items for this object are cleared.)
Definition at line 561 of file AuxElement.cxx.
|
inline |
Definition at line 184 of file TauJet_v2.h.
bool xAOD::TauJet_v2::detail | ( | TauJetParameters::Detail | detail, |
float & | value | ||
) | const |
Definition at line 312 of file TauJet_v2.cxx.
bool xAOD::TauJet_v2::detail | ( | TauJetParameters::Detail | detail, |
int & | value | ||
) | const |
Get and set values of common details variables via enum.
Definition at line 298 of file TauJet_v2.cxx.
double xAOD::TauJet_v2::discriminant | ( | TauJetParameters::TauID | discID | ) | const |
Get value of discriminant.
discID | discriminant id requested |
Definition at line 236 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::dump | ( | ) | const |
Definition at line 882 of file TauJet_v2.cxx.
|
virtual |
The total energy of the particle.
Implements xAOD::IParticle.
Definition at line 96 of file TauJet_v2.cxx.
|
virtual |
The pseudorapidity ( \(\eta\)) of the particle.
Implements xAOD::IParticle.
double xAOD::TauJet_v2::etaDetectorAxis | ( | ) | const |
double xAOD::TauJet_v2::etaIntermediateAxis | ( | ) | const |
double xAOD::TauJet_v2::etaJetSeed | ( | ) | const |
double xAOD::TauJet_v2::etaPanTauCellBased | ( | ) | const |
double xAOD::TauJet_v2::etaPanTauCellBasedProto | ( | ) | const |
double xAOD::TauJet_v2::etaTauEnergyScale | ( | ) | const |
double xAOD::TauJet_v2::etaTauEtaCalib | ( | ) | const |
double xAOD::TauJet_v2::etaTrigCaloOnly | ( | ) | const |
bool xAOD::TauJet_v2::flag | ( | TauJetParameters::VetoFlags | flag | ) | const |
TauJet_v2::GenVecFourMom_t xAOD::TauJet_v2::genvecP4 | ( | ) | const |
The full 4-momentum of the particle : internal taus type.
Definition at line 111 of file TauJet_v2.cxx.
TauJet_v2::GenVecFourMom_t xAOD::TauJet_v2::genvecP4 | ( | const TauJetParameters::TauCalibType | calib | ) | const |
Definition at line 155 of file TauJet_v2.cxx.
|
inherited |
Return a set of identifiers for existing data items for this object.
If this object has a private or standalone store, then information from that will be returned. Otherwise, if this element is part of a container, then information for the container will be returned. Otherwise, return an empty set.
Definition at line 335 of file AuxElement.cxx.
|
inherited |
Return the current store, as a const interface.
This will be non-zero if either a const or non-const store is associated with this object. This will fetch either a private or standalone store.
Definition at line 284 of file AuxElement.cxx.
|
inherited |
Return the current store, as a non-const interface.
This will be non-zero if a non-const store is associated with this object. This will fetch either a private or standalone store.
Definition at line 299 of file AuxElement.cxx.
|
protectedinherited |
True if this element had private data before it was added to its current container.
Get the pointer to a given hadronic PFO associated with this tau.
const PFOLinks_t& xAOD::TauJet_v2::hadronicPFOLinks | ( | ) | const |
bool xAOD::TauJet_v2::hasDiscriminant | ( | TauJetParameters::TauID | discID | ) | const |
Check if class contains requested discriminant.
discID | discriminant id requested |
Definition at line 225 of file TauJet_v2.cxx.
|
inherited |
Return true if this object has an associated non-const store.
This will be true for either a private or standalone store.
Definition at line 368 of file AuxElement.cxx.
|
inherited |
Return true if this object has an associated store.
This will be true for either a private or standalone store.
Definition at line 355 of file AuxElement.cxx.
|
protectedinherited |
True if this element currently has private data.
|
inherited |
Return the index of this element within its container.
|
inherited |
Return the index of this element within its container.
Inherited from IAuxElement.
|
inlineinherited |
Check if a user property is available for reading or not.
This function should be used to check if a user property which may or may not exist, is set on the object.
name | Name of the auxiliary variable |
clsname | The name of the associated class. May be blank |
Definition at line 135 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inherited |
Check if an aux variable is available for writing.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
|
inlineinherited |
Check if a user property is available for writing or not.
This function can be used to check whether it will be possible to set a user property on the object.
name | Name of the auxiliary variable |
clsname | The name of the associated class. May be blank |
Definition at line 152 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inherited |
Check if an aux variable is available for writing as a decoration.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
bool xAOD::TauJet_v2::isTau | ( | TauJetParameters::IsTauFlag | flag | ) | const |
Get Flag for tau acceptance based on predefined arbitrary criteria.
flag | flag to check |
Definition at line 256 of file TauJet_v2.cxx.
|
virtual |
The invariant mass of the particle.
Implements xAOD::IParticle.
|
inherited |
Create a new (empty) private store for this object.
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
Definition at line 172 of file AuxElement.cxx.
|
inherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
If other
is an object that has aux data, then those data will be copied; otherwise, nothing will be done.
|
inherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
If other
is an object that has aux data, then those data will be copied; otherwise, nothing will be done.
|
privateinherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
This overload handles the case where other
does have aux data.
Definition at line 521 of file AuxElement.cxx.
|
privateinherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
This overload handles the case where other
does not have aux data.
double xAOD::TauJet_v2::mDetectorAxis | ( | ) | const |
double xAOD::TauJet_v2::mIntermediateAxis | ( | ) | const |
double xAOD::TauJet_v2::mJetSeed | ( | ) | const |
double xAOD::TauJet_v2::mPanTauCellBased | ( | ) | const |
double xAOD::TauJet_v2::mPanTauCellBasedProto | ( | ) | const |
double xAOD::TauJet_v2::mTauEnergyScale | ( | ) | const |
double xAOD::TauJet_v2::mTauEtaCalib | ( | ) | const |
double xAOD::TauJet_v2::mTrigCaloOnly | ( | ) | const |
size_t xAOD::TauJet_v2::nChargedPFOs | ( | ) | const |
Get the number of charged PFO particles associated with this tau.
Definition at line 707 of file TauJet_v2.cxx.
Get the pointer to a given neutral PFO associated with this tau.
const PFOLinks_t& xAOD::TauJet_v2::neutralPFOLinks | ( | ) | const |
size_t xAOD::TauJet_v2::nHadronicPFOs | ( | ) | const |
Get the number of hadronic PFO particles associated with this tau.
Definition at line 648 of file TauJet_v2.cxx.
size_t xAOD::TauJet_v2::nNeutralPFOs | ( | ) | const |
Get the number of neutral PFO particles associated with this tau.
Definition at line 738 of file TauJet_v2.cxx.
|
protectedinherited |
True if this element has no private data.
size_t xAOD::TauJet_v2::nOtherTracks | ( | ) | const |
Get the number of track particles associated with this tau.
Definition at line 554 of file TauJet_v2.cxx.
size_t xAOD::TauJet_v2::nPi0PFOs | ( | ) | const |
Get the number of pi0 PFO particles associated with this tau.
Definition at line 769 of file TauJet_v2.cxx.
size_t xAOD::TauJet_v2::nProtoChargedPFOs | ( | ) | const |
Get the number of cellbased_charged PFO particles associated with this tau.
Definition at line 803 of file TauJet_v2.cxx.
size_t xAOD::TauJet_v2::nProtoNeutralPFOs | ( | ) | const |
Get the number of cellbased_neutral PFO particles associated with this tau.
Definition at line 833 of file TauJet_v2.cxx.
size_t xAOD::TauJet_v2::nProtoPi0PFOs | ( | ) | const |
Get the number of cellbased_pi0 PFO particles associated with this tau.
Definition at line 864 of file TauJet_v2.cxx.
size_t xAOD::TauJet_v2::nShotPFOs | ( | ) | const |
Get the number of shot PFO particles associated with this tau.
Definition at line 677 of file TauJet_v2.cxx.
size_t xAOD::TauJet_v2::nTracks | ( | ) | const |
Definition at line 393 of file TauJet_v2.cxx.
size_t xAOD::TauJet_v2::nWideTracks | ( | ) | const |
Get the number of track particles associated with this tau.
Definition at line 527 of file TauJet_v2.cxx.
const TrackParticle* xAOD::TauJet_v2::otherTrack | ( | size_t | i | ) | const |
Get the pointer to a given track associated with this tau.
const TrackParticleLinks_t& xAOD::TauJet_v2::otherTrackLinks | ( | ) | const |
|
virtual |
|
virtual |
Definition at line 115 of file TauJet_v2.cxx.
|
inline |
Definition at line 199 of file TauJet_v2.h.
bool xAOD::TauJet_v2::panTauDetail | ( | TauJetParameters::PanTauDetails | panTauDetail, |
float & | value | ||
) | const |
Definition at line 355 of file TauJet_v2.cxx.
bool xAOD::TauJet_v2::panTauDetail | ( | TauJetParameters::PanTauDetails | panTauDetail, |
int & | value | ||
) | const |
Get and set values of pantau details variables via enum.
Definition at line 341 of file TauJet_v2.cxx.
|
virtual |
The azimuthal angle ( \(\phi\)) of the particle.
Implements xAOD::IParticle.
double xAOD::TauJet_v2::phiDetectorAxis | ( | ) | const |
double xAOD::TauJet_v2::phiIntermediateAxis | ( | ) | const |
double xAOD::TauJet_v2::phiJetSeed | ( | ) | const |
double xAOD::TauJet_v2::phiPanTauCellBased | ( | ) | const |
double xAOD::TauJet_v2::phiPanTauCellBasedProto | ( | ) | const |
double xAOD::TauJet_v2::phiTauEnergyScale | ( | ) | const |
double xAOD::TauJet_v2::phiTauEtaCalib | ( | ) | const |
double xAOD::TauJet_v2::phiTrigCaloOnly | ( | ) | const |
float xAOD::TauJet_v2::pi0ConeDR | ( | ) | const |
Get the pointer to a given pi0 PFO associated with this tau.
const PFOLinks_t& xAOD::TauJet_v2::pi0PFOLinks | ( | ) | const |
Get the pointer to a given cellbased_charged PFO associated with this tau.
const PFOLinks_t& xAOD::TauJet_v2::protoChargedPFOLinks | ( | ) | const |
cellbased pfos
Get the pointer to a given cellbased_neutral PFO associated with this tau.
const PFOLinks_t& xAOD::TauJet_v2::protoNeutralPFOLinks | ( | ) | const |
Get the pointer to a given cellbased_pi0 PFO associated with this tau.
const PFOLinks_t& xAOD::TauJet_v2::protoPi0PFOLinks | ( | ) | const |
|
virtual |
The transverse momentum ( \(p_T\)) of the particle.
Implements xAOD::IParticle.
double xAOD::TauJet_v2::ptDetectorAxis | ( | ) | const |
double xAOD::TauJet_v2::ptIntermediateAxis | ( | ) | const |
double xAOD::TauJet_v2::ptJetSeed | ( | ) | const |
double xAOD::TauJet_v2::ptPanTauCellBased | ( | ) | const |
double xAOD::TauJet_v2::ptPanTauCellBasedProto | ( | ) | const |
double xAOD::TauJet_v2::ptTauEnergyScale | ( | ) | const |
double xAOD::TauJet_v2::ptTauEtaCalib | ( | ) | const |
double xAOD::TauJet_v2::ptTrigCaloOnly | ( | ) | const |
|
virtual |
The true rapidity (y) of the particle.
Implements xAOD::IParticle.
Definition at line 101 of file TauJet_v2.cxx.
|
inherited |
Release and free any private store associated with this object.
ExcBadPrivateStore
will be thrown if this object does not have a private store.
Definition at line 190 of file AuxElement.cxx.
|
privateinherited |
Out-of-line portion of destructor.
Delete a private store if we have one.
Definition at line 398 of file AuxElement.cxx.
const VertexLink_t& xAOD::TauJet_v2::secondaryVertexLink | ( | ) | const |
void xAOD::TauJet_v2::setCharge | ( | float | ) |
void xAOD::TauJet_v2::setChargedPFOLinks | ( | const PFOLinks_t & | chargedPFOs | ) |
|
inherited |
Synonym for setStore
with IConstAuxStore
.
store | The new store. |
void xAOD::TauJet_v2::setDetail | ( | TauJetParameters::Detail | detail, |
float | value | ||
) |
Definition at line 333 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::setDetail | ( | TauJetParameters::Detail | detail, |
int | value | ||
) |
Definition at line 326 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::setDiscriminant | ( | TauJetParameters::TauID | discID, |
double | disc | ||
) |
Set value of discriminant.
discID | discriminant id requested |
disc | discriminant value |
Definition at line 248 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::setFlag | ( | TauJetParameters::VetoFlags | flag, |
bool | value | ||
) |
|
privateinherited |
Record that this element used to have private data.
void xAOD::TauJet_v2::setHadronicPFOLinks | ( | const PFOLinks_t & | hadronicPFOs | ) |
|
privateinherited |
Record that this element currently has private data.
|
privateinherited |
Set the index/container for this element.
index | The index of this object within the container. |
container | The container holding this object. May be null if this object is being removed from a container. |
Usually this simply sets the index and container members of this object. However, in the case where this object has an associated private store, then we need to deal with releasing the store if the object is being added to a container, or making a new store if the object is being removed from a container.
|
privateinherited |
Set the index/container for this element.
index | The index of this object within the container. |
container | The container holding this object. May be null if this object is being removed from a container. |
This is called from setIndex
when we have a private store to deal with.
Definition at line 462 of file AuxElement.cxx.
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 |
Definition at line 264 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::setJet | ( | const xAOD::JetContainer * | cont, |
const xAOD::Jet * | jet | ||
) |
Definition at line 582 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::setNeutralPFOLinks | ( | const PFOLinks_t & | neutralPFOs | ) |
|
inherited |
Synonym for setStore
with IAuxStore
.
store | The new store. |
|
privateinherited |
Record that this element does not have private data.
void xAOD::TauJet_v2::setOtherTrackLinks | ( | const TrackParticleLinks_t & | trackParticles | ) |
bool xAOD::TauJet_v2::setP4 | ( | const TauJetParameters::TauCalibType | calib, |
double | pt, | ||
double | eta, | ||
double | phi, | ||
double | m | ||
) |
Definition at line 194 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::setPanTauDetail | ( | TauJetParameters::PanTauDetails | panTauDetail, |
float | value | ||
) |
Definition at line 376 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::setPanTauDetail | ( | TauJetParameters::PanTauDetails | panTauDetail, |
int | value | ||
) |
Definition at line 369 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::setPi0ConeDR | ( | float | ) |
void xAOD::TauJet_v2::setPi0PFOLinks | ( | const PFOLinks_t & | pi0PFOs | ) |
void xAOD::TauJet_v2::setProtoChargedPFOLinks | ( | const PFOLinks_t & | protoChargedPFOs | ) |
void xAOD::TauJet_v2::setProtoNeutralPFOLinks | ( | const PFOLinks_t & | protoNeutralPFOs | ) |
void xAOD::TauJet_v2::setProtoPi0PFOLinks | ( | const PFOLinks_t & | protoPi0PFOs | ) |
void xAOD::TauJet_v2::setSecondaryVertex | ( | const xAOD::VertexContainer * | cont, |
const xAOD::Vertex * | vertex | ||
) |
Definition at line 624 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::setSecondaryVertexLink | ( | const VertexLink_t & | vertexLink | ) |
void xAOD::TauJet_v2::setShotPFOLinks | ( | const PFOLinks_t & | shotPFOs | ) |
|
inherited |
Set the store associated with this object.
store | The new store. |
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
store | Link to the new store. |
Definition at line 249 of file AuxElement.cxx.
|
inherited |
Set the store associated with this object.
store | The new store. |
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
Definition at line 221 of file AuxElement.cxx.
|
inherited |
Set the store associated with this object.
store | The new store. |
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
Definition at line 237 of file AuxElement.cxx.
|
privateinherited |
Set the store associated with this object.
store | The new store. |
Helper for setStore
. Creates the AuxElementStandaloneData
object if needed and returns it.
store | The new store. |
Helper for setStore
. Creates the @x AuxElementStandaloneData object if needed and returns it.
Definition at line 418 of file AuxElement.cxx.
void xAOD::TauJet_v2::setTrackFilterProngs | ( | int | ) |
void xAOD::TauJet_v2::setTrackFilterQuality | ( | int | ) |
void xAOD::TauJet_v2::setTrackFlag | ( | const TrackParticle * | track, |
TauJetParameters::TauTrackFlag | flag, | ||
bool | value | ||
) |
Definition at line 436 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::setTrackLinks | ( | const TrackParticleLinks_t & | trackParticles | ) |
void xAOD::TauJet_v2::setVertex | ( | const xAOD::VertexContainer * | cont, |
const xAOD::Vertex * | vertex | ||
) |
Definition at line 603 of file TauJet_v2.cxx.
void xAOD::TauJet_v2::setVertexLink | ( | const VertexLink_t & | vertexLink | ) |
void xAOD::TauJet_v2::setWideTrackLinks | ( | const TrackParticleLinks_t & | trackParticles | ) |
Get the pointer to a given shot PFO associated with this tau.
const PFOLinks_t& xAOD::TauJet_v2::shotPFOLinks | ( | ) | const |
const TrackParticle* xAOD::TauJet_v2::track | ( | size_t | i | ) | const |
Get the pointer to a given track associated with this tau.
Definition at line 474 of file TauJet_v2.cxx.
int xAOD::TauJet_v2::trackFilterProngs | ( | ) | const |
int xAOD::TauJet_v2::trackFilterQuality | ( | ) | const |
bool xAOD::TauJet_v2::trackFlag | ( | const TrackParticle * | track, |
TauJetParameters::TauTrackFlag | flag | ||
) | const |
Definition at line 409 of file TauJet_v2.cxx.
|
inherited |
Return true if index tracking is enabled for this object.
Always returns true. Included here to be consistent with AuxVectorBase when standalone objects may be used as template parameters.
const TrackParticleLinks_t& xAOD::TauJet_v2::trackLinks | ( | ) | const |
Definition at line 494 of file TauJet_v2.cxx.
|
virtual |
The type of the object as a simple enumeration.
Implements xAOD::IParticle.
Definition at line 215 of file TauJet_v2.cxx.
|
inherited |
Test to see if this object is currently using a private store.
Definition at line 260 of file AuxElement.cxx.
|
inherited |
Test to see if this object is currently using a standalone store.
Test to see if this object is currently using a private store.
Definition at line 270 of file AuxElement.cxx.
const VertexLink_t& xAOD::TauJet_v2::vertexLink | ( | ) | const |
const TrackParticle* xAOD::TauJet_v2::wideTrack | ( | size_t | i | ) | const |
Get the pointer to a given track associated with this tau.
const TrackParticleLinks_t& xAOD::TauJet_v2::wideTrackLinks | ( | ) | const |
|
privateinherited |
The container of which this object is an element.
Should be null if this object is not within a container, except that it may also point at a private store.
Definition at line 324 of file AuxElement.h.
|
privateinherited |
The index of this element within its container.
Should be 0 if this object is not within a container.
Definition at line 128 of file IAuxElement.h.
|
privateinherited |
Definition at line 137 of file IAuxElement.h.
|
staticconstexprinherited |
Mark that this type supports thinning operations.
See AthContainers/supportsThinning.h and AthenaPoolCnvSvc/T_AthenaPoolCnv.h. Helps guide which pool converter template will be used. If false, the default pool converter will be used rather than the aux store-specific one. Ordinary xAOD type should not touch this, but may be overridden in a derived class to handle certain special cases.
Definition at line 920 of file AuxElement.h.