ATLAS Offline Software
PhysicsAnalysis
TruthParticleID
McParticleEventTPCnv
McParticleEventTPCnv
TruthEtIsolations_p1.h
Go to the documentation of this file.
1
3
/*
4
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// TruthEtIsolations_p1.h
8
// Header file for class TruthEtIsolations_p1
9
// Author: S.Binet<binet@cern.ch>
10
// Date: July 2007
12
#ifndef MCPARTICLEEVENTTPCNV_TRUTHETISOLATIONS_P1_H
13
#define MCPARTICLEEVENTTPCNV_TRUTHETISOLATIONS_P1_H
14
15
// STL includes
16
#include <vector>
17
#include <utility>
// for std::pair
18
19
#include <array>
20
21
// Persistent ElementLink
22
#include "
DataModelAthenaPool/ElementLink_p1.h
"
23
24
// McParticleEvent includes
25
#include "
McParticleEvent/TruthParticleParamDefs.h
"
// For enum
26
27
// forward declarations
28
class
TruthEtIsolationsCnv_p1
;
29
30
class
TruthEtIsolations_p1
31
{
33
// Friend classes
35
36
// Make the AthenaPoolCnv class our friend
37
friend
class
TruthEtIsolationsCnv_p1
;
38
40
// Public typedefs:
42
public
:
43
44
typedef
std::array
<
float
,
45
TruthParticleParameters::NbrOfCones
>
EtIsolations_t
;
46
47
typedef
std::pair<int, EtIsolations_t>
EtIsolBc_t
;
48
typedef
std::vector<EtIsolBc_t>
EtIsolMap_t
;
49
51
// Public methods:
53
public
:
54
57
TruthEtIsolations_p1
();
58
61
~TruthEtIsolations_p1
() =
default
;
62
64
// Const methods:
66
68
// Non-const methods:
70
72
// Private data:
74
private
:
75
79
ElementLinkInt_p1
m_genEvent
;
80
83
EtIsolMap_t
m_etIsolations
;
84
};
85
87
// Inline methods:
89
90
inline
91
TruthEtIsolations_p1::TruthEtIsolations_p1
() :
92
m_genEvent ( ),
93
m_etIsolations( )
94
{}
95
96
#endif //> MCPARTICLEEVENTTPCNV_TRUTHETISOLATIONS_P1_H
TruthParticleParameters::NbrOfCones
@ NbrOfCones
Definition:
TruthParticleParamDefs.h:31
ElementLink_p1.h
This file contains the class definition for the ElementLink_p1 class.
TruthEtIsolations_p1
Definition:
TruthEtIsolations_p1.h:31
TruthEtIsolations_p1::EtIsolBc_t
std::pair< int, EtIsolations_t > EtIsolBc_t
Definition:
TruthEtIsolations_p1.h:47
TruthEtIsolations_p1::~TruthEtIsolations_p1
~TruthEtIsolations_p1()=default
Destructor:
ElementLink_p1< uint32_t >
TruthEtIsolations_p1::EtIsolMap_t
std::vector< EtIsolBc_t > EtIsolMap_t
Definition:
TruthEtIsolations_p1.h:48
TruthParticleParamDefs.h
TruthEtIsolations_p1::m_genEvent
ElementLinkInt_p1 m_genEvent
The persistent pointer toward the McEventCollection the (transient) TruthEtIsolations has been comput...
Definition:
TruthEtIsolations_p1.h:79
lumiFormat.array
array
Definition:
lumiFormat.py:91
TruthEtIsolations_p1::TruthEtIsolations_p1
TruthEtIsolations_p1()
Default constructor:
Definition:
TruthEtIsolations_p1.h:91
TruthEtIsolations_p1::EtIsolations_t
std::array< float, TruthParticleParameters::NbrOfCones > EtIsolations_t
Definition:
TruthEtIsolations_p1.h:45
TruthEtIsolationsCnv_p1
Definition:
TruthEtIsolationsCnv_p1.h:32
TruthEtIsolations_p1::m_etIsolations
EtIsolMap_t m_etIsolations
The persistent representation of Et-isolations: a vector pairs (barcode, array-of-Et-isols)
Definition:
TruthEtIsolations_p1.h:83
readCCLHist.float
float
Definition:
readCCLHist.py:83
Generated on Sun Dec 22 2024 21:22:05 for ATLAS Offline Software by
1.8.18