ATLAS Offline Software
Loading...
Searching...
No Matches
IndexedTConstituentUserInfo.icc
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.cxx
6
7#include "JetEDM/LabelIndex.h"
8
9//**********************************************************************
10
11template<typename T>
12jet::IndexedTConstituentUserInfo<T>::IndexedTConstituentUserInfo()
13: m_ppar(nullptr) { }
14
15//**********************************************************************
16
17template<typename T>
18jet::IndexedTConstituentUserInfo<T>::
19IndexedTConstituentUserInfo(const T& par, Index idx, const jet::LabelIndex* pli)
20: BaseIndexedConstituentUserInfo(idx, pli), m_ppar(&par) { }
21
22//**********************************************************************
23
24template<typename T>
25const SG::AuxElement* jet::IndexedTConstituentUserInfo<T>::element() const {
26 return m_ppar;
27}
28
29//**********************************************************************
30
31template<typename T>
32const xAOD::IParticle* jet::IndexedTConstituentUserInfo<T>::particle() const {
33 return nullptr;
34}
35
36//**********************************************************************
37
38template<typename T>
39const T* jet::IndexedTConstituentUserInfo<T>::object() const {
40 return m_ppar;
41}
42
43//**********************************************************************