ATLAS Offline Software
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
xAOD::TauJet_v3 Class Reference

Class describing a tau jet. More...

#include <TauJet_v3.h>

Inheritance diagram for xAOD::TauJet_v3:
Collaboration diagram for xAOD::TauJet_v3:

Public Types

typedef ElementLink< xAOD::JetContainerJetLink_t
 
typedef ElementLink< xAOD::VertexContainerVertexLink_t
 
typedef std::vector< ElementLink< xAOD::TauTrackContainer > > TauTrackLinks_t
 
typedef std::vector< ElementLink< xAOD::IParticleContainer > > IParticleLinks_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_v3 ()
 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...
 
bool detail (TauJetParameters::Detail detail, int &value) const
 Set veto flag. More...
 
bool detail (TauJetParameters::Detail detail, float &value) const
 
bool detail (TauJetParameters::Detail detail, const IParticle *&value) const
 
void setDetail (TauJetParameters::Detail detail, int value)
 
void setDetail (TauJetParameters::Detail detail, float value)
 
void setDetail (TauJetParameters::Detail detail, const IParticle *value, const IParticleContainer *cont=0)
 
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_tjetLink () const
 
void setJetLink (const JetLink_t &jetLink)
 
void setJet (const xAOD::JetContainer *cont, const xAOD::Jet *jet)
 
const Jetjet () const
 
const VertexLink_tvertexLink () const
 
void setVertexLink (const VertexLink_t &vertexLink)
 
void setVertex (const xAOD::VertexContainer *cont, const xAOD::Vertex *vertex)
 
const Vertexvertex () const
 
const VertexLink_tsecondaryVertexLink () const
 
void setSecondaryVertexLink (const VertexLink_t &vertexLink)
 
void setSecondaryVertex (const xAOD::VertexContainer *cont, const xAOD::Vertex *vertex)
 
const VertexsecondaryVertex () const
 
const TauTrackLinks_t tauTrackLinks (TauJetParameters::TauTrackFlag=TauJetParameters::TauTrackFlag::classifiedCharged) const
 
const TauTrackLinks_t tauTrackLinksWithMask (unsigned int) const
 
TauTrackLinks_tallTauTrackLinksNonConst ()
 In order to sort track links. More...
 
const TauTrackLinks_tallTauTrackLinks () const
 
void setAllTauTrackLinks (const TauTrackLinks_t &tauTracks)
 
const TauTracktrack (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 trackNonConst*‍/. More...
 
const TauTracktrackWithMask (size_t i, unsigned int mask, int *container_index=0) const
 
TauTracktrackNonConst (size_t i, TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged)
 
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. More...
 
std::vector< const TauTrack * > tracksWithMask (unsigned int mask) const
 Get the v<const pointer> to a given tauTrack collection associated with this tau. More...
 
std::vector< const TauTrack * > allTracks () const
 Get the v<const pointer> to all tracks associated with this tau, regardless of classification. More...
 
size_t nTracks (TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged) const
 
size_t nTracksCharged () const
 
size_t nTracksIsolation () const
 
size_t nTracksWithMask (unsigned int classification) const
 
size_t nAllTracks () const
 
void addTauTrackLink (const ElementLink< TauTrackContainer > &tr)
 add a TauTrack to the tau More...
 
void clearTauTrackLinks ()
 Remove all tracks from the tau. More...
 
const IParticleLinks_tclusterLinks () const
 
void setClusterLinks (const IParticleLinks_t &clusters)
 
const IParticlecluster (size_t i) const
 Get the pointer to a given cluster associated with this tau. More...
 
std::vector< const IParticle * > clusters () const
 
FourMom_t calibratedCluster (size_t i, xAOD::CaloCluster::State state=xAOD::CaloCluster::State::CALIBRATED) const
 Get TLV to a given cluster in calibrated state. More...
 
size_t nClusters () const
 
void addClusterLink (const ElementLink< IParticleContainer > &tr)
 add a cluster link to the tau More...
 
void clearClusterLinks ()
 Remove all clusters from the tau. More...
 
std::vector< xAOD::CaloVertexedTopoClustervertexedClusters () const
 
const IParticleLinks_tpi0Links () const
 
void setPi0Links (const IParticleLinks_t &pi0s)
 
const IParticlepi0 (size_t i) const
 Get the pointer to a given pi0 associated with this tau. More...
 
size_t nPi0s () const
 
void addPi0Link (const ElementLink< IParticleContainer > &tr)
 add a pi0 link to the tau More...
 
void clearPi0Links ()
 Remove all pi0s from the tau. More...
 
int trackFilterProngs () const
 
void setTrackFilterProngs (int)
 
int trackFilterQuality () const
 
void setTrackFilterQuality (int)
 
float pi0ConeDR () const
 
void setPi0ConeDR (float)
 
const PFOLinks_thadronicPFOLinks () const
 
void setHadronicPFOLinks (const PFOLinks_t &hadronicPFOs)
 
const PFOhadronicPFO (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_tshotPFOLinks () const
 
void setShotPFOLinks (const PFOLinks_t &shotPFOs)
 
const PFOshotPFO (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_tchargedPFOLinks () const
 default pfos More...
 
void setChargedPFOLinks (const PFOLinks_t &chargedPFOs)
 
const PFOchargedPFO (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_tneutralPFOLinks () const
 
void setNeutralPFOLinks (const PFOLinks_t &neutralPFOs)
 
const PFOneutralPFO (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_tpi0PFOLinks () const
 
void setPi0PFOLinks (const PFOLinks_t &pi0PFOs)
 
const PFOpi0PFO (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_tprotoChargedPFOLinks () const
 cellbased pfos More...
 
void setProtoChargedPFOLinks (const PFOLinks_t &protoChargedPFOs)
 
const PFOprotoChargedPFO (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_tprotoNeutralPFOLinks () const
 
void setProtoNeutralPFOLinks (const PFOLinks_t &protoNeutralPFOs)
 
const PFOprotoNeutralPFO (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_tprotoPi0PFOLinks () const
 
void setProtoPi0PFOLinks (const PFOLinks_t &protoPi0PFOs)
 
const PFOprotoPi0PFO (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::AuxVectorDatacontainer () const
 Return the container holding this element. More...
 
SG::AuxVectorDatacontainer ()
 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::IConstAuxStoregetConstStore () const
 Return the current store, as a const interface. More...
 
SG::IAuxStoregetStore () const
 Return the current store, as a non-const interface. More...
 
void clearCache ()
 Clear the cached aux data pointers. More...
 
const SG::auxid_set_tgetAuxIDs () 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::AuxVectorDatam_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
 

xAOD::IParticle functions

typedef ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
 Base 4 Momentum type for taus. More...
 
virtual double pt () const
 The transverse momentum ( \(p_T\)) of the particle. More...
 
virtual double eta () const
 The pseudorapidity ( \(\eta\)) of the particle. More...
 
virtual double phi () const
 The azimuthal angle ( \(\phi\)) of the particle. More...
 
virtual double e () const
 The total energy of the particle. More...
 
virtual double m () const
 The invariant mass of the particle. More...
 
virtual double rapidity () const
 The true rapidity (y) of the particle. More...
 
virtual FourMom_t p4 () const
 The full 4-momentum of the particle. More...
 
virtual FourMom_t p4 (const TauJetParameters::TauCalibType calib) const
 
GenVecFourMom_t genvecP4 () const
 The full 4-momentum of the particle : internal taus type. More...
 
GenVecFourMom_t genvecP4 (const TauJetParameters::TauCalibType calib) const
 
void setP4 (double pt, double eta, double phi, double m)
 Set methods for IParticle values. More...
 
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 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
 
double ptFinalCalib () const
 
double etaFinalCalib () const
 
double phiFinalCalib () const
 
double mFinalCalib () const
 
virtual Type::ObjectType type () const
 The type of the object as a simple enumeration. More...
 

Detailed Description

Class describing a tau jet.

More details of how xAOD::TauJet is supposed to work...

Author
Michel Janus janus.nosp@m.@cer.nosp@m.n.ch

Definition at line 41 of file TauJet_v3.h.

Member Typedef Documentation

◆ Accessor

template<class T , class ALLOC = AuxAllocator_t<T>>
using SG::AuxElement::Accessor = SG::Accessor<T, ALLOC>
inherited

Definition at line 548 of file AuxElement.h.

◆ ConstAccessor

template<class T , class ALLOC = AuxAllocator_t<T>>
using SG::AuxElement::ConstAccessor = SG::ConstAccessor<T, ALLOC>
inherited

Definition at line 545 of file AuxElement.h.

◆ Decorator

template<class T , class ALLOC = AuxAllocator_t<T>>
using SG::AuxElement::Decorator = SG::Decorator<T, ALLOC>
inherited

Definition at line 551 of file AuxElement.h.

◆ FourMom_t

typedef TLorentzVector xAOD::IParticle::FourMom_t
inherited

Definition of the 4-momentum type.

Definition at line 69 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.

◆ GenVecFourMom_t

typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> > xAOD::TauJet_v3::GenVecFourMom_t

Base 4 Momentum type for taus.

Definition at line 69 of file TauJet_v3.h.

◆ IParticleLinks_t

Definition at line 283 of file TauJet_v3.h.

◆ JetLink_t

Definition at line 207 of file TauJet_v3.h.

◆ PFOLinks_t

Definition at line 335 of file TauJet_v3.h.

◆ TauTrackLinks_t

Definition at line 242 of file TauJet_v3.h.

◆ TypelessConstAccessor

using SG::AuxElement::TypelessConstAccessor = ConstAuxElement::TypelessConstAccessor
inherited

Definition at line 542 of file AuxElement.h.

◆ VertexLink_t

Definition at line 219 of file TauJet_v3.h.

Member Enumeration Documentation

◆ PrivateStoreState

enum SG::IAuxElement::PrivateStoreState : uint8_t
strongprivateinherited

The current private data state.

Enumerator
NO_PRIVATE 
HAVE_PRIVATE 
HAD_PRIVATE 

Definition at line 131 of file IAuxElement.h.

132  {
133  NO_PRIVATE = 0,
134  HAVE_PRIVATE = 1,
135  HAD_PRIVATE = 2,
136  };

Constructor & Destructor Documentation

◆ TauJet_v3()

xAOD::TauJet_v3::TauJet_v3 ( )

Default constructor.

Definition at line 22 of file TauJet_v3.cxx.

23  : IParticle() {
24  }

Member Function Documentation

◆ addChargedPFOLink()

void xAOD::TauJet_v3::addChargedPFOLink ( const ElementLink< PFOContainer > &  pfo)

add a charged PFO to the tau

Definition at line 822 of file TauJet_v3.cxx.

822  {
823 
824  chargedPFOAcc( *this ).push_back( pfo );
825  return;
826  }

◆ addClusterLink()

void xAOD::TauJet_v3::addClusterLink ( const ElementLink< IParticleContainer > &  tr)

add a cluster link to the tau

add a cluster to the tau

Definition at line 615 of file TauJet_v3.cxx.

615  {
616  clusterAcc( *this ).push_back(tr);
617  }

◆ addHadronicPFOLink()

void xAOD::TauJet_v3::addHadronicPFOLink ( const ElementLink< PFOContainer > &  pfo)

add a hadronic PFO to the tau

Definition at line 763 of file TauJet_v3.cxx.

763  {
764 
765  hadronicPFOAcc( *this ).push_back( pfo );
766  return;
767  }

◆ addNeutralPFOLink()

void xAOD::TauJet_v3::addNeutralPFOLink ( const ElementLink< PFOContainer > &  pfo)

add a neutral PFO to the tau

Definition at line 853 of file TauJet_v3.cxx.

853  {
854 
855  neutralPFOAcc( *this ).push_back( pfo );
856  return;
857  }

◆ addPi0Link()

void xAOD::TauJet_v3::addPi0Link ( const ElementLink< IParticleContainer > &  tr)

add a pi0 link to the tau

add a pi0 to the tau

Definition at line 649 of file TauJet_v3.cxx.

649  {
650  pi0Acc( *this ).push_back(tr);
651  }

◆ addPi0PFOLink()

void xAOD::TauJet_v3::addPi0PFOLink ( const ElementLink< PFOContainer > &  pfo)

add a pi0 PFO to the tau

Definition at line 884 of file TauJet_v3.cxx.

884  {
885 
886  pi0PFOAcc( *this ).push_back( pfo );
887  return;
888  }

◆ addProtoChargedPFOLink()

void xAOD::TauJet_v3::addProtoChargedPFOLink ( const ElementLink< PFOContainer > &  pfo)

add a cellbased_charged PFO to the tau

Definition at line 918 of file TauJet_v3.cxx.

918  {
919 
920  protoChargedPFOAcc( *this ).push_back( pfo );
921  return;
922  }

◆ addProtoNeutralPFOLink()

void xAOD::TauJet_v3::addProtoNeutralPFOLink ( const ElementLink< PFOContainer > &  pfo)

add a cellbased_neutral PFO to the tau

Definition at line 948 of file TauJet_v3.cxx.

948  {
949 
950  protoNeutralPFOAcc( *this ).push_back( pfo );
951  return;
952  }

◆ addProtoPi0PFOLink()

void xAOD::TauJet_v3::addProtoPi0PFOLink ( const ElementLink< PFOContainer > &  pfo)

add a cellbased_pi0 PFO to the tau

Definition at line 979 of file TauJet_v3.cxx.

979  {
980 
981  protoPi0PFOAcc( *this ).push_back( pfo );
982  return;
983  }

◆ addShotPFOLink()

void xAOD::TauJet_v3::addShotPFOLink ( const ElementLink< PFOContainer > &  pfo)

add a shot PFO to the tau

Definition at line 792 of file TauJet_v3.cxx.

792  {
793 
794  shotPFOAcc( *this ).push_back( pfo );
795  return;
796  }

◆ addTauTrackLink()

void xAOD::TauJet_v3::addTauTrackLink ( const ElementLink< TauTrackContainer > &  tr)

add a TauTrack to the tau

Definition at line 563 of file TauJet_v3.cxx.

563  {
564  tauTrackAcc( *this ).push_back(tr);
565  }

◆ allTauTrackLinks()

const TauJet_v3::TauTrackLinks_t & xAOD::TauJet_v3::allTauTrackLinks ( ) const

Definition at line 420 of file TauJet_v3.cxx.

420  {
421  return tauTrackAcc(*this);
422  }

◆ allTauTrackLinksNonConst()

TauJet_v3::TauTrackLinks_t & xAOD::TauJet_v3::allTauTrackLinksNonConst ( )

In order to sort track links.

Definition at line 446 of file TauJet_v3.cxx.

446  {
447  return tauTrackAcc(*this);
448  }

◆ allTracks()

std::vector< const TauTrack * > xAOD::TauJet_v3::allTracks ( ) const

Get the v<const pointer> to all tracks associated with this tau, regardless of classification.

Definition at line 514 of file TauJet_v3.cxx.

514  {
515  // std::vector<const TauTrack*> trks;
516  // for(const ElementLink< xAOD::TauTrackContainer > link : tauTrackAcc(*this) ){
517  // const TauTrack* trk = *link;
518  // trks.push_back(trk);
519  // }
520  // return trks;
522  return tracksWithMask( mask );
523  }

◆ auxdata() [1/4]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor<T, ALLOC>::reference_type SG::AuxElement::auxdata ( const std::string &  name)
inherited

Fetch an aux data variable, as a non-const reference.

Parameters
nameName 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.

◆ auxdata() [2/4]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor<T, ALLOC>::const_reference_type SG::AuxElement::auxdata ( const std::string &  name) const
inherited

Fetch an aux data variable, as a const reference.

Parameters
nameName 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.

◆ auxdata() [3/4]

template<class T >
XAOD_AUXDATA_DEPRECATED T& xAOD::IParticle::auxdata ( const std::string &  name,
const std::string &  clsname = "" 
)
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.

Parameters
nameName of the aux variable
clsnameThe name of the associated class. May be blank
Returns
A modifiable reference to the decoration

Definition at line 98 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.

99  {
100 
101  return SG::Accessor< T >(name, clsname)(*this);
102  }

◆ auxdata() [4/4]

template<class T >
XAOD_AUXDATA_DEPRECATED const T& xAOD::IParticle::auxdata ( const std::string &  name,
const std::string &  clsname = "" 
) const
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.

Parameters
nameName of the aux variable
clsnameThe name of the associated class. May be blank
Returns
A constant reference to the decoration

Definition at line 118 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.

119  {
120 
121  return SG::ConstAccessor< T >( name, clsname )( *this );
122  }

◆ auxdataConst() [1/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor<T, ALLOC>::const_reference_type SG::AuxElement::auxdataConst ( const std::string &  name) const
inherited

Fetch an aux data variable, as a const reference.

Parameters
nameName 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.

◆ auxdataConst() [2/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor<T, ALLOC>::const_reference_type SG::AuxElement::auxdataConst ( const std::string &  name,
const std::string &  clsname 
) const
inherited

Fetch an aux data variable, as a const reference.

Parameters
nameName of the aux variable.
clsnameThe 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.

◆ auxdecor() [1/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Decorator<T, ALLOC>::reference_type SG::AuxElement::auxdecor ( const std::string &  name) const
inherited

Fetch an aux decoration, as a non-const reference.

Parameters
nameName 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.

◆ auxdecor() [2/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Decorator<T, ALLOC>::reference_type SG::AuxElement::auxdecor ( const std::string &  name,
const std::string &  clsname 
) const
inherited

Fetch an aux decoration, as a non-const reference.

Parameters
nameName of the aux variable.
clsnameThe 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.

◆ calibratedCluster()

TauJet_v3::FourMom_t xAOD::TauJet_v3::calibratedCluster ( size_t  i,
xAOD::CaloCluster::State  state = xAOD::CaloCluster::State::CALIBRATED 
) const

Get TLV to a given cluster in calibrated state.

Definition at line 601 of file TauJet_v3.cxx.

601  {
602  const xAOD::IParticle* part = this->cluster(i);
603  if(!part) return FourMom_t();
604  const xAOD::CaloCluster* clus=dynamic_cast<const xAOD::CaloCluster*> (part);
605  if(!clus) return FourMom_t();
606  return clus->p4(state);
607  }

◆ charge()

float xAOD::TauJet_v3::charge ( ) const

◆ chargedPFO()

const PFO* xAOD::TauJet_v3::chargedPFO ( size_t  i) const

Get the pointer to a given charged PFO associated with this tau.

◆ chargedPFOLinks()

const PFOLinks_t& xAOD::TauJet_v3::chargedPFOLinks ( ) const

default pfos

◆ clearAux()

void SG::AuxElement::clearAux ( )
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.

536 {
537  if (!m_container) return;
538  if (!m_container->hasStore()) return;
540  throw SG::ExcConstAuxData ("clearAux", SG::null_auxid);
541 
543  for (SG::auxid_t auxid : m_container->getWritableAuxIDs()) {
544  r.clear (auxid, *container(), index(), 1);
545  }
546 }

◆ clearCache()

void SG::AuxElement::clearCache ( )
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.

320 {
321  if (container())
322  container()->clearCache();
323 }

◆ clearChargedPFOLinks()

void xAOD::TauJet_v3::clearChargedPFOLinks ( )

Remove all charged PFOs from the tau.

Definition at line 828 of file TauJet_v3.cxx.

828  {
829  chargedPFOAcc( *this ).clear();
830  return;
831  }

◆ clearClusterLinks()

void xAOD::TauJet_v3::clearClusterLinks ( )

Remove all clusters from the tau.

Definition at line 620 of file TauJet_v3.cxx.

620  {
621  clusterAcc( *this ).clear();
622  }

◆ clearDecorations()

bool SG::AuxElement::clearDecorations ( ) const
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.

386 {
387  if (havePrivateData())
388  return m_container->clearDecorations();
389  return false;
390 }

◆ clearHadronicPFOLinks()

void xAOD::TauJet_v3::clearHadronicPFOLinks ( )

Remove all hadronic PFOs from the tau.

Definition at line 769 of file TauJet_v3.cxx.

769  {
770  hadronicPFOAcc( *this ).clear();
771  return;
772  }

◆ clearNeutralPFOLinks()

void xAOD::TauJet_v3::clearNeutralPFOLinks ( )

Remove all neutral PFOs from the tau.

Definition at line 859 of file TauJet_v3.cxx.

859  {
860  neutralPFOAcc( *this ).clear();
861  return;
862  }

◆ clearPi0Links()

void xAOD::TauJet_v3::clearPi0Links ( )

Remove all pi0s from the tau.

Definition at line 654 of file TauJet_v3.cxx.

654  {
655  pi0Acc( *this ).clear();
656  }

◆ clearPi0PFOLinks()

void xAOD::TauJet_v3::clearPi0PFOLinks ( )

Remove all pi0 PFOs from the tau.

Definition at line 890 of file TauJet_v3.cxx.

890  {
891  pi0PFOAcc( *this ).clear();
892  return;
893  }

◆ clearProtoChargedPFOLinks()

void xAOD::TauJet_v3::clearProtoChargedPFOLinks ( )

Remove all cellbased_charged PFOs from the tau.

Definition at line 924 of file TauJet_v3.cxx.

924  {
925  protoChargedPFOAcc( *this ).clear();
926  return;
927  }

◆ clearProtoNeutralPFOLinks()

void xAOD::TauJet_v3::clearProtoNeutralPFOLinks ( )

Remove all cellbased_neutral PFOs from the tau.

Definition at line 954 of file TauJet_v3.cxx.

954  {
955  protoNeutralPFOAcc( *this ).clear();
956  return;
957  }

◆ clearProtoPi0PFOLinks()

void xAOD::TauJet_v3::clearProtoPi0PFOLinks ( )

Remove all cellbased_pi0 PFOs from the tau.

Definition at line 985 of file TauJet_v3.cxx.

985  {
986  protoPi0PFOAcc( *this ).clear();
987  return;
988  }

◆ clearShotPFOLinks()

void xAOD::TauJet_v3::clearShotPFOLinks ( )

Remove all shot PFOs from the tau.

Definition at line 798 of file TauJet_v3.cxx.

798  {
799  shotPFOAcc( *this ).clear();
800  return;
801  }

◆ clearTauTrackLinks()

void xAOD::TauJet_v3::clearTauTrackLinks ( )

Remove all tracks from the tau.

Definition at line 567 of file TauJet_v3.cxx.

567  {
568  tauTrackAcc( *this ).clear();
569  }

◆ cluster()

const IParticle* xAOD::TauJet_v3::cluster ( size_t  i) const

Get the pointer to a given cluster associated with this tau.

◆ clusterLinks()

const IParticleLinks_t& xAOD::TauJet_v3::clusterLinks ( ) const

◆ clusters()

std::vector< const IParticle * > xAOD::TauJet_v3::clusters ( ) const

Definition at line 585 of file TauJet_v3.cxx.

585  {
586  std::vector<const IParticle*> particleList;
587 
588  for (const auto& link : clusterAcc(*this)) {
589  if (!link) {
590  continue;
591  }
592  const IParticle* particle = *link;
593  particleList.push_back(particle);
594  }
595 
596  return particleList;
597  }

◆ container() [1/2]

SG::AuxVectorData* SG::AuxElement::container ( )
inherited

Return the container holding this element.

◆ container() [2/2]

const SG::AuxVectorData* SG::AuxElement::container ( ) const
inherited

Return the container holding this element.

◆ copyAux()

void SG::AuxElement::copyAux ( const ConstAuxElement other)
privateinherited

Copy aux data from another object.

Parameters
otherThe 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.

562 {
563  if (!m_container) return;
564  if (!m_container->hasStore()) return;
566  throw SG::ExcConstAuxData ("copyAux");
567 
568  const SG::AuxVectorData* ocont = other.container();
569 
570  if (!ocont || !ocont->hasStore()) {
571  this->clearAux();
572  return;
573  }
574 
575  size_t oindex = other.index();
576  SG::auxid_set_t other_ids = ocont->getAuxIDs();
577 
579 
580  SG::AuxVectorData& cont = *container();
581  for (SG::auxid_t auxid : other_ids) {
582  if (!r.isLinked (auxid)) {
583  r.copy (auxid, cont, index(), *ocont, oindex, 1);
584  }
585  }
586 
587  for (SG::auxid_t auxid : m_container->getWritableAuxIDs()) {
588  if (!other_ids.test (auxid)) {
589  r.clear (auxid, cont, index(), 1);
590  }
591  }
592 }

◆ detail() [1/4]

template<class T >
xAODTAU_return_type<T>::type xAOD::TauJet_v3::detail ( TauJetParameters::Detail  detail) const
inline

Definition at line 184 of file TauJet_v3.h.

185  {
186  T temp;
187  if (this->detail(detail,temp)) return temp;
188  else return 0;
189  }

◆ detail() [2/4]

bool xAOD::TauJet_v3::detail ( TauJetParameters::Detail  detail,
const IParticle *&  value 
) const

Definition at line 320 of file TauJet_v3.cxx.

320  {
321  // Get the detail accessor:
322  value=nullptr;
323  const Accessor< ElementLink<IParticleContainer> >* acc = xAODTau::detailsAccessorV3<ElementLink<IParticleContainer> >( detail );
324  if( ! acc ) return false;
325  if( ! acc->isAvailable( *this ) ) return false;
326 
327  // Retrieve the detail value:
328  ElementLink< IParticleContainer > link = ( *acc )( *this );
329  if( ! link.isValid() ) return false;
330  value = *link;
331  return true;
332  }

◆ detail() [3/4]

bool xAOD::TauJet_v3::detail ( TauJetParameters::Detail  detail,
float value 
) const

Definition at line 306 of file TauJet_v3.cxx.

306  {
307  // Get the detail accessor:
308  const Accessor< float >* acc = xAODTau::detailsAccessorV3<float>( detail );
309  if( ! acc ) return false;
310  if( ! acc->isAvailable( *this ) ) return false;
311 
312  // Retrieve the detail value:
313  value = ( *acc )( *this );
314  return true;
315  }

◆ detail() [4/4]

bool xAOD::TauJet_v3::detail ( TauJetParameters::Detail  detail,
int value 
) const

Set veto flag.

Parameters
flagflag to set
valuevalue to set Get veto flag
flagflag to check Get and set values of common details variables via enum

Definition at line 292 of file TauJet_v3.cxx.

292  {
293  // Get the detail accessor:
294  const Accessor< int >* acc = xAODTau::detailsAccessorV3<int>( detail );
295  if( ! acc ) return false;
296  if( ! acc->isAvailable( *this ) ) return false;
297 
298  // Retrieve the detail value:
299  value = ( *acc )( *this );
300  return true;
301  }

◆ discriminant()

double xAOD::TauJet_v3::discriminant ( TauJetParameters::TauID  discID) const

Get value of discriminant.

Parameters
discIDdiscriminant id requested

Definition at line 253 of file TauJet_v3.cxx.

253  {
254  // Get the discriminant accessor:
256  if( ! acc ) return -1111.0;
257 
258  // Retrieve the discriminant value:
259  return ( *acc )( *this );
260  }

◆ dump()

void xAOD::TauJet_v3::dump ( ) const

Definition at line 993 of file TauJet_v3.cxx.

993  {
994  /* keep these two lines to create the template methods. Otherwise they are optimzed away
995  * later: move these two lines into a dummy method, which nobody is calling
996  */
997  std::cout << this->detail<float>(xAOD::TauJetParameters::ipSigLeadTrk) << std::endl;
998  std::cout << this->detail<int>(xAOD::TauJetParameters::numTopoClusters) << std::endl;
999  }

◆ e()

double xAOD::TauJet_v3::e ( ) const
virtual

The total energy of the particle.

Implements xAOD::IParticle.

Definition at line 88 of file TauJet_v3.cxx.

88  {
89  return genvecP4().E();
90  }

◆ eta()

virtual double xAOD::TauJet_v3::eta ( ) const
virtual

The pseudorapidity ( \(\eta\)) of the particle.

Implements xAOD::IParticle.

◆ etaDetectorAxis()

double xAOD::TauJet_v3::etaDetectorAxis ( ) const

◆ etaFinalCalib()

double xAOD::TauJet_v3::etaFinalCalib ( ) const

◆ etaIntermediateAxis()

double xAOD::TauJet_v3::etaIntermediateAxis ( ) const

◆ etaJetSeed()

double xAOD::TauJet_v3::etaJetSeed ( ) const

◆ etaPanTauCellBased()

double xAOD::TauJet_v3::etaPanTauCellBased ( ) const

◆ etaPanTauCellBasedProto()

double xAOD::TauJet_v3::etaPanTauCellBasedProto ( ) const

◆ etaTauEnergyScale()

double xAOD::TauJet_v3::etaTauEnergyScale ( ) const

◆ etaTauEtaCalib()

double xAOD::TauJet_v3::etaTauEtaCalib ( ) const

◆ etaTrigCaloOnly()

double xAOD::TauJet_v3::etaTrigCaloOnly ( ) const

◆ genvecP4() [1/2]

TauJet_v3::GenVecFourMom_t xAOD::TauJet_v3::genvecP4 ( ) const

The full 4-momentum of the particle : internal taus type.

Definition at line 103 of file TauJet_v3.cxx.

103  {
104  return GenVecFourMom_t(pt(), eta(), phi(), m());
105  }

◆ genvecP4() [2/2]

TauJet_v3::GenVecFourMom_t xAOD::TauJet_v3::genvecP4 ( const TauJetParameters::TauCalibType  calib) const

Definition at line 145 of file TauJet_v3.cxx.

◆ getAuxIDs()

const SG::auxid_set_t & SG::AuxElement::getAuxIDs ( ) const
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.

336 {
337 #ifdef ATHCONTAINERS_R21_COMPAT
338  if (havePrivateData())
339  return m_container->getConstStore()->getAuxIDs();
340  if (container())
341  return container()->getAuxIDs();
342  static const SG::auxid_set_t null_set;
343  return null_set;
344 #else
346 #endif
347 }

◆ getConstStore()

const SG::IConstAuxStore * SG::AuxElement::getConstStore ( ) const
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.

285 {
286  if (havePrivateData()) {
287  return m_container->getConstStore();
288  }
289  return 0;
290 }

◆ getStore()

SG::IAuxStore * SG::AuxElement::getStore ( ) const
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.

300 {
301  if (havePrivateData()) {
302 #ifdef ATHCONTAINERS_R21_COMPAT
304 #else
305  SG::AuxVectorData* container_nc ATLAS_THREAD_SAFE = const_cast<SG::AuxVectorData*>(container());
306 #endif
307  return container_nc->getStore();
308  }
309  return 0;
310 }

◆ hadPrivateData()

bool SG::IAuxElement::hadPrivateData ( ) const
protectedinherited

True if this element had private data before it was added to its current container.

◆ hadronicPFO()

const PFO* xAOD::TauJet_v3::hadronicPFO ( size_t  i) const

Get the pointer to a given hadronic PFO associated with this tau.

◆ hadronicPFOLinks()

const PFOLinks_t& xAOD::TauJet_v3::hadronicPFOLinks ( ) const

◆ hasDiscriminant()

bool xAOD::TauJet_v3::hasDiscriminant ( TauJetParameters::TauID  discID) const

Check if class contains requested discriminant.

Parameters
discIDdiscriminant id requested

Definition at line 242 of file TauJet_v3.cxx.

243  {
244  // Get the discriminant accessor:
246  return acc != nullptr;
247  }

◆ hasNonConstStore()

bool SG::AuxElement::hasNonConstStore ( ) const
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.

369 {
370  if (havePrivateData())
371  return m_container->hasNonConstStore();
372  return false;
373 }

◆ hasStore()

bool SG::AuxElement::hasStore ( ) const
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.

356 {
357  if (havePrivateData())
358  return m_container->hasStore();
359  return false;
360 }

◆ havePrivateData()

bool SG::IAuxElement::havePrivateData ( ) const
protectedinherited

True if this element currently has private data.

◆ index() [1/2]

size_t SG::IAuxElement::index ( ) const
inherited

Return the index of this element within its container.

◆ index() [2/2]

size_t SG::IAuxElement::index
inherited

Return the index of this element within its container.

Inherited from IAuxElement.

◆ isAvailable()

template<class T >
XAOD_AUXDATA_DEPRECATED bool xAOD::IParticle::isAvailable ( const std::string &  name,
const std::string &  clsname = "" 
) const
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.

Parameters
nameName of the auxiliary variable
clsnameThe name of the associated class. May be blank
Returns
Whether the decoration exists or not

Definition at line 135 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.

136  {
137 
138  return SG::ConstAccessor< T >(name, clsname).isAvailable(*this);
139  }

◆ isAvailableWritable() [1/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED bool SG::AuxElement::isAvailableWritable ( const std::string &  name,
const std::string &  clsname = "" 
)
inherited

Check if an aux variable is available for writing.

Parameters
nameName of the aux variable.
clsnameThe 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.

◆ isAvailableWritable() [2/2]

template<class T >
XAOD_AUXDATA_DEPRECATED bool xAOD::IParticle::isAvailableWritable ( const std::string &  name,
const std::string &  clsname = "" 
) const
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.

Parameters
nameName of the auxiliary variable
clsnameThe name of the associated class. May be blank
Returns
Whether the decoration is possible to set

Definition at line 152 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.

153  {
154 
155  return SG::Accessor< T >(name, clsname).isAvailableWritable(*this);
156  }

◆ isAvailableWritableAsDecoration()

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED bool SG::AuxElement::isAvailableWritableAsDecoration ( const std::string &  name,
const std::string &  clsname = "" 
) const
inherited

Check if an aux variable is available for writing as a decoration.

Parameters
nameName of the aux variable.
clsnameThe 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.

◆ isTau()

bool xAOD::TauJet_v3::isTau ( TauJetParameters::IsTauFlag  flag) const

Get Flag for tau acceptance based on predefined arbitrary criteria.

Parameters
flagflag to check

Definition at line 273 of file TauJet_v3.cxx.

274  {
275  static const Accessor< uint32_t > acc( "isTauFlags" );
276  std::bitset<32> isTauFlags( acc( *this ) );
277  return isTauFlags[flag];
278  }

◆ jet()

const Jet* xAOD::TauJet_v3::jet ( ) const

◆ jetLink()

const JetLink_t& xAOD::TauJet_v3::jetLink ( ) const

◆ m()

virtual double xAOD::TauJet_v3::m ( ) const
virtual

The invariant mass of the particle.

Implements xAOD::IParticle.

◆ makePrivateStore() [1/3]

void SG::AuxElement::makePrivateStore ( )
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.

173 {
174  if (m_container) {
175  throw SG::ExcBadPrivateStore ("store already exists");
176  }
177 
181 }

◆ makePrivateStore() [2/3]

template<class U1 >
void SG::AuxElement::makePrivateStore ( const U1 &  other)
inherited

Create a new private store for this object and copy aux data.

Parameters
otherThe 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.

◆ makePrivateStore() [3/3]

template<class U1 >
void SG::AuxElement::makePrivateStore ( const U1 *  other)
inherited

Create a new private store for this object and copy aux data.

Parameters
otherThe 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.

◆ makePrivateStore1() [1/2]

void SG::AuxElement::makePrivateStore1 ( const AuxElement other)
privateinherited

Create a new private store for this object and copy aux data.

Parameters
otherThe 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.

522 {
524  if (other)
525  this->copyAux (*other);
526 }

◆ makePrivateStore1() [2/2]

void SG::AuxElement::makePrivateStore1 ( const void *  )
privateinherited

Create a new private store for this object and copy aux data.

Parameters
otherThe 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.

◆ mDetectorAxis()

double xAOD::TauJet_v3::mDetectorAxis ( ) const

◆ mFinalCalib()

double xAOD::TauJet_v3::mFinalCalib ( ) const

◆ mIntermediateAxis()

double xAOD::TauJet_v3::mIntermediateAxis ( ) const

◆ mJetSeed()

double xAOD::TauJet_v3::mJetSeed ( ) const

◆ mPanTauCellBased()

double xAOD::TauJet_v3::mPanTauCellBased ( ) const

◆ mPanTauCellBasedProto()

double xAOD::TauJet_v3::mPanTauCellBasedProto ( ) const

◆ mTauEnergyScale()

double xAOD::TauJet_v3::mTauEnergyScale ( ) const

◆ mTauEtaCalib()

double xAOD::TauJet_v3::mTauEtaCalib ( ) const

◆ mTrigCaloOnly()

double xAOD::TauJet_v3::mTrigCaloOnly ( ) const

◆ nAllTracks()

size_t xAOD::TauJet_v3::nAllTracks ( ) const

Definition at line 554 of file TauJet_v3.cxx.

554  {
555  // unsafe w.r.t. tau track thinning
556  //return tauTrackAcc( *this ).size();
557  // return the number of tracks with valid element link
559  return nTracksWithMask( mask );
560  }

◆ nChargedPFOs()

size_t xAOD::TauJet_v3::nChargedPFOs ( ) const

Get the number of charged PFO particles associated with this tau.

Definition at line 818 of file TauJet_v3.cxx.

818  {
819  return chargedPFOAcc( *this ).size();
820  }

◆ nClusters()

size_t xAOD::TauJet_v3::nClusters ( ) const

Definition at line 610 of file TauJet_v3.cxx.

610  {
611  return clusterAcc( *this ).size();
612  }

◆ neutralPFO()

const PFO* xAOD::TauJet_v3::neutralPFO ( size_t  i) const

Get the pointer to a given neutral PFO associated with this tau.

◆ neutralPFOLinks()

const PFOLinks_t& xAOD::TauJet_v3::neutralPFOLinks ( ) const

◆ nHadronicPFOs()

size_t xAOD::TauJet_v3::nHadronicPFOs ( ) const

Get the number of hadronic PFO particles associated with this tau.

Definition at line 759 of file TauJet_v3.cxx.

759  {
760  return hadronicPFOAcc( *this ).size();
761  }

◆ nNeutralPFOs()

size_t xAOD::TauJet_v3::nNeutralPFOs ( ) const

Get the number of neutral PFO particles associated with this tau.

Definition at line 849 of file TauJet_v3.cxx.

849  {
850  return neutralPFOAcc( *this ).size();
851  }

◆ noPrivateData()

bool SG::IAuxElement::noPrivateData ( ) const
protectedinherited

True if this element has no private data.

◆ nPi0PFOs()

size_t xAOD::TauJet_v3::nPi0PFOs ( ) const

Get the number of pi0 PFO particles associated with this tau.

Definition at line 880 of file TauJet_v3.cxx.

880  {
881  return pi0PFOAcc( *this ).size();
882  }

◆ nPi0s()

size_t xAOD::TauJet_v3::nPi0s ( ) const

Definition at line 644 of file TauJet_v3.cxx.

644  {
645  return pi0Acc( *this ).size();
646  }

◆ nProtoChargedPFOs()

size_t xAOD::TauJet_v3::nProtoChargedPFOs ( ) const

Get the number of cellbased_charged PFO particles associated with this tau.

Definition at line 914 of file TauJet_v3.cxx.

914  {
915  return protoChargedPFOAcc( *this ).size();
916  }

◆ nProtoNeutralPFOs()

size_t xAOD::TauJet_v3::nProtoNeutralPFOs ( ) const

Get the number of cellbased_neutral PFO particles associated with this tau.

Definition at line 944 of file TauJet_v3.cxx.

944  {
945  return protoNeutralPFOAcc( *this ).size();
946  }

◆ nProtoPi0PFOs()

size_t xAOD::TauJet_v3::nProtoPi0PFOs ( ) const

Get the number of cellbased_pi0 PFO particles associated with this tau.

Definition at line 975 of file TauJet_v3.cxx.

975  {
976  return protoPi0PFOAcc( *this ).size();
977  }

◆ nShotPFOs()

size_t xAOD::TauJet_v3::nShotPFOs ( ) const

Get the number of shot PFO particles associated with this tau.

Definition at line 788 of file TauJet_v3.cxx.

788  {
789  return shotPFOAcc( *this ).size();
790  }

◆ nTracks()

size_t xAOD::TauJet_v3::nTracks ( TauJetParameters::TauTrackFlag  flag = TauJetParameters::TauTrackFlag::classifiedCharged) const

Definition at line 526 of file TauJet_v3.cxx.

526  {
528  return nTracksWithMask(mask);
529  }

◆ nTracksCharged()

size_t xAOD::TauJet_v3::nTracksCharged ( ) const

Definition at line 532 of file TauJet_v3.cxx.

◆ nTracksIsolation()

size_t xAOD::TauJet_v3::nTracksIsolation ( ) const

Definition at line 536 of file TauJet_v3.cxx.

◆ nTracksWithMask()

size_t xAOD::TauJet_v3::nTracksWithMask ( unsigned int  classification) const

Definition at line 542 of file TauJet_v3.cxx.

542  {
543  size_t n(0);
544  for(const ElementLink< xAOD::TauTrackContainer >& link : tauTrackAcc(*this) ){
545  // protection against tau track thinning
546  if(!link.isValid()) continue;
547  const TauTrack* trk = *link;
548  if(trk->flagWithMask(flags)) n++;
549  }
550  return n;
551  }

◆ p4() [1/2]

TauJet_v3::FourMom_t xAOD::TauJet_v3::p4 ( ) const
virtual

The full 4-momentum of the particle.

Implements xAOD::IParticle.

Definition at line 97 of file TauJet_v3.cxx.

97  {
98  FourMom_t p4{};
99  p4.SetPtEtaPhiM( pt(), eta(), phi(),m());
100  return p4;
101  }

◆ p4() [2/2]

TauJet_v3::FourMom_t xAOD::TauJet_v3::p4 ( const TauJetParameters::TauCalibType  calib) const
virtual

Definition at line 107 of file TauJet_v3.cxx.

107  {
108  FourMom_t p4;
109 
110  switch(calib) {
112  p4.SetPtEtaPhiM( ptJetSeed(), etaJetSeed(), phiJetSeed(), mJetSeed());
113  break;
116  break;
119  break;
122  break;
124  p4.SetPtEtaPhiM( ptTauEtaCalib(), etaTauEtaCalib(), phiTauEtaCalib(), mTauEtaCalib());
125  break;
128  break;
131  break;
134  break;
136  p4.SetPtEtaPhiM( ptFinalCalib(), etaFinalCalib(), phiFinalCalib(), mFinalCalib());
137  break;
138  default:
139  p4.SetPtEtaPhiM( pt(), eta(), phi(), m());
140  }
141 
142  return p4;
143  }

◆ panTauDetail() [1/3]

template<class T >
xAODTAU_return_type<T>::type xAOD::TauJet_v3::panTauDetail ( TauJetParameters::PanTauDetails  panTauDetail) const
inline

Definition at line 199 of file TauJet_v3.h.

200  {
201  T temp;
202  if (this->panTauDetail(panTauDetail,temp)) return temp;
203  else return 0;
204  }

◆ panTauDetail() [2/3]

bool xAOD::TauJet_v3::panTauDetail ( TauJetParameters::PanTauDetails  panTauDetail,
float value 
) const

Definition at line 381 of file TauJet_v3.cxx.

381  {
382  // Get the panTauDetail accessor:
383  const Accessor< float >* acc = xAODTau::panTauDetailsAccessorV3<float>( panTauDetail );
384  if( ! acc ) return false;
385  if( ! acc->isAvailable( *this ) ) return false;
386 
387  // Retrieve the panTauDetail value:
388  value = ( *acc )( *this );
389  return true;
390  }

◆ panTauDetail() [3/3]

bool xAOD::TauJet_v3::panTauDetail ( TauJetParameters::PanTauDetails  panTauDetail,
int value 
) const

Get and set values of pantau details variables via enum.

Definition at line 367 of file TauJet_v3.cxx.

367  {
368  // Get the panTauDetail accessor:
369  const Accessor< int >* acc = xAODTau::panTauDetailsAccessorV3<int>( panTauDetail );
370  if( ! acc ) return false;
371  if( ! acc->isAvailable( *this ) ) return false;
372 
373  // Retrieve the panTauDetail value:
374  value = ( *acc )( *this );
375  return true;
376  }

◆ phi()

virtual double xAOD::TauJet_v3::phi ( ) const
virtual

The azimuthal angle ( \(\phi\)) of the particle.

Implements xAOD::IParticle.

◆ phiDetectorAxis()

double xAOD::TauJet_v3::phiDetectorAxis ( ) const

◆ phiFinalCalib()

double xAOD::TauJet_v3::phiFinalCalib ( ) const

◆ phiIntermediateAxis()

double xAOD::TauJet_v3::phiIntermediateAxis ( ) const

◆ phiJetSeed()

double xAOD::TauJet_v3::phiJetSeed ( ) const

◆ phiPanTauCellBased()

double xAOD::TauJet_v3::phiPanTauCellBased ( ) const

◆ phiPanTauCellBasedProto()

double xAOD::TauJet_v3::phiPanTauCellBasedProto ( ) const

◆ phiTauEnergyScale()

double xAOD::TauJet_v3::phiTauEnergyScale ( ) const

◆ phiTauEtaCalib()

double xAOD::TauJet_v3::phiTauEtaCalib ( ) const

◆ phiTrigCaloOnly()

double xAOD::TauJet_v3::phiTrigCaloOnly ( ) const

◆ pi0()

const IParticle* xAOD::TauJet_v3::pi0 ( size_t  i) const

Get the pointer to a given pi0 associated with this tau.

◆ pi0ConeDR()

float xAOD::TauJet_v3::pi0ConeDR ( ) const

◆ pi0Links()

const IParticleLinks_t& xAOD::TauJet_v3::pi0Links ( ) const

◆ pi0PFO()

const PFO* xAOD::TauJet_v3::pi0PFO ( size_t  i) const

Get the pointer to a given pi0 PFO associated with this tau.

◆ pi0PFOLinks()

const PFOLinks_t& xAOD::TauJet_v3::pi0PFOLinks ( ) const

◆ protoChargedPFO()

const PFO* xAOD::TauJet_v3::protoChargedPFO ( size_t  i) const

Get the pointer to a given cellbased_charged PFO associated with this tau.

◆ protoChargedPFOLinks()

const PFOLinks_t& xAOD::TauJet_v3::protoChargedPFOLinks ( ) const

cellbased pfos

◆ protoNeutralPFO()

const PFO* xAOD::TauJet_v3::protoNeutralPFO ( size_t  i) const

Get the pointer to a given cellbased_neutral PFO associated with this tau.

◆ protoNeutralPFOLinks()

const PFOLinks_t& xAOD::TauJet_v3::protoNeutralPFOLinks ( ) const

◆ protoPi0PFO()

const PFO* xAOD::TauJet_v3::protoPi0PFO ( size_t  i) const

Get the pointer to a given cellbased_pi0 PFO associated with this tau.

◆ protoPi0PFOLinks()

const PFOLinks_t& xAOD::TauJet_v3::protoPi0PFOLinks ( ) const

◆ pt()

virtual double xAOD::TauJet_v3::pt ( ) const
virtual

The transverse momentum ( \(p_T\)) of the particle.

Implements xAOD::IParticle.

◆ ptDetectorAxis()

double xAOD::TauJet_v3::ptDetectorAxis ( ) const

◆ ptFinalCalib()

double xAOD::TauJet_v3::ptFinalCalib ( ) const

◆ ptIntermediateAxis()

double xAOD::TauJet_v3::ptIntermediateAxis ( ) const

◆ ptJetSeed()

double xAOD::TauJet_v3::ptJetSeed ( ) const

◆ ptPanTauCellBased()

double xAOD::TauJet_v3::ptPanTauCellBased ( ) const

◆ ptPanTauCellBasedProto()

double xAOD::TauJet_v3::ptPanTauCellBasedProto ( ) const

◆ ptTauEnergyScale()

double xAOD::TauJet_v3::ptTauEnergyScale ( ) const

◆ ptTauEtaCalib()

double xAOD::TauJet_v3::ptTauEtaCalib ( ) const

◆ ptTrigCaloOnly()

double xAOD::TauJet_v3::ptTrigCaloOnly ( ) const

◆ rapidity()

double xAOD::TauJet_v3::rapidity ( ) const
virtual

The true rapidity (y) of the particle.

Implements xAOD::IParticle.

Definition at line 93 of file TauJet_v3.cxx.

93  {
94  return genvecP4().Rapidity();
95  }

◆ releasePrivateStore()

void SG::AuxElement::releasePrivateStore ( )
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.

191 {
192  if (hadPrivateData()) {
193  // We had a private store, but it was released because this object
194  // was added to a container. Just forget about it.
196  return;
197  }
198 
199  if (!havePrivateData() ||
200  !m_container ||
201  typeid(*m_container) != typeid(AuxElementPrivateData))
202  {
203  throw SG::ExcBadPrivateStore ("no private store exists");
204  }
205 
208  delete m_container;
209  m_container = 0;
210 }

◆ releasePrivateStoreForDtor()

void SG::AuxElement::releasePrivateStoreForDtor ( )
privateinherited

Out-of-line portion of destructor.

Delete a private store if we have one.

Definition at line 398 of file AuxElement.cxx.

399 {
400 #ifdef ATHCONTAINERS_R21_COMPAT
401  if (havePrivateData()) {
402  delete m_container;
403  }
404 #else
406 #endif
407 }

◆ ROIWord()

unsigned int xAOD::TauJet_v3::ROIWord ( ) const

the ROIWord, in case TauJet is used in EF trigger

◆ secondaryVertex()

const Vertex* xAOD::TauJet_v3::secondaryVertex ( ) const

◆ secondaryVertexLink()

const VertexLink_t& xAOD::TauJet_v3::secondaryVertexLink ( ) const

◆ setAllTauTrackLinks()

void xAOD::TauJet_v3::setAllTauTrackLinks ( const TauTrackLinks_t tauTracks)

Definition at line 424 of file TauJet_v3.cxx.

424  {
425  tauTrackAcc(*this) = links;
426  return;
427  }

◆ setCharge()

void xAOD::TauJet_v3::setCharge ( float  )

◆ setChargedPFOLinks()

void xAOD::TauJet_v3::setChargedPFOLinks ( const PFOLinks_t chargedPFOs)

◆ setClusterLinks()

void xAOD::TauJet_v3::setClusterLinks ( const IParticleLinks_t clusters)

◆ setConstStore()

void SG::AuxElement::setConstStore ( const SG::IConstAuxStore store)
inherited

Synonym for setStore with IConstAuxStore.

Parameters
storeThe new store.

◆ setDetail() [1/3]

void xAOD::TauJet_v3::setDetail ( TauJetParameters::Detail  detail,
const IParticle value,
const IParticleContainer cont = 0 
)

Definition at line 351 of file TauJet_v3.cxx.

351  {
352  if(value==nullptr){
354  ( *( xAODTau::detailsAccessorV3<ElementLink < IParticleContainer > >( detail ) ) )( *this ) = lParticleLink;
355  }
356  else{
357  if(!cont) cont=static_cast<const IParticleContainer*> (value->container());
358  ElementLink < IParticleContainer > lParticleLink(value, *cont);
359  ( *( xAODTau::detailsAccessorV3<ElementLink < IParticleContainer > >( detail ) ) )( *this ) = lParticleLink;
360  }
361  }

◆ setDetail() [2/3]

void xAOD::TauJet_v3::setDetail ( TauJetParameters::Detail  detail,
float  value 
)

Definition at line 344 of file TauJet_v3.cxx.

344  {
345  ( *( xAODTau::detailsAccessorV3<float>( detail ) ) )( *this ) = value;
346  }

◆ setDetail() [3/3]

void xAOD::TauJet_v3::setDetail ( TauJetParameters::Detail  detail,
int  value 
)

Definition at line 337 of file TauJet_v3.cxx.

337  {
338  ( *( xAODTau::detailsAccessorV3<int>( detail ) ) )( *this ) = value;
339  }

◆ setDiscriminant()

void xAOD::TauJet_v3::setDiscriminant ( TauJetParameters::TauID  discID,
double  disc 
)

Set value of discriminant.

Parameters
discIDdiscriminant id requested
discdiscriminant value

Definition at line 265 of file TauJet_v3.cxx.

265  {
266  ( *( xAODTau::discriminantAccessorV3( discriminant ) ) )( *this ) = value;
267  return;
268  }

◆ setHadPrivateData()

void SG::IAuxElement::setHadPrivateData ( )
privateinherited

Record that this element used to have private data.

◆ setHadronicPFOLinks()

void xAOD::TauJet_v3::setHadronicPFOLinks ( const PFOLinks_t hadronicPFOs)

◆ setHavePrivateData()

void SG::IAuxElement::setHavePrivateData ( )
privateinherited

Record that this element currently has private data.

◆ setIndex()

void SG::AuxElement::setIndex ( size_t  index,
SG::AuxVectorData container 
)
privateinherited

Set the index/container for this element.

Parameters
indexThe index of this object within the container.
containerThe 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.

◆ setIndexPrivate()

bool SG::AuxElement::setIndexPrivate ( size_t  index,
SG::AuxVectorData container 
)
privateinherited

Set the index/container for this element.

Parameters
indexThe index of this object within the container.
containerThe 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.

463 {
464 #ifdef ATHCONTAINERS_R21_COMPAT
465  if (hadPrivateData()) {
466  // We had a private store, but it was released because we were added
467  // to a container.
468 
469  if (container == 0) {
470  // We're being moved out of the container. Make a new private
471  // store, copy the data, and switch to it.
472  auto privateData = new SG::AuxElementPrivateData;
473  AuxElement to (privateData, 0);
474  to.copyAux (*this);
477  m_container = privateData;
478  return true;
479  }
480  }
481  else if (havePrivateData() &&
482  typeid(*m_container) == typeid(AuxElementPrivateData))
483  {
484  // We currently have a private store.
485 
486  if (container != 0 && container != m_container) {
487  // We're being added to a container.
488  // Aux data has already been copied.
489  // Release private store.
492  delete m_container;
494  return false;
495  }
496  }
497  else {
498  // We have a standalone store.
499  throw SG::ExcBadPrivateStore ("Attempt to add/remove a standalone object "
500  "from a container.");
501  }
502 
505  return false;
506 #else
508 #endif
509 }

◆ setIsTau()

void xAOD::TauJet_v3::setIsTau ( TauJetParameters::IsTauFlag  flag,
bool  value 
)

Set Flag for tau acceptance based on predefined arbitrary criteria.

Parameters
flagflag to set
valuevalue to set

Definition at line 280 of file TauJet_v3.cxx.

281  {
282  static const Accessor< uint32_t > acc( "isTauFlags" );
283  std::bitset<32> isTauFlags( acc( *this ) );
284  isTauFlags[flag] = value;
285  acc( *this ) = isTauFlags.to_ulong();
286  }

◆ setJet()

void xAOD::TauJet_v3::setJet ( const xAOD::JetContainer cont,
const xAOD::Jet jet 
)

Definition at line 683 of file TauJet_v3.cxx.

683  {
684  if( jetAcc( *this ).isValid() )
685  jetAcc( *this ).reset();
686  jetAcc( *this ).toContainedElement( *cont, jet );
687  }

◆ setJetLink()

void xAOD::TauJet_v3::setJetLink ( const JetLink_t jetLink)

◆ setNeutralPFOLinks()

void xAOD::TauJet_v3::setNeutralPFOLinks ( const PFOLinks_t neutralPFOs)

◆ setNonConstStore()

void SG::AuxElement::setNonConstStore ( SG::IAuxStore store)
inherited

Synonym for setStore with IAuxStore.

Parameters
storeThe new store.

◆ setNoPrivateData()

void SG::IAuxElement::setNoPrivateData ( )
privateinherited

Record that this element does not have private data.

◆ setP4() [1/2]

bool xAOD::TauJet_v3::setP4 ( const TauJetParameters::TauCalibType  calib,
double  pt,
double  eta,
double  phi,
double  m 
)

Definition at line 183 of file TauJet_v3.cxx.

183  {
184  TauJetCalibTypeMapper_v1 typeMapper;
185  std::string calibString = "";
186  bool result = typeMapper.getValue(calib, calibString);
187  if (result) {
188  Accessor< float > accTauPtCalib( "pt"+calibString );
189  Accessor< float > accTauEtaCalib( "eta"+calibString );
190  Accessor< float > accTauPhiCalib( "phi"+calibString );
191  Accessor< float > accTauMCalib( "m"+calibString );
192  accTauPtCalib( *this )=pt;
193  accTauEtaCalib( *this )=eta;
194  accTauPhiCalib( *this )=phi;
195  accTauMCalib( *this )=m;
196  return true;
197  }
198  else {
199  return false;
200  }
201 
202  // TauJetCalibTypeMapper_v3 typeMapper;
203  // std::string calibStringPt, calibStringEta, calibStringPhi, calibStringM;
204  // bool result = typeMapper.getValue(calib, calibStringPt, calibStringEta, calibStringPhi, calibStringM);
205  // if (result) {
206  // if(calibStringPt.size()) {
207  // Accessor< float > accTauPtCalib( calibStringPt );
208  // accTauPtCalib( *this )=pt;
209  // }
210  // if(calibStringEta.size()) {
211  // Accessor< float > accTauEtaCalib( calibStringEta );
212  // accTauEtaCalib( *this )=eta;
213  // }
214  // if(calibStringPhi.size()) {
215  // Accessor< float > accTauPhiCalib( calibStringPhi );
216  // accTauPhiCalib( *this )=phi;
217  // }
218  // if(calibStringM.size()) {
219  // Accessor< float > accTauMCalib( calibStringM );
220  // accTauMCalib( *this )=m;
221  // }
222  // return true;
223  // }
224  // else {
225  // return false;
226  // }
227 
228 
229  }

◆ setP4() [2/2]

void xAOD::TauJet_v3::setP4 ( double  pt,
double  eta,
double  phi,
double  m 
)

Set methods for IParticle values.

Definition at line 172 of file TauJet_v3.cxx.

172  {
173  static const Accessor< float > acc1( "pt" );
174  static const Accessor< float > acc2( "eta" );
175  static const Accessor< float > acc3( "phi" );
176  static const Accessor< float > acc4( "m" );
177  acc1( *this )=pt;
178  acc2( *this )=eta;
179  acc3( *this )=phi;
180  acc4( *this )=m;
181  }

◆ setPanTauDetail() [1/2]

void xAOD::TauJet_v3::setPanTauDetail ( TauJetParameters::PanTauDetails  panTauDetail,
float  value 
)

Definition at line 402 of file TauJet_v3.cxx.

402  {
403  ( *( xAODTau::panTauDetailsAccessorV3<float>( panTauDetail ) ) )( *this ) = value;
404  }

◆ setPanTauDetail() [2/2]

void xAOD::TauJet_v3::setPanTauDetail ( TauJetParameters::PanTauDetails  panTauDetail,
int  value 
)

Definition at line 395 of file TauJet_v3.cxx.

395  {
396  ( *( xAODTau::panTauDetailsAccessorV3<int>( panTauDetail ) ) )( *this ) = value;
397  }

◆ setPi0ConeDR()

void xAOD::TauJet_v3::setPi0ConeDR ( float  )

◆ setPi0Links()

void xAOD::TauJet_v3::setPi0Links ( const IParticleLinks_t pi0s)

◆ setPi0PFOLinks()

void xAOD::TauJet_v3::setPi0PFOLinks ( const PFOLinks_t pi0PFOs)

◆ setProtoChargedPFOLinks()

void xAOD::TauJet_v3::setProtoChargedPFOLinks ( const PFOLinks_t protoChargedPFOs)

◆ setProtoNeutralPFOLinks()

void xAOD::TauJet_v3::setProtoNeutralPFOLinks ( const PFOLinks_t protoNeutralPFOs)

◆ setProtoPi0PFOLinks()

void xAOD::TauJet_v3::setProtoPi0PFOLinks ( const PFOLinks_t protoPi0PFOs)

◆ setROIWord()

void xAOD::TauJet_v3::setROIWord ( unsigned int  )

◆ setSecondaryVertex()

void xAOD::TauJet_v3::setSecondaryVertex ( const xAOD::VertexContainer cont,
const xAOD::Vertex vertex 
)

Definition at line 735 of file TauJet_v3.cxx.

735  {
736  if( secondaryVertexAcc( *this ).isValid() )
737  secondaryVertexAcc( *this ).reset();
738  secondaryVertexAcc( *this ).toContainedElement( *cont, vertex );
739  }

◆ setSecondaryVertexLink()

void xAOD::TauJet_v3::setSecondaryVertexLink ( const VertexLink_t vertexLink)

◆ setShotPFOLinks()

void xAOD::TauJet_v3::setShotPFOLinks ( const PFOLinks_t shotPFOs)

◆ setStore() [1/3]

void SG::AuxElement::setStore ( const DataLink< SG::IConstAuxStore > &  store)
inherited

Set the store associated with this object.

Parameters
storeThe 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.

Parameters
storeLink to the new store.

Definition at line 249 of file AuxElement.cxx.

250 {
251  AuxElementStandaloneData* data = setStore1 (store);
252  if (store)
253  data->setStore (store);
254 }

◆ setStore() [2/3]

void SG::AuxElement::setStore ( const SG::IConstAuxStore store)
inherited

Set the store associated with this object.

Parameters
storeThe 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.

222 {
223  AuxElementStandaloneData* data = setStore1 (store);
224  if (store)
225  data->setStore (store);
226 }

◆ setStore() [3/3]

void SG::AuxElement::setStore ( SG::IAuxStore store)
inherited

Set the store associated with this object.

Parameters
storeThe 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.

238 {
239  AuxElementStandaloneData* data = setStore1 (store);
240  if (store)
241  data->setStore (store);
242 }

◆ setStore1()

AuxElementStandaloneData * SG::AuxElement::setStore1 ( const SG::IConstAuxStore store)
privateinherited

Set the store associated with this object.

Parameters
storeThe new store.

Helper for setStore. Creates the AuxElementStandaloneData object if needed and returns it.

Parameters
storeThe new store.

Helper for setStore. Creates the @x AuxElementStandaloneData object if needed and returns it.

Definition at line 418 of file AuxElement.cxx.

419 {
420  if (store) {
421  // Want this object be standalone.
422  if (!m_container) {
423  // Not in a container (and no private store). Make a new object.
424  AuxElementStandaloneData* data = new AuxElementStandaloneData;
426  m_container = data;
427  return data;
428  }
429  if (usingStandaloneStore()) {
430  // Standalone --- return existing object.
431  return static_cast<AuxElementStandaloneData*> (container());
432  }
433  // Otherwise, it's an error.
434  throw ExcBadPrivateStore ("Attempt to attach a standalone store to an "
435  "object in a container or with a private store.");
436  }
437 
438  else {
439  // Getting rid of a standalone store.
440  if (usingStandaloneStore()) {
442  delete m_container;
443  m_container = 0;
444  }
445  else if (m_container != 0)
446  throw ExcBadPrivateStore ("Attempt to remove a standalone store from an "
447  "object in a container or with a private store.");
448  return 0;
449  }
450 }

◆ setTrackFilterProngs()

void xAOD::TauJet_v3::setTrackFilterProngs ( int  )

◆ setTrackFilterQuality()

void xAOD::TauJet_v3::setTrackFilterQuality ( int  )

◆ setVertex()

void xAOD::TauJet_v3::setVertex ( const xAOD::VertexContainer cont,
const xAOD::Vertex vertex 
)

Definition at line 707 of file TauJet_v3.cxx.

707  {
708  if( vertexAcc( *this ).isValid() )
709  vertexAcc( *this ).reset();
710  vertexAcc( *this ).toContainedElement( *cont, vertex );
711  }

◆ setVertexLink()

void xAOD::TauJet_v3::setVertexLink ( const VertexLink_t vertexLink)

◆ shotPFO()

const PFO* xAOD::TauJet_v3::shotPFO ( size_t  i) const

Get the pointer to a given shot PFO associated with this tau.

◆ shotPFOLinks()

const PFOLinks_t& xAOD::TauJet_v3::shotPFOLinks ( ) const

◆ tauTrackLinks()

const TauJet_v3::TauTrackLinks_t xAOD::TauJet_v3::tauTrackLinks ( TauJetParameters::TauTrackFlag  flag = TauJetParameters::TauTrackFlag::classifiedCharged) const

Definition at line 429 of file TauJet_v3.cxx.

429  {
431  return tauTrackLinksWithMask(mask);
432  }

◆ tauTrackLinksWithMask()

const TauJet_v3::TauTrackLinks_t xAOD::TauJet_v3::tauTrackLinksWithMask ( unsigned int  mask) const

Definition at line 434 of file TauJet_v3.cxx.

434  {
436  for(const ElementLink< xAOD::TauTrackContainer >& link : tauTrackAcc(*this) ){
437  // protection against tau track thinning
438  if(!link.isValid()) continue;
439  if( (*link)->flagWithMask(mask))
440  links.push_back(link);
441  }
442  return links;
443  }

◆ track()

const TauTrack * xAOD::TauJet_v3::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 trackNonConst*‍/.

Definition at line 450 of file TauJet_v3.cxx.

450  {
452  return trackWithMask(i, mask, container_index);
453  }

◆ trackFilterProngs()

int xAOD::TauJet_v3::trackFilterProngs ( ) const

◆ trackFilterQuality()

int xAOD::TauJet_v3::trackFilterQuality ( ) const

◆ trackIndices()

bool SG::AuxElement::trackIndices ( ) const
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.

◆ trackNonConst()

TauTrack * xAOD::TauJet_v3::trackNonConst ( size_t  i,
TauJetParameters::TauTrackFlag  flag = TauJetParameters::TauTrackFlag::classifiedCharged 
)

Definition at line 476 of file TauJet_v3.cxx.

476  {
477  int container_index=-1;
478  const TauTrack* c_trk=track(i,flag, &container_index);
479  if(c_trk==nullptr || container_index<0) return nullptr;
480  ElementLink< xAOD::TauTrackContainer > link = tauTrackAcc(*this).at(0);//we don't care about this specific link, just the container
481  xAOD::TauTrackContainer* tauTrackContainer = link.getDataNonConstPtr();
482  TauTrack* trk=tauTrackContainer->at(container_index);
483  if(trk!=c_trk) std::cout << "Did not properly retrieve non-const tauTrack" << std::endl;
484  return trk;
485  // for( xAOD::TauTrack* trk : *tauTrackContainer){
486  // if(trk==c_trk) return trk;
487  // }
488  //return 0;
489  }

◆ tracks()

std::vector< const TauTrack * > xAOD::TauJet_v3::tracks ( TauJetParameters::TauTrackFlag  flag = TauJetParameters::TauTrackFlag::classifiedCharged) const

Get the v<const pointer> to a given tauTrack collection associated with this tau.

Definition at line 493 of file TauJet_v3.cxx.

493  {
495  return tracksWithMask( mask );
496  }

◆ tracksWithMask()

std::vector< const TauTrack * > xAOD::TauJet_v3::tracksWithMask ( unsigned int  mask) const

Get the v<const pointer> to a given tauTrack collection associated with this tau.

Definition at line 499 of file TauJet_v3.cxx.

499  {
500  std::vector<const TauTrack*> trks;
501  for(const ElementLink< xAOD::TauTrackContainer >& link : tauTrackAcc(*this) ){
502  // protection against tau track thinning
503  if(!link.isValid()) continue;
504  const TauTrack* trk = *link;
505  if(trk->flagWithMask(mask)){
506  trks.push_back(trk);
507  }
508  }
509  return trks;
510  }

◆ trackWithMask()

const TauTrack * xAOD::TauJet_v3::trackWithMask ( size_t  i,
unsigned int  mask,
int container_index = 0 
) const

Definition at line 455 of file TauJet_v3.cxx.

455  {
456  uint tracks_pass_mask=0;
457 
458  for(const ElementLink< xAOD::TauTrackContainer >& link : tauTrackAcc(*this) ){
459  // protection against tau track thinning
460  if(!link.isValid()) continue;
461  const TauTrack* trk = *link;
462  if(trk->flagWithMask(mask)){
463  if(tracks_pass_mask==i) {
464  if(container_index) *container_index=link.index();
465  return trk;
466  }
467  else tracks_pass_mask++;
468  }
469  }
470  return nullptr;
471 
472  }

◆ type()

Type::ObjectType xAOD::TauJet_v3::type ( ) const
virtual

The type of the object as a simple enumeration.

Implements xAOD::IParticle.

Definition at line 232 of file TauJet_v3.cxx.

232  {
233  return Type::Tau;
234  }

◆ usingPrivateStore()

bool SG::AuxElement::usingPrivateStore ( ) const
inherited

Test to see if this object is currently using a private store.

Definition at line 260 of file AuxElement.cxx.

261 {
262  return havePrivateData() &&
263  typeid(*m_container) == typeid(AuxElementPrivateData);
264 }

◆ usingStandaloneStore()

bool SG::AuxElement::usingStandaloneStore ( ) const
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.

271 {
272  return havePrivateData() &&
273  typeid(*m_container) == typeid(AuxElementStandaloneData);
274 }

◆ vertex()

const Vertex* xAOD::TauJet_v3::vertex ( ) const

◆ vertexedClusters()

std::vector< xAOD::CaloVertexedTopoCluster > xAOD::TauJet_v3::vertexedClusters ( ) const

Definition at line 626 of file TauJet_v3.cxx.

626  {
627  return vertexedClustersAcc(*this);
628  }

◆ vertexLink()

const VertexLink_t& xAOD::TauJet_v3::vertexLink ( ) const

Member Data Documentation

◆ m_container

const SG::AuxVectorData* SG::ConstAuxElement::m_container
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.

◆ m_index

size_t SG::IAuxElement::m_index
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.

◆ m_privateStoreState

PrivateStoreState SG::IAuxElement::m_privateStoreState
privateinherited

Definition at line 137 of file IAuxElement.h.

◆ supportsThinning

constexpr bool SG::AuxElement::supportsThinning = true
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.


The documentation for this class was generated from the following files:
LArG4FSStartPointFilter.part
part
Definition: LArG4FSStartPointFilter.py:21
python.CaloBCIDAvgAlgConfig.acc3
def acc3
Definition: CaloBCIDAvgAlgConfig.py:69
xAOD::TauJet_v3::phiDetectorAxis
double phiDetectorAxis() const
SG::AuxVectorData::getConstStore
const SG::IConstAuxStore * getConstStore() const
Return the current store, as a const interface.
xAOD::TauJet_v3::etaTrigCaloOnly
double etaTrigCaloOnly() const
xAOD::TauJet_v3::etaTauEtaCalib
double etaTauEtaCalib() const
beamspotman.r
def r
Definition: beamspotman.py:676
store
StoreGateSvc * store
Definition: fbtTestBasics.cxx:71
SG::ConstAuxElement::getAuxIDs
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items for this object.
Definition: AuxElement.cxx:152
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
xAOD::TauJet_v3::mTauEnergyScale
double mTauEnergyScale() const
xAOD::name
name
Definition: TriggerMenuJson_v1.cxx:29
xAOD::TauJet_v3::mDetectorAxis
double mDetectorAxis() const
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
xAOD::TauJet_v3::etaTauEnergyScale
double etaTauEnergyScale() const
get_generator_info.result
result
Definition: get_generator_info.py:21
xAOD::TauJetParameters::PanTauCellBasedProto
@ PanTauCellBasedProto
Definition: TauDefs.h:343
xAOD::TauJet_v3::mPanTauCellBased
double mPanTauCellBased() const
xAOD::TauJetParameters::IntermediateAxis
@ IntermediateAxis
Definition: TauDefs.h:338
xAOD::TauJet_v3::nTracksWithMask
size_t nTracksWithMask(unsigned int classification) const
Definition: TauJet_v3.cxx:542
xAOD::TauJet_v3::trackWithMask
const TauTrack * trackWithMask(size_t i, unsigned int mask, int *container_index=0) const
Definition: TauJet_v3.cxx:455
xAOD::TauJet_v3::discriminant
double discriminant(TauJetParameters::TauID discID) const
Get value of discriminant.
Definition: TauJet_v3.cxx:253
xAOD::TauJet_v3::phiIntermediateAxis
double phiIntermediateAxis() const
xAOD::TauJet_v3::eta
virtual double eta() const
The pseudorapidity ( ) of the particle.
SG::AuxTypeRegistry::instance
static AuxTypeRegistry & instance()
Return the singleton registry instance.
Definition: AuxTypeRegistry.cxx:640
SG::Accessor< T >
xAOD::TauJet_v3::etaDetectorAxis
double etaDetectorAxis() const
xAOD::TauJet_v3::etaIntermediateAxis
double etaIntermediateAxis() const
SG::AuxVectorData::getWritableAuxIDs
const SG::auxid_set_t & getWritableAuxIDs() const
Return a set of identifiers for writable data items in this store.
Definition: AuxVectorData.cxx:231
xAOD::TauJet_v3::phiFinalCalib
double phiFinalCalib() const
index
Definition: index.py:1
AthenaPoolTestRead.flags
flags
Definition: AthenaPoolTestRead.py:8
SG::AuxElement::copyAux
void copyAux(const ConstAuxElement &other)
Copy aux data from another object.
Definition: AuxElement.cxx:561
xAOD::TauJet_v3::mPanTauCellBasedProto
double mPanTauCellBasedProto() const
SG::ConstAuxElement::m_container
const SG::AuxVectorData * m_container
The container of which this object is an element.
Definition: AuxElement.h:324
xAOD::TauJet_v3::tracksWithMask
std::vector< const TauTrack * > tracksWithMask(unsigned int mask) const
Get the v<const pointer> to a given tauTrack collection associated with this tau.
Definition: TauJet_v3.cxx:499
xAOD::TauJet_v3::m
virtual double m() const
The invariant mass of the particle.
xAOD::TauJet_v3::etaFinalCalib
double etaFinalCalib() const
xAOD::TauJet_v3::nTracks
size_t nTracks(TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged) const
Definition: TauJet_v3.cxx:526
xAOD::TauJetParameters::classifiedCharged
@ classifiedCharged
Definition: TauDefs.h:406
SG::AuxVectorData::hasNonConstStore
bool hasNonConstStore() const
Return true if this object has an associated non-const store.
xAOD::TauJet_v3::cluster
const IParticle * cluster(size_t i) const
Get the pointer to a given cluster associated with this tau.
athena.value
value
Definition: athena.py:124
SG::AuxElement::usingStandaloneStore
bool usingStandaloneStore() const
Test to see if this object is currently using a standalone store.
Definition: AuxElement.cxx:270
xAOD::TauJetParameters::TauEtaCalib
@ TauEtaCalib
Definition: TauDefs.h:340
detail
Definition: extract_histogram_tag.cxx:14
SG::ConstAuxElement::setIndexPrivate
bool setIndexPrivate(size_t index, const SG::AuxVectorData *container)
Set the index/container for this element.
Definition: AuxElement.cxx:96
xAOD::TauJet_v3::panTauDetail
bool panTauDetail(TauJetParameters::PanTauDetails panTauDetail, int &value) const
Get and set values of pantau details variables via enum.
Definition: TauJet_v3.cxx:367
SG::ConstAccessor< T >
xAOD::xAODTau::discriminantAccessorV3
const SG::AuxElement::Accessor< float > * discriminantAccessorV3(xAOD::TauJetParameters::TauID discriminant)
Helper function for managing accessors to id input and output variables defined as enums in TauDefs....
xAOD::TauJet_v3::ptJetSeed
double ptJetSeed() const
SG::ExcConstAuxData
Exception — Non-const operation performed on const aux data.
Definition: Control/AthContainers/AthContainers/exceptions.h:77
SG::IAuxElement::setNoPrivateData
void setNoPrivateData()
Record that this element does not have private data.
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD::TauJet_v3::ptDetectorAxis
double ptDetectorAxis() const
xAOD::TauJet_v3::phiTrigCaloOnly
double phiTrigCaloOnly() const
xAOD::TauJet_v3::genvecP4
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal taus type.
Definition: TauJet_v3.cxx:103
xAOD::TauJetParameters::ipSigLeadTrk
@ ipSigLeadTrk
Definition: TauDefs.h:160
python.utils.AtlRunQueryLookup.mask
string mask
Definition: AtlRunQueryLookup.py:460
xAOD::TauJetParameters::JetSeed
@ JetSeed
Definition: TauDefs.h:336
SG::AuxVectorData::getAuxIDs
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items in store associated with this object.
Definition: AuxVectorData.cxx:203
xAOD::TauJet_v3::mTauEtaCalib
double mTauEtaCalib() const
xAOD::IParticle::FourMom_t
TLorentzVector FourMom_t
Definition of the 4-momentum type.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:69
SG::AuxTypeRegistry
Handle mappings between names and auxid_t.
Definition: AuxTypeRegistry.h:61
xAOD::TauJet_v3::phiJetSeed
double phiJetSeed() const
SG::IAuxElement::index
size_t index() const
Return the index of this element within its container.
xAOD::TauJet_v3::pt
virtual double pt() const
The transverse momentum ( ) of the particle.
SG::IAuxElement::setHadPrivateData
void setHadPrivateData()
Record that this element used to have private data.
uint
unsigned int uint
Definition: LArOFPhaseFill.cxx:20
xAOD::TauJet_v3::phi
virtual double phi() const
The azimuthal angle ( ) of the particle.
SG::auxid_t
size_t auxid_t
Identifier for a particular aux data item.
Definition: AuxTypes.h:27
xAOD::TauJet_v3::tauTrackLinksWithMask
const TauTrackLinks_t tauTrackLinksWithMask(unsigned int) const
Definition: TauJet_v3.cxx:434
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
xAOD::TauJet_v3::etaPanTauCellBased
double etaPanTauCellBased() const
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
xAOD::TauJet_v3::ptTauEnergyScale
double ptTauEnergyScale() const
lumiFormat.i
int i
Definition: lumiFormat.py:85
beamspotman.n
n
Definition: beamspotman.py:731
SG::AuxElement::clearAux
void clearAux()
Clear all aux data associated with this element.
Definition: AuxElement.cxx:535
SG::AuxElement::AuxElement
AuxElement()
Default constructor.
DMTest::links
links
Definition: CLinks_v1.cxx:22
python.CaloBCIDAvgAlgConfig.acc1
def acc1
Definition: CaloBCIDAvgAlgConfig.py:49
SG::IAuxElement::havePrivateData
bool havePrivateData() const
True if this element currently has private data.
xAOD::TauJet_v3::etaJetSeed
double etaJetSeed() const
master.flag
bool flag
Definition: master.py:29
SG::AuxVectorData::getStore
SG::IAuxStore * getStore()
Return the current store, as a non-const interface.
python.CaloBCIDAvgAlgConfig.acc2
def acc2
Definition: CaloBCIDAvgAlgConfig.py:59
xAOD::TauJet_v3::track
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...
Definition: TauJet_v3.cxx:450
AthenaPoolTestRead.acc
acc
Definition: AthenaPoolTestRead.py:16
SG::AuxElementPrivateData
Internal data container for private store.
Definition: AuxElement.cxx:45
xAOD::TauJet_v3::ptTauEtaCalib
double ptTauEtaCalib() const
xAOD::TauJet_v3::etaPanTauCellBasedProto
double etaPanTauCellBasedProto() const
xAOD::TauJet_v3::ptTrigCaloOnly
double ptTrigCaloOnly() const
xAOD::TauJetParameters::PanTauCellBased
@ PanTauCellBased
Definition: TauDefs.h:344
SG::AuxElement::index
size_t index() const
Return the index of this element within its container.
xAOD::TauJetParameters::numTopoClusters
@ numTopoClusters
get number of topocluster constituents of jet associated to tau candidate
Definition: TauDefs.h:173
SG::AuxVectorData::hasStore
bool hasStore() const
Return true if this object has an associated store.
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
python.LArRecUtilsConfig.acc4
def acc4
Definition: LArRecUtilsConfig.py:196
xAOD::TauJet_v3::phiTauEnergyScale
double phiTauEnergyScale() const
xAOD::TauJet_v3::mJetSeed
double mJetSeed() const
xAOD::TauJet_v3::GenVecFourMom_t
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for taus.
Definition: TauJet_v3.h:69
xAOD::TauJetParameters::TauEnergyScale
@ TauEnergyScale
Definition: TauDefs.h:339
xAOD::TauJet_v3::mTrigCaloOnly
double mTrigCaloOnly() const
xAOD::TauJetParameters::classifiedIsolation
@ classifiedIsolation
Definition: TauDefs.h:407
xAOD::CaloCluster_v1::p4
virtual FourMom_t p4() const
The full 4-momentum of the particle.
Definition: CaloCluster_v1.cxx:465
xAOD::TauJet_v3::detail
bool detail(TauJetParameters::Detail detail, int &value) const
Set veto flag.
Definition: TauJet_v3.cxx:292
xAOD::TauJet_v3::phiPanTauCellBased
double phiPanTauCellBased() const
SG::IAuxElement::setHavePrivateData
void setHavePrivateData()
Record that this element currently has private data.
SG::AuxVectorData::clearCache
void clearCache()
Clear the cached aux data pointers.
xAOD::TauTrack_v1::TrackFlagType
uint16_t TrackFlagType
Definition: TauTrack_v1.h:61
SG::AuxElement::makePrivateStore
void makePrivateStore()
Create a new (empty) private store for this object.
Definition: AuxElement.cxx:172
xAOD::TauJetParameters::TrigCaloOnly
@ TrigCaloOnly
Definition: TauDefs.h:345
xAOD::TauTrack
TauTrack_v1 TauTrack
Definition of the current version.
Definition: TauTrack.h:16
CxxUtils::to
CONT to(RANGE &&r)
Definition: ranges.h:39
PlotSFuncertainty.calib
calib
Definition: PlotSFuncertainty.py:110
xAOD::TauJet_v3::phiTauEtaCalib
double phiTauEtaCalib() const
xAOD::IParticle::IParticle
IParticle()=default
SG::IAuxElement::setIndex
void setIndex(size_t index)
Set the index of this element within its container.
xAOD::TauJet_v3::mIntermediateAxis
double mIntermediateAxis() const
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
SG::AuxVectorData::clearDecorations
bool clearDecorations() const
Clear all decorations.
Definition: AuxVectorData.cxx:653
xAOD::TauJet_v3::TauTrackLinks_t
std::vector< ElementLink< xAOD::TauTrackContainer > > TauTrackLinks_t
Definition: TauJet_v3.h:242
SG::ExcBadPrivateStore
Exception — Bad use of private store.
Definition: Control/AthContainers/AthContainers/exceptions.h:113
xAOD::TauJet_v3::vertex
const Vertex * vertex() const
xAOD::TauJet_v3::p4
virtual FourMom_t p4() const
The full 4-momentum of the particle.
Definition: TauJet_v3.cxx:97
SG::Accessor::isAvailableWritable
bool isAvailableWritable(ELT &e) const
Test to see if this variable exists in the store and is writable.
xAODType::Tau
@ Tau
The object is a tau (jet)
Definition: ObjectType.h:49
SG::auxid_set_t
A set of aux data identifiers.
Definition: AuxTypes.h:47
SG::ConstAccessor::isAvailable
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
SG::AuxVectorData
Manage lookup of vectors of auxiliary data.
Definition: AuxVectorData.h:168
ATLAS_THREAD_SAFE
#define ATLAS_THREAD_SAFE
Definition: checker_macros.h:211
SG::ConstAuxElement::releasePrivateStoreForDtor
void releasePrivateStoreForDtor()
Out-of-line portion of destructor.
Definition: AuxElement.cxx:79
DataVector::at
const T * at(size_type n) const
Access an element, as an rvalue.
SG::AuxElement::container
const SG::AuxVectorData * container() const
Return the container holding this element.
xAOD::TauJetParameters::DetectorAxis
@ DetectorAxis
Definition: TauDefs.h:337
xAOD::TauJet_v3::ptIntermediateAxis
double ptIntermediateAxis() const
xAOD::TauJetParameters::FinalCalib
@ FinalCalib
Definition: TauDefs.h:346
IParticle
Definition: Event/EventKernel/EventKernel/IParticle.h:43
xAOD::TauJet_v3::ptPanTauCellBased
double ptPanTauCellBased() const
xAOD::TauJet_v3::mFinalCalib
double mFinalCalib() const
xAOD::TauJet_v3::ptFinalCalib
double ptFinalCalib() const
SG::IAuxElement::hadPrivateData
bool hadPrivateData() const
True if this element had private data before it was added to its current container.
SG::IConstAuxStore::getAuxIDs
virtual const SG::auxid_set_t & getAuxIDs() const =0
Return a set of identifiers for existing data items in this store.
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35
SG::AuxElement::setStore1
AuxElementStandaloneData * setStore1(const SG::IConstAuxStore *store)
Set the store associated with this object.
Definition: AuxElement.cxx:418
xAOD::TauJet_v3::phiPanTauCellBasedProto
double phiPanTauCellBasedProto() const
xAOD::TauJet_v3::ptPanTauCellBasedProto
double ptPanTauCellBasedProto() const