ATLAS Offline Software
Jet_p3.h
Go to the documentation of this file.
1 
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
27 class JetTagInfoBase;
28 class JetAssociationBase;
29 
30 class JetCnv_p3;
31 
32 class Jet_p3
33 {
35  // Friend classes
37 
38  // Make the AthenaPoolCnv class our friend
39  friend class JetCnv_p3;
40 
42  // Public methods:
44 public:
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:
65 private:
66 
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};
101 };
102 
103 #endif //> JETEVENTTPCNV_JET_P3_H
Jet_p3::m_momentum
P4PxPyPzE_p1 m_momentum
the 4-mom part
Definition: Jet_p3.h:71
Jet_p3::m_shapeStore
std::vector< float > m_shapeStore
JetMomentStore.
Definition: Jet_p3.h:79
Jet_p3::m_ratioPx
char m_ratioPx
ratio for uncalibrated E
Definition: Jet_p3.h:97
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
Navigable_p1
Definition: Navigable_p1.h:22
Jet_p3::m_associations
std::vector< const JetAssociationBase * > m_associations
JetAssociationBase objects.
Definition: Jet_p3.h:85
Jet_p3
Definition: Jet_p3.h:33
P4PxPyPzE_p1.h
Jet_p3::~Jet_p3
~Jet_p3()
Destructor:
Definition: Jet_p3.cxx:21
JetTagInfoBase
Definition: JetTagInfoBase.h:56
Navigable_p1.h
This file contains the class definition for the Navigable_p1 class.
JetCnv_p3
Definition: JetCnv_p3.h:27
Jet_p3::m_num_combinedLikelihood
unsigned int m_num_combinedLikelihood
combined likelihoods
Definition: Jet_p3.h:76
Jet_p3::m_ratioPz
char m_ratioPz
ratio for uncalibrated p_y
Definition: Jet_p3.h:99
JetAssociationBase
Definition: JetAssociationBase.h:21
Jet_p3::m_ratioE
char m_ratioE
Definition: Jet_p3.h:96
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
Jet_p3::operator=
Jet_p3 & operator=(const Jet_p3 &) noexcept=default
Jet_p3::m_ownPointers
bool m_ownPointers
True if we own the objects pointed to from the above collections.
Definition: Jet_p3.h:92
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
P4PxPyPzE_p1
Definition: P4PxPyPzE_p1.h:23
Jet_p3::m_tagJetInfo
std::vector< const JetTagInfoBase * > m_tagJetInfo
JetTagInfoBase objects.
Definition: Jet_p3.h:82
Jet_p3::m_ratioPy
char m_ratioPy
ratio for uncalibrated p_x
Definition: Jet_p3.h:98
Jet_p3::Jet_p3
Jet_p3(Jet_p3 &&other) noexcept=default
Jet_p3::Jet_p3
Jet_p3()=default
Default constructor:
Jet_p3::operator=
Jet_p3 & operator=(Jet_p3 &&) noexcept=default
python.CaloScaleNoiseConfig.default
default
Definition: CaloScaleNoiseConfig.py:79
Jet_p3::m_nav
Navigable_p1< uint32_t, double > m_nav
the navigable part
Definition: Jet_p3.h:68
Jet_p3::Jet_p3
Jet_p3(const Jet_p3 &other) noexcept=default
Jet_p3::m_author
unsigned int m_author
Definition: Jet_p3.h:73