00001 // IndexedTConstituentUserInfo.h 00002 00003 #ifndef jet__IndexedTConstituentUserInfo_H 00004 #define jet__IndexedTConstituentUserInfo_H 00005 00006 // David Adams and Pierre-Antoine Delsart 00007 // January 2014 00008 00021 00022 #include "JetEDM/BaseIndexedConstituentUserInfo.h" 00023 00024 namespace jet { 00025 00026 template<typename T> 00027 class IndexedTConstituentUserInfo : public BaseIndexedConstituentUserInfo { 00028 00029 public: 00030 00031 // Default ctor. 00032 // Sets the particle null. 00033 IndexedTConstituentUserInfo(); 00034 00037 IndexedTConstituentUserInfo(const T& par, Index idx, const LabelIndex* pli); 00038 00040 const SG::AuxElement* element() const; 00041 const xAOD::IParticle* particle() const; 00042 const T* object() const; 00043 00044 protected: 00045 00046 const T* m_ppar; 00047 00048 }; 00049 00050 } // end namespace jet 00051 00052 #include "JetEDM/IndexedTConstituentUserInfo.icc" 00053 00054 #endif