ATLAS Offline Software
Loading...
Searching...
No Matches
Jet_p3.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5*/
6
7// Jet_p2.h
8// Header file for class Jet_p2
9// Author: S.Binet<binet@cern.ch>
10// Author: R.Seuster<seuster@cern.ch>
11// Date: March 2007
12// Date: Feb 2008
14#ifndef JETEVENTTPCNV_JET_P3_H
15#define JETEVENTTPCNV_JET_P3_H
16
17// STL includes
18#include <vector>
19
20// DataModelAthenaPool includes
22
23// EventCommonTPCnv includes
25
26// forward declarations
27class JetTagInfoBase;
29
30class JetCnv_p3;
31
32class Jet_p3
33{
35 // Friend classes
37
38 // Make the AthenaPoolCnv class our friend
39 friend class JetCnv_p3;
40
42 // Public methods:
44public:
45
48 Jet_p3() = default;
49
52 ~Jet_p3();
53
54 // copy and move constructor defaulted
55 Jet_p3(const Jet_p3& other) noexcept = default;
56 Jet_p3(Jet_p3&& other) noexcept = default;
57
58 // copy and move assignment defaulted
59 Jet_p3 & operator=(const Jet_p3 &) noexcept = default;
60 Jet_p3 & operator=(Jet_p3 &&) noexcept = default;
61
63 // Private data:
65private:
66
68 Navigable_p1<uint32_t, double> m_nav;
69
72
73 unsigned int m_author{0};
74
76 unsigned int m_num_combinedLikelihood{0};
77
79 std::vector<float> m_shapeStore;
80
82 std::vector<const JetTagInfoBase*> m_tagJetInfo;
83
85 std::vector<const JetAssociationBase*> m_associations;
86
88 // This should be true for the case of reading, but false for writing.
89 // Therefore, it is set to true in the default constructor.
90 // When the T->P converter puts pointers in one of these objects,
91 // it should also clear this flag.
92 bool m_ownPointers{true};
93
94
95 // Signal states
96 char m_ratioE{0};
97 char m_ratioPx{0};
98 char m_ratioPy{0};
99 char m_ratioPz{0};
100
101};
102
103#endif //> JETEVENTTPCNV_JET_P3_H
This file contains the class definition for the Navigable_p1 class.
This is the abstract base class for additional information to be put into the JetTag class.
std::vector< float > m_shapeStore
JetMomentStore.
Definition Jet_p3.h:79
char m_ratioPy
ratio for uncalibrated p_x
Definition Jet_p3.h:98
unsigned int m_num_combinedLikelihood
combined likelihoods
Definition Jet_p3.h:76
bool m_ownPointers
True if we own the objects pointed to from the above collections.
Definition Jet_p3.h:92
Jet_p3 & operator=(Jet_p3 &&) noexcept=default
char m_ratioPx
ratio for uncalibrated E
Definition Jet_p3.h:97
Jet_p3(const Jet_p3 &other) noexcept=default
char m_ratioE
Definition Jet_p3.h:96
~Jet_p3()
Destructor:
Definition Jet_p3.cxx:21
P4PxPyPzE_p1 m_momentum
the 4-mom part
Definition Jet_p3.h:71
Jet_p3 & operator=(const Jet_p3 &) noexcept=default
std::vector< const JetTagInfoBase * > m_tagJetInfo
JetTagInfoBase objects.
Definition Jet_p3.h:82
Navigable_p1< uint32_t, double > m_nav
the navigable part
Definition Jet_p3.h:68
std::vector< const JetAssociationBase * > m_associations
JetAssociationBase objects.
Definition Jet_p3.h:85
Jet_p3()=default
Default constructor:
Jet_p3(Jet_p3 &&other) noexcept=default
unsigned int m_author
Definition Jet_p3.h:73
friend class JetCnv_p3
Definition Jet_p3.h:39
char m_ratioPz
ratio for uncalibrated p_y
Definition Jet_p3.h:99
#define private