ATLAS Offline Software
Loading...
Searching...
No Matches
Reconstruction
Jet
JetEDM
JetEDM
SimpleConstituentUserInfo.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
// SimpleConstituentUserInfo.h
6
7
#ifndef jet__SimpleConstituentUserInfo_H
8
#define jet__SimpleConstituentUserInfo_H
9
10
// David Adams
11
// January 2014
12
//
13
// Implementation of IConstituentUserInfo without indexing.
14
15
#include "
JetEDM/IConstituentUserInfo.h
"
16
17
namespace
jet
{
18
19
class
SimpleConstituentUserInfo
:
public
IConstituentUserInfo
{
20
21
public
:
22
23
// Default ctor.
24
// Sets the particle null.
25
SimpleConstituentUserInfo
();
26
27
// Ctor from IParticle and label.
28
SimpleConstituentUserInfo
(
const
xAOD::IParticle
& par, std::string
label
);
29
30
// Return the particle pointer.
31
const
xAOD::IParticle
*
particle
()
const
;
32
33
// Return the label.
34
Label
label
()
const
;
35
36
private
:
37
38
const
xAOD::IParticle
*
m_ppar
;
39
Label
m_label
;
40
41
};
42
43
}
// end namespace jet
44
45
#endif
IConstituentUserInfo.h
jet::IConstituentUserInfo
Definition
IConstituentUserInfo.h:26
jet::IConstituentUserInfo::Label
std::string Label
Definition
IConstituentUserInfo.h:31
jet::SimpleConstituentUserInfo::SimpleConstituentUserInfo
SimpleConstituentUserInfo(const xAOD::IParticle &par, std::string label)
jet::SimpleConstituentUserInfo::m_ppar
const xAOD::IParticle * m_ppar
Definition
SimpleConstituentUserInfo.h:38
jet::SimpleConstituentUserInfo::m_label
Label m_label
Definition
SimpleConstituentUserInfo.h:39
jet::SimpleConstituentUserInfo::label
Label label() const
Definition
SimpleConstituentUserInfo.cxx:34
jet::SimpleConstituentUserInfo::particle
const xAOD::IParticle * particle() const
Definition
SimpleConstituentUserInfo.cxx:28
jet::SimpleConstituentUserInfo::SimpleConstituentUserInfo
SimpleConstituentUserInfo()
Definition
SimpleConstituentUserInfo.cxx:17
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
jet
Definition
JetCalibTools_PlotJESFactors.cxx:23
Generated on
for ATLAS Offline Software by
1.14.0