ATLAS Offline Software
Jet_p2.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_P2_H
15 #define JETEVENTTPCNV_JET_P2_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_p2;
31 
32 class Jet_p2
33 {
35  // Friend classes
37 
38  // Make the AthenaPoolCnv class our friend
39  friend class JetCnv_p2;
40 
42  // Public methods:
44 public:
45 
48  Jet_p2() = default;
49 
52  ~Jet_p2();
53 
54  // copy and move constructor defaulted
55  Jet_p2(const Jet_p2& other) noexcept = default;
56  Jet_p2(Jet_p2&& other) noexcept = default;
57 
58  // copy and move assignment defaulted
59  Jet_p2 & operator=(const Jet_p2 &) noexcept = default;
60  Jet_p2 & operator=(Jet_p2 &&) noexcept = default;
61 
63  // Private data:
65 private:
66 
69 
72 
73  unsigned int m_author{};
74 
76  std::vector<double> m_combinedLikelihood;
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 
96 #endif //> JETEVENTTPCNV_JET_P2_H
Jet_p2::m_momentum
P4PxPyPzE_p1 m_momentum
the 4-mom part
Definition: Jet_p2.h:71
Jet_p2::m_author
unsigned int m_author
Definition: Jet_p2.h:73
Jet_p2::m_associations
std::vector< const JetAssociationBase * > m_associations
JetAssociationBase objects.
Definition: Jet_p2.h:85
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
Navigable_p1
Definition: Navigable_p1.h:22
P4PxPyPzE_p1.h
Jet_p2::m_tagJetInfo
std::vector< const JetTagInfoBase * > m_tagJetInfo
JetTagInfoBase objects.
Definition: Jet_p2.h:82
JetTagInfoBase
Definition: JetTagInfoBase.h:56
Navigable_p1.h
This file contains the class definition for the Navigable_p1 class.
Jet_p2::m_combinedLikelihood
std::vector< double > m_combinedLikelihood
combined likelihoods
Definition: Jet_p2.h:76
Jet_p2
Definition: Jet_p2.h:33
Jet_p2::operator=
Jet_p2 & operator=(const Jet_p2 &) noexcept=default
Jet_p2::m_nav
Navigable_p1< uint32_t, double > m_nav
the navigable part
Definition: Jet_p2.h:68
JetCnv_p2
Definition: JetCnv_p2.h:27
Jet_p2::m_ownPointers
bool m_ownPointers
True if we own the objects pointed to from the above collections.
Definition: Jet_p2.h:92
JetAssociationBase
Definition: JetAssociationBase.h:21
Jet_p2::Jet_p2
Jet_p2(const Jet_p2 &other) noexcept=default
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
Jet_p2::operator=
Jet_p2 & operator=(Jet_p2 &&) noexcept=default
Jet_p2::Jet_p2
Jet_p2(Jet_p2 &&other) noexcept=default
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
P4PxPyPzE_p1
Definition: P4PxPyPzE_p1.h:23
Jet_p2::m_shapeStore
std::vector< float > m_shapeStore
JetMomentStore.
Definition: Jet_p2.h:79
python.CaloScaleNoiseConfig.default
default
Definition: CaloScaleNoiseConfig.py:79
Jet_p2::~Jet_p2
~Jet_p2()
Destructor:
Definition: Jet_p2.cxx:22
Jet_p2::Jet_p2
Jet_p2()=default
Default constructor: