ATLAS Offline Software
Loading...
Searching...
No Matches
IndexedTConstituentUserInfo.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// IndexedTConstituentUserInfo.h
6
7#ifndef jet__IndexedTConstituentUserInfo_H
8#define jet__IndexedTConstituentUserInfo_H
9
10// David Adams and Pierre-Antoine Delsart
11// January 2014
12
25
27
28namespace jet {
29
30template<typename T>
32
33public:
34
35 // Default ctor.
36 // Sets the particle null.
38
41 IndexedTConstituentUserInfo(const T& par, Index idx, const LabelIndex* pli);
42
44 const SG::AuxElement* element() const;
45 const xAOD::IParticle* particle() const;
46 const T* object() const;
47
48 protected:
49
50 const T* m_ppar;
51
52};
53
54} // end namespace jet
55
57
58#endif
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
const SG::AuxElement * element() const
Return the particle pointer.
IndexedTConstituentUserInfo(const T &par, Index idx, const LabelIndex *pli)
Constructor from an object, index and map.
const xAOD::IParticle * particle() const
Class providing the definition of the 4-vector interface.