Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
PanTau::PanTauSeed Class Reference

#include <PanTauSeed.h>

Inheritance diagram for PanTau::PanTauSeed:
Collaboration diagram for PanTau::PanTauSeed:

Public Types

enum  TechnicalQuality {
  t_NoValidInputTau, t_NoConstituentsAtAll, t_NoSelectedConstituents, t_BadPtValue,
  t_GoodSeed, t_nTechnicalQualities
}
 
enum  DecayModeExtended {
  t_ExtMode100 = 1, t_ExtMode10X = 2, t_ExtMode110 = 3, t_ExtMode11X = 4,
  t_ExtMode1XX = 5, t_ExtMode300 = 6, t_ExtMode30X = 7, t_ExtMode3XX = 8,
  t_ExtModeOther = 9, t_ExtModeNotSet = 10, t_ExtModeError = 11, t_ExtMode11shots = 12
}
 
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

 PanTauSeed ()
 
 ~PanTauSeed ()
 
 PanTauSeed (const PanTauSeed &seed)
 
PanTauSeedoperator= (const PanTauSeed &seed)
 
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...
 
void assign (const AuxElement &other, bool warnUnlocked=false)
 Assignment. 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, bool warnUnlocked=false)
 Create a new private store for this object and copy aux data. More...
 
template<class U1 >
void makePrivateStore (const U1 *other, bool warnUnlocked=false)
 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...
 
const SG::auxid_set_tgetDecorIDs () const
 Return a set of identifiers for decorations 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 Member Functions

static int getDecayMode (int nCharged, int nNeutral)
 
static std::string getDecayModeName (int decayMode)
 

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 *other, bool warnUnlocked)
 Create a new private store for this object and copy aux data. More...
 
void makePrivateStore1 (const AuxElement *other, bool warnUnlocked)
 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, bool warnUnlocked=false)
 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

These are already virtual due to IParticle

typedef IParticle::FourMom_t FourMom_t
 Definition of the 4-momentum type. More...
 
FourMom_t m_p4
 4-momentum object More...
 
bool m_IsValidSeed
 
std::vector< int > m_TechnicalQuality
 
std::string m_NameInputAlgorithm
 
xAOD::TauJetm_TauJet
 
std::vector< std::vector< PanTau::TauConstituent * > > m_Constituents
 
TLorentzVector m_ProtoMomentum_Wide
 
TLorentzVector m_ProtoMomentum_Core
 
TLorentzVector m_FinalMomentum
 
std::vector< TLorentzVector > m_TypeHLVs
 
std::vector< PanTau::TauConstituent * > m_ConstituentsList_Core
 
std::vector< PanTau::TauConstituent * > m_ConstituentsList_Wide
 
std::vector< PanTau::TauConstituent * > m_ConstituentsList_AllSelected
 
std::vector< PanTau::TauConstituent * > m_ConstituentsList_All
 
int m_DecayMode_BySubAlg
 
int m_DecayMode_ByPanTau
 
bool m_decayModeHack_CellBasedShots
 
PanTau::TauFeaturem_Features
 flag to indicate whether the decay mode by cellbased was
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 m () const
 The invariant mass of the particle. More...
 
virtual double e () const
 The total energy 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 as a TLoretzVector. More...
 
virtual xAOD::Type::ObjectType type () const
 The type of the object as a simple enumeration, remains pure virtual in e/gamma. More...
 
void setP4 (float pt, float eta, float phi, float m)
 set the 4-vec More...
 
void setPt (float pt)
 set the Pt More...
 
void setEta (float eta)
 set the eta More...
 
void setPhi (float phi)
 set the phi More...
 
void setM (float m)
 set the Mass More...
 
 PanTauSeed (const std::string &nameInputAlgorithm, xAOD::TauJet *tauJet, const std::vector< PanTau::TauConstituent * > &tauConstituents, const std::vector< PanTau::TauConstituent * > &tauConstituentsWithUnselected, const std::vector< int > &pantauSeed_TechnicalQuality)
 Main constructor to be used. More...
 
 PanTauSeed (const std::string &nameInputAlgorithm, xAOD::TauJet *tauJet, const std::vector< int > &pantauSeed_TechnicalQuality)
 Constructor for invalid seeds. More...
 
const std::string & getNameInputAlgorithm () const
 
const xAOD::TauJetgetTauJet () const
 
xAOD::TauJetgetTauJet ()
 
const PanTau::TauFeaturegetFeatures () const
 
PanTau::TauFeaturegetFeatures ()
 
TLorentzVector getProtoMomentumCore () const
 
TLorentzVector getProtoMomentumWide () const
 
bool getIsValidSeed () const
 
const std::vector< int > & getTechnicalQuality () const
 
bool isOfTechnicalQuality (int pantauSeed_TechnicalQuality) const
 
const std::vector< std::vector< PanTau::TauConstituent * > > & getConstituents () const
 
const std::vector< PanTau::TauConstituent * > & getConstituentsAsList_Core () const
 
const std::vector< PanTau::TauConstituent * > & getConstituentsAsList_Wide () const
 
const std::vector< PanTau::TauConstituent * > & getConstituentsAsList_All () const
 
std::vector< PanTau::TauConstituent * > getConstituentsOfType (int tauConstituent_Type, bool &foundit)
 
int getNumberOfConstituentsOfType (int tauConstituent_Type)
 
TLorentzVector getSubsystemHLV (int tauConstituent_Type, bool &foundit)
 
TLorentzVector getFinalMomentum () const
 
int getDecayModeBySubAlg () const
 
int getDecayModeByPanTau () const
 
void setFinalMomentum (TLorentzVector finalMom)
 
void setDecayModeByPanTau (int decayModePanTau)
 
void setModeHackedByCellBased (bool f)
 
bool getModeHackedByCellBased ()
 

Detailed Description

Definition at line 24 of file PanTauSeed.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 572 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 569 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 575 of file AuxElement.h.

◆ FourMom_t

typedef IParticle::FourMom_t PanTau::PanTauSeed::FourMom_t

Definition of the 4-momentum type.

Definition at line 90 of file PanTauSeed.h.

◆ TypelessConstAccessor

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

Definition at line 566 of file AuxElement.h.

Member Enumeration Documentation

◆ DecayModeExtended

Enumerator
t_ExtMode100 
t_ExtMode10X 
t_ExtMode110 
t_ExtMode11X 
t_ExtMode1XX 
t_ExtMode300 
t_ExtMode30X 
t_ExtMode3XX 
t_ExtModeOther 
t_ExtModeNotSet 
t_ExtModeError 
t_ExtMode11shots 

Definition at line 43 of file PanTauSeed.h.

43  {
44  t_ExtMode100 = 1,
45  t_ExtMode10X = 2,
46  t_ExtMode110 = 3,
47  t_ExtMode11X = 4,
48  t_ExtMode1XX = 5,
49  t_ExtMode300 = 6,
50  t_ExtMode30X = 7,
51  t_ExtMode3XX = 8,
52  t_ExtModeOther = 9,
53  t_ExtModeNotSet = 10,
54  t_ExtModeError = 11,
55  t_ExtMode11shots = 12 // for taus which have been classified as 1p1n but have >2 shots
56  };

◆ 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  };

◆ TechnicalQuality

Enumerator
t_NoValidInputTau 
t_NoConstituentsAtAll 
t_NoSelectedConstituents 
t_BadPtValue 
t_GoodSeed 
t_nTechnicalQualities 

Definition at line 33 of file PanTauSeed.h.

33  {
34  t_NoValidInputTau, //use this when there's no substructure info available
35  t_NoConstituentsAtAll, //use when no constituent was found
36  t_NoSelectedConstituents, //use when no constituent passes the cuts (all below pT, none in cone...)
37  t_BadPtValue, //for cases when pT is not in the range of any BDT PT bin
38  t_GoodSeed,
40  };

Constructor & Destructor Documentation

◆ PanTauSeed() [1/4]

PanTau::PanTauSeed::PanTauSeed ( )

Definition at line 10 of file PanTauSeed.cxx.

11  :
12  IParticle(),
13  m_p4(),
14  m_IsValidSeed(false),
16  m_NameInputAlgorithm("InvalidAlg"),
17  m_TauJet(nullptr),
19  m_TypeHLVs(),
27  m_Features(nullptr)
28 {
29 }

◆ ~PanTauSeed()

PanTau::PanTauSeed::~PanTauSeed ( )

Definition at line 33 of file PanTauSeed.cxx.

34 {
35  if(m_Features != nullptr) delete m_Features;
36 
37  //delete the constituents
38  for(unsigned int iConst=0; iConst<m_ConstituentsList_All.size(); iConst++) {
40  if(curConst != nullptr) delete curConst;
41  }
42  m_ConstituentsList_All.clear();
46 
47  // also clear the constituent matrix
48  // dont delete the entries as they point to the (at this point already deleted) constituents in m_ConstituentsList
49  for(unsigned int iType=0; iType<m_Constituents.size(); iType++) {
50  std::vector<PanTau::TauConstituent*> curConsts = m_Constituents[iType];
51  curConsts.clear();
52  }
53  m_Constituents.clear();
54 }

◆ PanTauSeed() [2/4]

PanTau::PanTauSeed::PanTauSeed ( const PanTauSeed seed)

Definition at line 58 of file PanTauSeed.cxx.

59  :
60  IParticle(rhs),
61  m_p4(rhs.m_p4),
62  m_IsValidSeed(rhs.m_IsValidSeed),
63  m_TechnicalQuality(rhs.m_TechnicalQuality),
64  m_NameInputAlgorithm(rhs.m_NameInputAlgorithm),
65  m_TauJet(rhs.m_TauJet),
66  m_Constituents(rhs.m_Constituents),
67  m_TypeHLVs(rhs.m_TypeHLVs),
68  m_ConstituentsList_Core(rhs.m_ConstituentsList_Core),
69  m_ConstituentsList_Wide(rhs.m_ConstituentsList_Wide),
70  m_ConstituentsList_AllSelected(rhs.m_ConstituentsList_AllSelected),
71  m_ConstituentsList_All(rhs.m_ConstituentsList_All),
72  m_DecayMode_BySubAlg(rhs.m_DecayMode_BySubAlg),
73  m_DecayMode_ByPanTau(rhs.m_DecayMode_ByPanTau),
74  m_decayModeHack_CellBasedShots(rhs.m_decayModeHack_CellBasedShots),
75 
76  m_Features( (rhs.m_Features ? new PanTau::TauFeature(*rhs.m_Features) : nullptr) )
77 {
78 }

◆ PanTauSeed() [3/4]

PanTau::PanTauSeed::PanTauSeed ( const std::string &  nameInputAlgorithm,
xAOD::TauJet tauJet,
const std::vector< PanTau::TauConstituent * > &  tauConstituents,
const std::vector< PanTau::TauConstituent * > &  tauConstituentsWithUnselected,
const std::vector< int > &  pantauSeed_TechnicalQuality 
)

Main constructor to be used.

Definition at line 194 of file PanTauSeed.cxx.

200  :
201  IParticle()
202 {
203 
204  // *This may be a bug!!! change to Set*Pt*EtaPhiM?? ***
205  // PanTau::SetP4EEtaPhiM( m_p4, tauJet->ptIntermediateAxis() * cosh( tauJet->etaIntermediateAxis() ), tauJet->etaIntermediateAxis(), tauJet->phiIntermediateAxis(), tauJet->mIntermediateAxis() );
206  m_p4.SetPtEtaPhiM(tauJet->ptIntermediateAxis(), tauJet->etaIntermediateAxis(), tauJet->phiIntermediateAxis(), tauJet->mIntermediateAxis() );
207  m_IsValidSeed = true;
208  m_TechnicalQuality = pantauSeed_TechnicalQuality;
209  m_NameInputAlgorithm = nameInputAlgorithm;
210  m_TauJet = tauJet;
213 
214  //save a copy of the flat constituents list and also split into core/wide constituents
215  m_ConstituentsList_All = tauConstituentsAll;
216  m_ConstituentsList_AllSelected = tauConstituents; //all types are in here, this is the complete list
217  for(unsigned int iConst=0; iConst<tauConstituents.size(); iConst++) {
218  bool isCoreChrg = tauConstituents[iConst]->isOfType(PanTau::TauConstituent::t_Charged);
219  bool isCoreNeut = tauConstituents[iConst]->isOfType(PanTau::TauConstituent::t_Neutral);
220  bool isCorePi0 = tauConstituents[iConst]->isOfType(PanTau::TauConstituent::t_Pi0Neut);
221 
222  if(isCoreChrg || isCoreNeut || isCorePi0) m_ConstituentsList_Core.push_back(tauConstituents[iConst]); // Core only contains the currently used objects
223 
224  bool isWideChrg = tauConstituents[iConst]->isOfType(PanTau::TauConstituent::t_OutChrg);
225  bool isWideNeut = tauConstituents[iConst]->isOfType(PanTau::TauConstituent::t_OutNeut);
226  if(isWideChrg || isWideNeut) m_ConstituentsList_Wide.push_back(tauConstituents[iConst]); // Wide contains objectsin 0.2-0.4
227  }
228 
229  //create the constituents lists
230  for(int iType=0; iType<PanTau::TauConstituent::t_nTypes; iType++) {
231  m_Constituents.emplace_back(0 );
232  m_TypeHLVs.emplace_back(0,0,0,0 );
233  }
234 
235  //assign tauConstituents
236  TLorentzVector hlv_SumConstituents_Wide = TLorentzVector(0,0,0,0);
237  TLorentzVector hlv_SumConstituents_Core = TLorentzVector(0,0,0,0);
238 
239  int nCharged = 0;
240  int nPi0Neut = 0;
241 
242  for(unsigned int iConst=0; iConst<tauConstituents.size(); iConst++) {
243  PanTau::TauConstituent* curConst = tauConstituents.at(iConst);
244  std::vector<int> curTypes = curConst->getTypeFlags();
245 
246  for(unsigned int curType=0; curType<curTypes.size(); curType++) {
247  if(curTypes.at(curType) == 0) continue;
248 
249  if(curType == (int)PanTau::TauConstituent::t_Charged) nCharged++;
250  if(curType == (int)PanTau::TauConstituent::t_Pi0Neut) nPi0Neut++;
251 
252  if((unsigned int)curType >= m_Constituents.size()) {
253  continue;
254  }
255 
256  //fill into sorted lists
257  m_Constituents.at(curType).push_back(curConst);
258  m_TypeHLVs.at(curType) += curConst->p4();
259 
260  }//end loop over types
261 
262  //add each constituent to wide proto momentum
263  hlv_SumConstituents_Wide += curConst->p4();
264 
265  //add all charged and neutral constituents (i.e. from core region) to core proto momentum
266  if(curConst->isOfType(PanTau::TauConstituent::t_Charged)) {hlv_SumConstituents_Core += curConst->p4(); continue;}
267  if(curConst->isOfType(PanTau::TauConstituent::t_Pi0Neut)) {hlv_SumConstituents_Core += curConst->p4(); continue;}
268 
269  }//end loop over constituents
270 
271  m_ProtoMomentum_Wide = hlv_SumConstituents_Wide;
272  m_ProtoMomentum_Core = hlv_SumConstituents_Core;
273 
274  //set mode as obtained from subalg
277 
280  }
281 
282 }

◆ PanTauSeed() [4/4]

PanTau::PanTauSeed::PanTauSeed ( const std::string &  nameInputAlgorithm,
xAOD::TauJet tauJet,
const std::vector< int > &  pantauSeed_TechnicalQuality 
)

Constructor for invalid seeds.

Definition at line 286 of file PanTauSeed.cxx.

289  :
290  IParticle(),
291  m_Constituents(),
292  m_TypeHLVs(),
298 {
299  // *This may be a bug!!! change to Set*Pt*EtaPhiM?? ***
300  // PanTau::SetP4EEtaPhiM( m_p4, tauJet->ptIntermediateAxis() * cosh( tauJet->etaIntermediateAxis() ), tauJet->etaIntermediateAxis(), tauJet->phiIntermediateAxis(), tauJet->mIntermediateAxis() );
301  m_p4.SetPtEtaPhiM(tauJet->ptIntermediateAxis(), tauJet->etaIntermediateAxis(), tauJet->phiIntermediateAxis(), tauJet->mIntermediateAxis() );
302  m_IsValidSeed = false;
303  m_TechnicalQuality = pantauSeed_TechnicalQuality;
304  m_NameInputAlgorithm = nameInputAlgorithm;
305  m_TauJet = tauJet;
307 }

Member Function Documentation

◆ assign()

void SG::AuxElement::assign ( const AuxElement other,
bool  warnUnlocked = false 
)
inherited

Assignment.

Parameters
otherThe object from which we're assigning.
warnUnlockedIf true, then warn when we skip unlocked decorations.

We don't copy container/index, as assignment doesn't change where this object is. However, if we have aux data, then we copy aux data if we're copying from an object that also has it; otherwise, if we're copying from an object with no aux data, then we clear ours.

◆ 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.

◆ 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 580 of file AuxElement.cxx.

581 {
582  if (!m_container) return;
583  if (!m_container->hasStore()) return;
585  throw SG::ExcConstAuxData ("clearAux", SG::null_auxid);
586 
588  for (SG::auxid_t auxid : m_container->getWritableAuxIDs()) {
589  r.clear (auxid, *container(), index(), 1);
590  }
591 }

◆ 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 339 of file AuxElement.cxx.

340 {
341  if (container())
342  container()->clearCache();
343 }

◆ 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 428 of file AuxElement.cxx.

429 {
430  if (havePrivateData())
431  return m_container->clearDecorations();
432  return false;
433 }

◆ 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,
bool  warnUnlocked = false 
)
privateinherited

Copy aux data from another object.

Parameters
otherThe object from which to copy.
warnUnlockedIf true, then warn when we skip unlocked decorations.

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 607 of file AuxElement.cxx.

609 {
610  if (!m_container) return;
611  if (!m_container->hasStore()) return;
613  throw SG::ExcConstAuxData ("copyAux");
614 
615  const SG::AuxVectorData* ocont = other.container();
616 
617  if (!ocont || !ocont->hasStore()) {
618  this->clearAux();
619  return;
620  }
621 
622  size_t oindex = other.index();
623  SG::auxid_set_t other_ids = ocont->getAuxIDs();
624 #ifndef XAOD_STANDALONE
625  SG::auxid_set_t other_decors = ocont->getDecorIDs();
626 #endif
627 
629 
630  SG::AuxVectorData& cont = *container();
631  for (SG::auxid_t auxid : other_ids) {
632 #ifndef XAOD_STANDALONE
633  if (other_decors.test (auxid)) {
634  // Don't copy decorations --- another thread may be modifying them.
635  other_ids.reset (auxid);
636  // Warn if we skip a decoration (except for mcEventWeights,
637  // for which this is expected).
638  if (warnUnlocked && r.getName(auxid) != "mcEventWeights") {
639  std::ostringstream ss;
640  ss << "skipped unlocked decoration " << r.getName(auxid)
641  << " (" << auxid << ")";
642  ATHCONTAINERS_WARNING("copyAux", ss.str());
643  }
644  }
645  else
646 #endif
647  if (!r.isLinked (auxid)) {
648  r.copy (auxid, cont, index(), *ocont, oindex, 1);
649  }
650  }
651 
652  for (SG::auxid_t auxid : m_container->getWritableAuxIDs()) {
653  if (!other_ids.test (auxid)) {
654  r.clear (auxid, cont, index(), 1);
655  }
656  }
657 }

◆ e()

double PanTau::PanTauSeed::e ( ) const
virtual

The total energy of the particle.

Implements xAOD::IParticle.

Definition at line 133 of file PanTauSeed.cxx.

133  {
134  return p4().E();
135 }

◆ eta()

double PanTau::PanTauSeed::eta ( ) const
virtual

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

Implements xAOD::IParticle.

Definition at line 115 of file PanTauSeed.cxx.

115  {
116  // static Accessor<float > acc( "eta" );
117  // return acc( *this );
118  return p4().Eta();
119 }

◆ 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 355 of file AuxElement.cxx.

356 {
357 #ifdef ATHCONTAINERS_R21_COMPAT
358  if (havePrivateData())
359  return m_container->getConstStore()->getAuxIDs();
360  if (container())
361  return container()->getAuxIDs();
362  static const SG::auxid_set_t null_set;
363  return null_set;
364 #else
366 #endif
367 }

◆ getConstituents()

const std::vector< std::vector< PanTau::TauConstituent * > > & PanTau::PanTauSeed::getConstituents ( ) const
inline

Definition at line 234 of file PanTauSeed.h.

234 {return m_Constituents;}

◆ getConstituentsAsList_All()

const std::vector< PanTau::TauConstituent * > & PanTau::PanTauSeed::getConstituentsAsList_All ( ) const
inline

Definition at line 237 of file PanTauSeed.h.

237 {return m_ConstituentsList_All;}

◆ getConstituentsAsList_Core()

const std::vector< PanTau::TauConstituent * > & PanTau::PanTauSeed::getConstituentsAsList_Core ( ) const
inline

Definition at line 235 of file PanTauSeed.h.

235 {return m_ConstituentsList_Core;}

◆ getConstituentsAsList_Wide()

const std::vector< PanTau::TauConstituent * > & PanTau::PanTauSeed::getConstituentsAsList_Wide ( ) const
inline

Definition at line 236 of file PanTauSeed.h.

236 {return m_ConstituentsList_Wide;}

◆ getConstituentsOfType()

std::vector< PanTau::TauConstituent * > PanTau::PanTauSeed::getConstituentsOfType ( int  tauConstituent_Type,
bool &  foundit 
)

Definition at line 358 of file PanTauSeed.cxx.

358  {
359  if(tauConstituent_Type > PanTau::TauConstituent::t_nTypes) {
360  foundit = false;
361  return std::vector<TauConstituent*>(0);
362  }
363  foundit = true;
364  if(tauConstituent_Type == (int)PanTau::TauConstituent::t_NoType) return m_ConstituentsList_AllSelected;
365  return m_Constituents.at(tauConstituent_Type);
366 }

◆ 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 304 of file AuxElement.cxx.

305 {
306  if (havePrivateData()) {
307  return m_container->getConstStore();
308  }
309  return 0;
310 }

◆ getDecayMode()

int PanTau::PanTauSeed::getDecayMode ( int  nCharged,
int  nNeutral 
)
static

Definition at line 310 of file PanTauSeed.cxx.

310  {
311 
312  int decayMode;
313 
314  // 1 Prong modes
315  if(nCharged == 1 && nNeutral == 0) decayMode = (int)xAOD::TauJetParameters::Mode_1p0n;
316  else if(nCharged == 1 && nNeutral == 1) decayMode = (int)xAOD::TauJetParameters::Mode_1p1n;
317  else if(nCharged == 1 && nNeutral > 1) decayMode = (int)xAOD::TauJetParameters::Mode_1pXn;
318  // 3 prong modes
319  else if(nCharged == 3 && nNeutral == 0) decayMode = (int)xAOD::TauJetParameters::Mode_3p0n;
320  else if(nCharged == 3 && nNeutral > 0) decayMode = (int)xAOD::TauJetParameters::Mode_3pXn;
321  // other mode
322  else if(nCharged == 2) decayMode = (int)xAOD::TauJetParameters::Mode_Other;
323  else if(nCharged == 4) decayMode = (int)xAOD::TauJetParameters::Mode_Other;
324  else if(nCharged == 5) decayMode = (int)xAOD::TauJetParameters::Mode_Other;
325  else if(nCharged == 0) decayMode = (int)xAOD::TauJetParameters::Mode_NotSet;
326  else if(nCharged >= 6) decayMode = (int)xAOD::TauJetParameters::Mode_NotSet;
327  else decayMode = (int)xAOD::TauJetParameters::Mode_Error;
328 
329  return decayMode;
330 }

◆ getDecayModeByPanTau()

int PanTau::PanTauSeed::getDecayModeByPanTau ( ) const
inline

Definition at line 240 of file PanTauSeed.h.

240 {return m_DecayMode_ByPanTau;}

◆ getDecayModeBySubAlg()

int PanTau::PanTauSeed::getDecayModeBySubAlg ( ) const
inline

Definition at line 239 of file PanTauSeed.h.

239 {return m_DecayMode_BySubAlg;}

◆ getDecayModeName()

std::string PanTau::PanTauSeed::getDecayModeName ( int  decayMode)
static

Definition at line 333 of file PanTauSeed.cxx.

333  {
334 
336 
337  if(mode == xAOD::TauJetParameters::Mode_1p0n) return "1p0n";
338  if(mode == xAOD::TauJetParameters::Mode_1p1n) return "1p1n";
339  if(mode == xAOD::TauJetParameters::Mode_1pXn) return "1pXn";
340  if(mode == xAOD::TauJetParameters::Mode_3p0n) return "3p0n";
341  if(mode == xAOD::TauJetParameters::Mode_3pXn) return "3pXn";
342  if(mode == xAOD::TauJetParameters::Mode_Other) return "Other";
343  if(mode == xAOD::TauJetParameters::Mode_Error) return "Error";
344  if(mode == xAOD::TauJetParameters::Mode_NotSet) return "NotSet";
345  return "InvalidMode!!!";
346 }

◆ getDecorIDs()

const SG::auxid_set_t & SG::AuxElement::getDecorIDs ( ) const
inherited

Return a set of identifiers for decorations 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 378 of file AuxElement.cxx.

379 {
380 #ifdef ATHCONTAINERS_R21_COMPAT
381  if (havePrivateData())
383  if (container())
384  return container()->getDecorIDs();
385  static const SG::auxid_set_t null_set;
386  return null_set;
387 #else
389 #endif
390 }

◆ getFeatures() [1/2]

PanTau::TauFeature * PanTau::PanTauSeed::getFeatures ( )
inline

Definition at line 231 of file PanTauSeed.h.

231 {return m_Features;}

◆ getFeatures() [2/2]

const PanTau::TauFeature * PanTau::PanTauSeed::getFeatures ( ) const
inline

Definition at line 230 of file PanTauSeed.h.

230 {return m_Features;}

◆ getFinalMomentum()

TLorentzVector PanTau::PanTauSeed::getFinalMomentum ( ) const
inline

Definition at line 238 of file PanTauSeed.h.

238 {return m_FinalMomentum;}

◆ getIsValidSeed()

bool PanTau::PanTauSeed::getIsValidSeed ( ) const
inline

Definition at line 241 of file PanTauSeed.h.

241 {return m_IsValidSeed;}

◆ getModeHackedByCellBased()

bool PanTau::PanTauSeed::getModeHackedByCellBased ( )
inline

Definition at line 159 of file PanTauSeed.h.

◆ getNameInputAlgorithm()

const std::string & PanTau::PanTauSeed::getNameInputAlgorithm ( ) const
inline

Definition at line 227 of file PanTauSeed.h.

227 {return m_NameInputAlgorithm;}

◆ getNumberOfConstituentsOfType()

int PanTau::PanTauSeed::getNumberOfConstituentsOfType ( int  tauConstituent_Type)

Definition at line 369 of file PanTauSeed.cxx.

369  {
370  bool isOK = false;
371  std::vector<PanTau::TauConstituent*> consts = this->getConstituentsOfType(tauConstituent_Type, isOK);
372  if(isOK) {
373  return (int)consts.size();
374  }
375  return -1;
376 }

◆ getProtoMomentumCore()

TLorentzVector PanTau::PanTauSeed::getProtoMomentumCore ( ) const
inline

Definition at line 233 of file PanTauSeed.h.

233 {return m_ProtoMomentum_Core;}

◆ getProtoMomentumWide()

TLorentzVector PanTau::PanTauSeed::getProtoMomentumWide ( ) const
inline

Definition at line 232 of file PanTauSeed.h.

232 {return m_ProtoMomentum_Wide;}

◆ 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 319 of file AuxElement.cxx.

320 {
321  if (havePrivateData()) {
322 #ifdef ATHCONTAINERS_R21_COMPAT
324 #else
325  SG::AuxVectorData* container_nc ATLAS_THREAD_SAFE = const_cast<SG::AuxVectorData*>(container());
326 #endif
327  return container_nc->getStore();
328  }
329  return 0;
330 }

◆ getSubsystemHLV()

TLorentzVector PanTau::PanTauSeed::getSubsystemHLV ( int  tauConstituent_Type,
bool &  foundit 
)

Definition at line 379 of file PanTauSeed.cxx.

379  {
380  if(tauConstituent_Type > PanTau::TauConstituent::t_nTypes) {
381  foundit = false;
382  return {0,0,0,0};
383  }
384  foundit = true;
385  return m_TypeHLVs.at(tauConstituent_Type);
386 }

◆ getTauJet() [1/2]

xAOD::TauJet * PanTau::PanTauSeed::getTauJet ( )
inline

Definition at line 229 of file PanTauSeed.h.

229 {return m_TauJet;}

◆ getTauJet() [2/2]

const xAOD::TauJet * PanTau::PanTauSeed::getTauJet ( ) const
inline

Definition at line 228 of file PanTauSeed.h.

228 {return m_TauJet;}

◆ getTechnicalQuality()

const std::vector< int > & PanTau::PanTauSeed::getTechnicalQuality ( ) const
inline

Definition at line 242 of file PanTauSeed.h.

242 {return m_TechnicalQuality;}

◆ hadPrivateData()

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

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

◆ 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 411 of file AuxElement.cxx.

412 {
413  if (havePrivateData())
414  return m_container->hasNonConstStore();
415  return false;
416 }

◆ 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 398 of file AuxElement.cxx.

399 {
400  if (havePrivateData())
401  return m_container->hasStore();
402  return false;
403 }

◆ 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.

◆ isOfTechnicalQuality()

bool PanTau::PanTauSeed::isOfTechnicalQuality ( int  pantauSeed_TechnicalQuality) const

Definition at line 349 of file PanTauSeed.cxx.

349  {
350  if(pantauSeed_TechnicalQuality > PanTau::PanTauSeed::t_nTechnicalQualities) {
351  return false;
352  }
353  if(m_TechnicalQuality[pantauSeed_TechnicalQuality] == 1) return true;
354  return false;
355 }

◆ m()

double PanTau::PanTauSeed::m ( ) const
virtual

The invariant mass of the particle.

Implements xAOD::IParticle.

Definition at line 127 of file PanTauSeed.cxx.

127  {
128  // static Accessor< float> acc( "m" );
129  // return acc( *this );
130  return p4().M();
131 }

◆ 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 192 of file AuxElement.cxx.

193 {
194  if (m_container) {
195  throw SG::ExcBadPrivateStore ("store already exists");
196  }
197 
201 }

◆ makePrivateStore() [2/3]

template<class U1 >
void SG::AuxElement::makePrivateStore ( const U1 &  other,
bool  warnUnlocked = false 
)
inherited

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

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf true, then warn when we skip unlocked decorations.

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,
bool  warnUnlocked = false 
)
inherited

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

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf true, then warn when we skip unlocked decorations.

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,
bool  warnUnlocked 
)
privateinherited

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

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf true, then warn when we skip unlocked decorations.

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 565 of file AuxElement.cxx.

567 {
569  if (other)
570  this->copyAux (*other, warnUnlocked);
571 }

◆ makePrivateStore1() [2/2]

void SG::AuxElement::makePrivateStore1 ( const void *  other,
bool  warnUnlocked 
)
privateinherited

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

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf true, then warn when we skip unlocked decorations.

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.

◆ noPrivateData()

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

True if this element has no private data.

◆ operator=()

PanTau::PanTauSeed & PanTau::PanTauSeed::operator= ( const PanTauSeed seed)

Definition at line 81 of file PanTauSeed.cxx.

82 {
83  if (this != &seed){
84 
85  if (!this->container() && !this->hasStore() ) {
87  }
88  this->IParticle::operator=( seed );
89  this->m_p4 = seed.m_p4;
90  m_IsValidSeed = seed.m_IsValidSeed;
91  m_TechnicalQuality = seed.m_TechnicalQuality;
92  m_NameInputAlgorithm = seed.m_NameInputAlgorithm;
93  m_TauJet = seed.m_TauJet;
94  m_Constituents = seed.m_Constituents;
95  m_TypeHLVs = seed.m_TypeHLVs;
96  m_ConstituentsList_Core = seed.m_ConstituentsList_Core;
97  m_ConstituentsList_Wide = seed.m_ConstituentsList_Wide;
98  m_ConstituentsList_AllSelected = seed.m_ConstituentsList_AllSelected;
99  m_ConstituentsList_All = seed.m_ConstituentsList_All;
100  m_decayModeHack_CellBasedShots = seed.m_decayModeHack_CellBasedShots;
101 
102  if(m_Features) delete m_Features;
103  m_Features = (seed.m_Features ? new PanTau::TauFeature(*seed.m_Features) : nullptr);
104  }
105  return *this;
106 }

◆ p4()

PanTau::PanTauSeed::FourMom_t PanTau::PanTauSeed::p4 ( ) const
virtual

The full 4-momentum of the particle as a TLoretzVector.

Implements xAOD::IParticle.

Definition at line 141 of file PanTauSeed.cxx.

141  {
142  return m_p4;
143 }

◆ phi()

double PanTau::PanTauSeed::phi ( ) const
virtual

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

Implements xAOD::IParticle.

Definition at line 121 of file PanTauSeed.cxx.

121  {
122  // static Accessor< float > acc( "phi" );
123  // return acc( *this );
124  return p4().Phi();
125 }

◆ pt()

double PanTau::PanTauSeed::pt ( ) const
virtual

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

Implements xAOD::IParticle.

Definition at line 109 of file PanTauSeed.cxx.

109  {
110  // static Accessor< float > acc( "pt" );
111  // return acc( *this );
112  return p4().Pt();
113 }

◆ rapidity()

double PanTau::PanTauSeed::rapidity ( ) const
virtual

The true rapidity (y) of the particle.

Implements xAOD::IParticle.

Definition at line 137 of file PanTauSeed.cxx.

137  {
138  return p4().Rapidity();
139 }

◆ 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 210 of file AuxElement.cxx.

211 {
212  if (hadPrivateData()) {
213  // We had a private store, but it was released because this object
214  // was added to a container. Just forget about it.
216  return;
217  }
218 
219  if (!havePrivateData() ||
220  !m_container ||
221  typeid(*m_container) != typeid(AuxElementPrivateData))
222  {
223  throw SG::ExcBadPrivateStore ("no private store exists");
224  }
225 
228  delete m_container;
229  m_container = 0;
230 }

◆ releasePrivateStoreForDtor()

void SG::AuxElement::releasePrivateStoreForDtor ( )
privateinherited

Out-of-line portion of destructor.

Delete a private store if we have one.

Definition at line 441 of file AuxElement.cxx.

442 {
443 #ifdef ATHCONTAINERS_R21_COMPAT
444  if (havePrivateData()) {
445  delete m_container;
446  }
447 #else
449 #endif
450 }

◆ setConstStore()

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

Synonym for setStore with IConstAuxStore.

Parameters
storeThe new store.

◆ setDecayModeByPanTau()

void PanTau::PanTauSeed::setDecayModeByPanTau ( int  decayModePanTau)
inline

Definition at line 245 of file PanTauSeed.h.

245 {m_DecayMode_ByPanTau = decayModePanTau;}

◆ setEta()

void PanTau::PanTauSeed::setEta ( float  eta)

set the eta

Definition at line 165 of file PanTauSeed.cxx.

165  {
166  static const Accessor< float > acc( "eta" );
167  acc( *this ) = eta;
168  //Need to recalculate m_p4
169  m_p4.SetPtEtaPhiM( pt(), eta, phi(), m());
170 }

◆ setFinalMomentum()

void PanTau::PanTauSeed::setFinalMomentum ( TLorentzVector  finalMom)
inline

Definition at line 244 of file PanTauSeed.h.

244 {m_FinalMomentum = finalMom;}

◆ setHadPrivateData()

void SG::IAuxElement::setHadPrivateData ( )
privateinherited

Record that this element used to have private data.

◆ 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 505 of file AuxElement.cxx.

506 {
507 #ifdef ATHCONTAINERS_R21_COMPAT
508  if (hadPrivateData()) {
509  // We had a private store, but it was released because we were added
510  // to a container.
511 
512  if (container == 0) {
513  // We're being moved out of the container. Make a new private
514  // store, copy the data, and switch to it.
515  auto privateData = new SG::AuxElementPrivateData;
516  AuxElement to (privateData, 0);
517  to.copyAux (*this);
520  m_container = privateData;
521  return true;
522  }
523  }
524  else if (havePrivateData() &&
525  typeid(*m_container) == typeid(AuxElementPrivateData))
526  {
527  // We currently have a private store.
528 
529  if (container != 0 && container != m_container) {
530  // We're being added to a container.
531  // Aux data has already been copied.
532  // Release private store.
535  delete m_container;
537  return false;
538  }
539  }
540  else {
541  // We have a standalone store.
542  throw SG::ExcBadPrivateStore ("Attempt to add/remove a standalone object "
543  "from a container.");
544  }
545 
548  return false;
549 #else
551 #endif
552 }

◆ setM()

void PanTau::PanTauSeed::setM ( float  m)

set the Mass

Definition at line 179 of file PanTauSeed.cxx.

179  {
180  static const Accessor< float > acc( "m" );
181  acc( *this ) = m;
182  //Need to recalculate m_p4
183  m_p4.SetPtEtaPhiM( pt(), eta(), phi(), m);
184 }

◆ setModeHackedByCellBased()

void PanTau::PanTauSeed::setModeHackedByCellBased ( bool  f)
inline

Definition at line 158 of file PanTauSeed.h.

◆ 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()

void PanTau::PanTauSeed::setP4 ( float  pt,
float  eta,
float  phi,
float  m 
)

set the 4-vec

Definition at line 145 of file PanTauSeed.cxx.

145  {
146  static const Accessor< float > acc1( "pt" );
147  acc1( *this ) = pt;
148  static const Accessor< float > acc2( "eta" );
149  acc2( *this ) = eta;
150  static const Accessor< float > acc3( "phi" );
151  acc3( *this ) = phi;
152  static const Accessor< float > acc4( "m" );
153  acc4( *this ) = m;
154  //Need to recalculate m_p4
155  m_p4.SetPtEtaPhiM( pt, eta, phi, m);
156 }

◆ setPhi()

void PanTau::PanTauSeed::setPhi ( float  phi)

set the phi

Definition at line 172 of file PanTauSeed.cxx.

172  {
173  static const Accessor< float > acc( "phi" );
174  acc( *this ) = phi;
175  //Need to recalculate m_p4
176  m_p4.SetPtEtaPhiM( pt(), eta(), phi, m());
177 }

◆ setPt()

void PanTau::PanTauSeed::setPt ( float  pt)

set the Pt

Definition at line 158 of file PanTauSeed.cxx.

158  {
159  static const Accessor< float > acc( "pt" );
160  acc( *this ) = pt;
161  //Need to recalculate m_p4
162  m_p4.SetPtEtaPhiM( pt, eta(), phi(), m());
163 }

◆ 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 269 of file AuxElement.cxx.

270 {
271  AuxElementStandaloneData* data = setStore1 (store);
272  if (store)
273  data->setStore (store);
274 }

◆ 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 241 of file AuxElement.cxx.

242 {
243  AuxElementStandaloneData* data = setStore1 (store);
244  if (store)
245  data->setStore (store);
246 }

◆ 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 257 of file AuxElement.cxx.

258 {
259  AuxElementStandaloneData* data = setStore1 (store);
260  if (store)
261  data->setStore (store);
262 }

◆ 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 461 of file AuxElement.cxx.

462 {
463  if (store) {
464  // Want this object be standalone.
465  if (!m_container) {
466  // Not in a container (and no private store). Make a new object.
467  AuxElementStandaloneData* data = new AuxElementStandaloneData;
469  m_container = data;
470  return data;
471  }
472  if (usingStandaloneStore()) {
473  // Standalone --- return existing object.
474  return static_cast<AuxElementStandaloneData*> (container());
475  }
476  // Otherwise, it's an error.
477  throw ExcBadPrivateStore ("Attempt to attach a standalone store to an "
478  "object in a container or with a private store.");
479  }
480 
481  else {
482  // Getting rid of a standalone store.
483  if (usingStandaloneStore()) {
485  delete m_container;
486  m_container = 0;
487  }
488  else if (m_container != 0)
489  throw ExcBadPrivateStore ("Attempt to remove a standalone store from an "
490  "object in a container or with a private store.");
491  return 0;
492  }
493 }

◆ 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.

◆ type()

xAOD::Type::ObjectType PanTau::PanTauSeed::type ( ) const
virtual

The type of the object as a simple enumeration, remains pure virtual in e/gamma.

Implements xAOD::IParticle.

Definition at line 187 of file PanTauSeed.cxx.

187  {
188  return xAOD::Type::Tau;
189 }

◆ usingPrivateStore()

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

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

Definition at line 280 of file AuxElement.cxx.

281 {
282  return havePrivateData() &&
283  typeid(*m_container) == typeid(AuxElementPrivateData);
284 }

◆ 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 290 of file AuxElement.cxx.

291 {
292  return havePrivateData() &&
293  typeid(*m_container) == typeid(AuxElementStandaloneData);
294 }

Member Data Documentation

◆ m_Constituents

std::vector< std::vector<PanTau::TauConstituent*> > PanTau::PanTauSeed::m_Constituents
protected

Definition at line 183 of file PanTauSeed.h.

◆ m_ConstituentsList_All

std::vector<PanTau::TauConstituent*> PanTau::PanTauSeed::m_ConstituentsList_All
protected

Definition at line 204 of file PanTauSeed.h.

◆ m_ConstituentsList_AllSelected

std::vector<PanTau::TauConstituent*> PanTau::PanTauSeed::m_ConstituentsList_AllSelected
protected

Definition at line 200 of file PanTauSeed.h.

◆ m_ConstituentsList_Core

std::vector<PanTau::TauConstituent*> PanTau::PanTauSeed::m_ConstituentsList_Core
protected

Definition at line 198 of file PanTauSeed.h.

◆ m_ConstituentsList_Wide

std::vector<PanTau::TauConstituent*> PanTau::PanTauSeed::m_ConstituentsList_Wide
protected

Definition at line 199 of file PanTauSeed.h.

◆ 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 335 of file AuxElement.h.

◆ m_DecayMode_ByPanTau

int PanTau::PanTauSeed::m_DecayMode_ByPanTau
protected

Definition at line 208 of file PanTauSeed.h.

◆ m_DecayMode_BySubAlg

int PanTau::PanTauSeed::m_DecayMode_BySubAlg
protected

Definition at line 207 of file PanTauSeed.h.

◆ m_decayModeHack_CellBasedShots

bool PanTau::PanTauSeed::m_decayModeHack_CellBasedShots
protected

Definition at line 210 of file PanTauSeed.h.

◆ m_Features

PanTau::TauFeature* PanTau::PanTauSeed::m_Features
protected

flag to indicate whether the decay mode by cellbased was

1p1n and hits in EM1 > 2 (because then 1p1n -> 1pX
is set)

Definition at line 215 of file PanTauSeed.h.

◆ m_FinalMomentum

TLorentzVector PanTau::PanTauSeed::m_FinalMomentum
protected

Definition at line 192 of file PanTauSeed.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_IsValidSeed

bool PanTau::PanTauSeed::m_IsValidSeed
protected

Definition at line 171 of file PanTauSeed.h.

◆ m_NameInputAlgorithm

std::string PanTau::PanTauSeed::m_NameInputAlgorithm
protected

Definition at line 176 of file PanTauSeed.h.

◆ m_p4

FourMom_t PanTau::PanTauSeed::m_p4
private

4-momentum object

Definition at line 166 of file PanTauSeed.h.

◆ m_privateStoreState

PrivateStoreState SG::IAuxElement::m_privateStoreState
privateinherited

Definition at line 137 of file IAuxElement.h.

◆ m_ProtoMomentum_Core

TLorentzVector PanTau::PanTauSeed::m_ProtoMomentum_Core
protected

Definition at line 189 of file PanTauSeed.h.

◆ m_ProtoMomentum_Wide

TLorentzVector PanTau::PanTauSeed::m_ProtoMomentum_Wide
protected

Definition at line 186 of file PanTauSeed.h.

◆ m_TauJet

xAOD::TauJet* PanTau::PanTauSeed::m_TauJet
protected

Definition at line 179 of file PanTauSeed.h.

◆ m_TechnicalQuality

std::vector<int> PanTau::PanTauSeed::m_TechnicalQuality
protected

Definition at line 173 of file PanTauSeed.h.

◆ m_TypeHLVs

std::vector< TLorentzVector > PanTau::PanTauSeed::m_TypeHLVs
protected

Definition at line 195 of file PanTauSeed.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 959 of file AuxElement.h.


The documentation for this class was generated from the following files:
python.CaloBCIDAvgAlgConfig.acc3
def acc3
Definition: CaloBCIDAvgAlgConfig.py:69
xAOD::TauJetParameters::Mode_1p0n
@ Mode_1p0n
Definition: TauDefs.h:386
SG::AuxVectorData::getConstStore
const SG::IConstAuxStore * getConstStore() const
Return the current store, as a const interface.
SGTest::store
TestStore store
Definition: TestStore.cxx:23
beamspotman.r
def r
Definition: beamspotman.py:676
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:153
PanTau::TauConstituent::getTypeFlags
const std::vector< int > & getTypeFlags() const
Definition: TauConstituent.cxx:211
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
PanTau::PanTauSeed::m_decayModeHack_CellBasedShots
bool m_decayModeHack_CellBasedShots
Definition: PanTauSeed.h:210
xAOD::name
name
Definition: TriggerMenuJson_v1.cxx:29
PanTau::PanTauSeed::m_Constituents
std::vector< std::vector< PanTau::TauConstituent * > > m_Constituents
Definition: PanTauSeed.h:183
PanTau::TauConstituent::t_Neutral
@ t_Neutral
Definition: TauConstituent.h:45
xAOD::TauJetParameters::Mode_1p1n
@ Mode_1p1n
Definition: TauDefs.h:387
PanTau::PanTauSeed::m_ConstituentsList_AllSelected
std::vector< PanTau::TauConstituent * > m_ConstituentsList_AllSelected
Definition: PanTauSeed.h:200
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
xAOD::TauJet_v3::phiIntermediateAxis
double phiIntermediateAxis() const
PanTau::TauConstituent::t_Charged
@ t_Charged
Definition: TauConstituent.h:44
SG::AuxTypeRegistry::instance
static AuxTypeRegistry & instance()
Return the singleton registry instance.
Definition: AuxTypeRegistry.cxx:639
SG::Accessor< T >
SG::AuxVectorData::getDecorIDs
const SG::auxid_set_t & getDecorIDs() const
Return a set of identifiers for decorations for this object.
Definition: AuxVectorData.cxx:215
columnar::operator=
AccessorTemplate & operator=(AccessorTemplate &&that)
Definition: VectorColumn.h:88
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::etaIntermediateAxis
double etaIntermediateAxis() const
xAOD::TauJetParameters::nCharged
@ nCharged
Definition: TauDefs.h:266
index
Definition: index.py:1
PanTau::PanTauSeed::getConstituentsOfType
std::vector< PanTau::TauConstituent * > getConstituentsOfType(int tauConstituent_Type, bool &foundit)
Definition: PanTauSeed.cxx:358
PanTau::PanTauSeed::phi
virtual double phi() const
The azimuthal angle ( ) of the particle.
Definition: PanTauSeed.cxx:121
SG::ConstAuxElement::m_container
const SG::AuxVectorData * m_container
The container of which this object is an element.
Definition: AuxElement.h:335
PanTau::PanTauSeed::t_ExtMode300
@ t_ExtMode300
Definition: PanTauSeed.h:49
PanTau::PanTauSeed::t_NoValidInputTau
@ t_NoValidInputTau
Definition: PanTauSeed.h:34
SG::AuxVectorData::hasNonConstStore
bool hasNonConstStore() const
Return true if this object has an associated non-const store.
PanTau::PanTauSeed::eta
virtual double eta() const
The pseudorapidity ( ) of the particle.
Definition: PanTauSeed.cxx:115
PanTau::TauConstituent::p4
virtual FourMom_t p4() const
The full 4-momentum of the particle as a TLorentzVector.
Definition: TauConstituent.cxx:100
SG::AuxElement::usingStandaloneStore
bool usingStandaloneStore() const
Test to see if this object is currently using a standalone store.
Definition: AuxElement.cxx:290
SG::ConstAuxElement::setIndexPrivate
bool setIndexPrivate(size_t index, const SG::AuxVectorData *container)
Set the index/container for this element.
Definition: AuxElement.cxx:97
SG::ConstAccessor< T >
PanTau::PanTauSeed::m_DecayMode_BySubAlg
int m_DecayMode_BySubAlg
Definition: PanTauSeed.h:207
PanTau::TauFeature
Definition: TauFeature.h:19
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.
PanTau::PanTauSeed::t_ExtMode1XX
@ t_ExtMode1XX
Definition: PanTauSeed.h:48
PanTau::PanTauSeed::m_IsValidSeed
bool m_IsValidSeed
Definition: PanTauSeed.h:171
PanTau::PanTauSeed::p4
virtual FourMom_t p4() const
The full 4-momentum of the particle as a TLoretzVector.
Definition: PanTauSeed.cxx:141
PanTau::PanTauSeed::m_Features
PanTau::TauFeature * m_Features
flag to indicate whether the decay mode by cellbased was
Definition: PanTauSeed.h:215
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::TauJetParameters::Mode_1pXn
@ Mode_1pXn
Definition: TauDefs.h:388
PanTau::PanTauSeed::m_p4
FourMom_t m_p4
4-momentum object
Definition: PanTauSeed.h:166
SG::AuxTypeRegistry
Handle mappings between names and auxid_t.
Definition: AuxTypeRegistry.h:61
xAOD::TauJetParameters::DecayMode
DecayMode
Definition: TauDefs.h:385
SG::IAuxElement::index
size_t index() const
Return the index of this element within its container.
PanTau::PanTauSeed::t_ExtMode11X
@ t_ExtMode11X
Definition: PanTauSeed.h:47
PanTau::TauConstituent::t_OutNeut
@ t_OutNeut
Definition: TauConstituent.h:48
SG::IAuxElement::setHadPrivateData
void setHadPrivateData()
Record that this element used to have private data.
SG::auxid_t
size_t auxid_t
Identifier for a particular aux data item.
Definition: AuxTypes.h:27
Generate_dsid_ranseed.seed
seed
Definition: Generate_dsid_ranseed.py:10
PanTau::PanTauSeed::m_NameInputAlgorithm
std::string m_NameInputAlgorithm
Definition: PanTauSeed.h:176
PanTau::PanTauSeed::t_ExtMode110
@ t_ExtMode110
Definition: PanTauSeed.h:46
PanTau::PanTauSeed::t_nTechnicalQualities
@ t_nTechnicalQualities
Definition: PanTauSeed.h:39
SG::AuxElement::copyAux
void copyAux(const ConstAuxElement &other, bool warnUnlocked=false)
Copy aux data from another object.
Definition: AuxElement.cxx:607
SG::AuxElement::clearAux
void clearAux()
Clear all aux data associated with this element.
Definition: AuxElement.cxx:580
SG::AuxElement::AuxElement
AuxElement()
Default constructor.
python.CaloBCIDAvgAlgConfig.acc1
def acc1
Definition: CaloBCIDAvgAlgConfig.py:49
PanTau::PanTauSeed::m_TypeHLVs
std::vector< TLorentzVector > m_TypeHLVs
Definition: PanTauSeed.h:195
SG::IAuxElement::havePrivateData
bool havePrivateData() const
True if this element currently has private data.
ATHCONTAINERS_WARNING
#define ATHCONTAINERS_WARNING(ctx, msg)
Definition: error.h:57
python.LArMinBiasAlgConfig.int
int
Definition: LArMinBiasAlgConfig.py:59
SG::AuxVectorData::getStore
SG::IAuxStore * getStore()
Return the current store, as a non-const interface.
SG::ConstAuxElement::getDecorIDs
const SG::auxid_set_t & getDecorIDs() const
Return a set of identifiers for decorations for this object.
Definition: AuxElement.cxx:172
python.CaloBCIDAvgAlgConfig.acc2
def acc2
Definition: CaloBCIDAvgAlgConfig.py:59
AthenaPoolTestRead.acc
acc
Definition: AthenaPoolTestRead.py:16
SG::AuxElementPrivateData
Internal data container for private store.
Definition: AuxElement.cxx:46
Preparation.mode
mode
Definition: Preparation.py:107
PanTau::PanTauSeed::t_ExtModeError
@ t_ExtModeError
Definition: PanTauSeed.h:54
hist_file_dump.f
f
Definition: hist_file_dump.py:141
PanTau::PanTauSeed::t_ExtMode30X
@ t_ExtMode30X
Definition: PanTauSeed.h:50
PanTau::PanTauSeed::m_ConstituentsList_Wide
std::vector< PanTau::TauConstituent * > m_ConstituentsList_Wide
Definition: PanTauSeed.h:199
SG::AuxVectorData::hasStore
bool hasStore() const
Return true if this object has an associated store.
python.LArRecUtilsConfig.acc4
def acc4
Definition: LArRecUtilsConfig.py:196
PanTau::PanTauSeed::m_ConstituentsList_All
std::vector< PanTau::TauConstituent * > m_ConstituentsList_All
Definition: PanTauSeed.h:204
xAOD::TauJetParameters::Mode_3p0n
@ Mode_3p0n
Definition: TauDefs.h:389
PanTau::PanTauSeed::t_ExtMode10X
@ t_ExtMode10X
Definition: PanTauSeed.h:45
PanTau::PanTauSeed::t_ExtMode100
@ t_ExtMode100
Definition: PanTauSeed.h:44
PanTau::PanTauSeed::m_ProtoMomentum_Wide
TLorentzVector m_ProtoMomentum_Wide
Definition: PanTauSeed.h:186
SG::IAuxElement::setHavePrivateData
void setHavePrivateData()
Record that this element currently has private data.
SG::AuxVectorData::clearCache
void clearCache()
Clear the cached aux data pointers.
PanTau::PanTauSeed::t_BadPtValue
@ t_BadPtValue
Definition: PanTauSeed.h:37
PanTau::PanTauSeed::m_TauJet
xAOD::TauJet * m_TauJet
Definition: PanTauSeed.h:179
PanTau::PanTauSeed::t_NoConstituentsAtAll
@ t_NoConstituentsAtAll
Definition: PanTauSeed.h:35
PanTau::TauConstituent::isOfType
bool isOfType(TauConstituent::Type aType) const
Definition: TauConstituent.cxx:216
SG::AuxElement::makePrivateStore
void makePrivateStore()
Create a new (empty) private store for this object.
Definition: AuxElement.cxx:192
CxxUtils::to
CONT to(RANGE &&r)
Definition: ranges.h:39
PanTau::PanTauSeed::t_ExtModeNotSet
@ t_ExtModeNotSet
Definition: PanTauSeed.h:53
PanTau::PanTauSeed::pt
virtual double pt() const
The transverse momentum ( ) of the particle.
Definition: PanTauSeed.cxx:109
PanTau::PanTauSeed::m_DecayMode_ByPanTau
int m_DecayMode_ByPanTau
Definition: PanTauSeed.h:208
PanTau::TauConstituent::t_Pi0Neut
@ t_Pi0Neut
Definition: TauConstituent.h:46
SG::AuxElement::hasStore
bool hasStore() const
Return true if this object has an associated store.
Definition: AuxElement.cxx:398
PanTau::PanTauSeed::m_TechnicalQuality
std::vector< int > m_TechnicalQuality
Definition: PanTauSeed.h:173
PanTau::PanTauSeed::t_ExtMode3XX
@ t_ExtMode3XX
Definition: PanTauSeed.h:51
xAOD::IParticle::IParticle
IParticle()=default
SG::IAuxElement::setIndex
void setIndex(size_t index)
Set the index of this element within its container.
PanTau::PanTauSeed::getDecayMode
static int getDecayMode(int nCharged, int nNeutral)
Definition: PanTauSeed.cxx:310
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
SG::ExcBadPrivateStore
Exception — Bad use of private store.
Definition: Control/AthContainers/AthContainers/exceptions.h:113
SG::Accessor::isAvailableWritable
bool isAvailableWritable(ELT &e) const
Test to see if this variable exists in the store and is writable.
PanTau::PanTauSeed::isOfTechnicalQuality
bool isOfTechnicalQuality(int pantauSeed_TechnicalQuality) const
Definition: PanTauSeed.cxx:349
PanTau::TauConstituent::t_NoType
@ t_NoType
Definition: TauConstituent.h:43
PanTau::PanTauSeed::m_ProtoMomentum_Core
TLorentzVector m_ProtoMomentum_Core
Definition: PanTauSeed.h:189
PanTau::PanTauSeed::m_ConstituentsList_Core
std::vector< PanTau::TauConstituent * > m_ConstituentsList_Core
Definition: PanTauSeed.h:198
PanTau::PanTauSeed::t_ExtMode11shots
@ t_ExtMode11shots
Definition: PanTauSeed.h:55
SG::IConstAuxStore::getDecorIDs
virtual const SG::auxid_set_t & getDecorIDs() const =0
Return a set of identifiers for decorations in this store.
PanTau::PanTauSeed::t_NoSelectedConstituents
@ t_NoSelectedConstituents
Definition: PanTauSeed.h:36
xAOD::TauJetParameters::Mode_3pXn
@ Mode_3pXn
Definition: TauDefs.h:390
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.
PanTau::TauConstituent::t_nTypes
@ t_nTypes
Definition: TauConstituent.h:51
PanTau::PanTauSeed::m
virtual double m() const
The invariant mass of the particle.
Definition: PanTauSeed.cxx:127
xAOD::TauJetParameters::Mode_Error
@ Mode_Error
Definition: TauDefs.h:393
SG::AuxVectorData
Manage lookup of vectors of auxiliary data.
Definition: AuxVectorData.h:168
PanTau::TauConstituent
Definition: TauConstituent.h:25
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:80
SG::AuxElement::container
const SG::AuxVectorData * container() const
Return the container holding this element.
xAOD::TauJet_v3::ptIntermediateAxis
double ptIntermediateAxis() const
PanTau::TauConstituent::t_OutChrg
@ t_OutChrg
Definition: TauConstituent.h:47
xAOD::TauJetParameters::Mode_NotSet
@ Mode_NotSet
Definition: TauDefs.h:392
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.
SG::AuxElement::setStore1
AuxElementStandaloneData * setStore1(const SG::IConstAuxStore *store)
Set the store associated with this object.
Definition: AuxElement.cxx:461
xAOD::TauJetParameters::Mode_Other
@ Mode_Other
Definition: TauDefs.h:391
PanTau::PanTauSeed::m_FinalMomentum
TLorentzVector m_FinalMomentum
Definition: PanTauSeed.h:192
PanTau::PanTauSeed::t_GoodSeed
@ t_GoodSeed
Definition: PanTauSeed.h:38
CxxUtils::ConcurrentBitset::test
bool test(bit_t bit) const
Test to see if a bit is set.
PanTau::PanTauSeed::t_ExtModeOther
@ t_ExtModeOther
Definition: PanTauSeed.h:52