ATLAS Offline Software
Loading...
Searching...
No Matches
Jet_p2.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_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
27class JetTagInfoBase;
29
30class JetCnv_p2;
31
32class Jet_p2
33{
35 // Friend classes
37
38 // Make the AthenaPoolCnv class our friend
39 friend class JetCnv_p2;
40
42 // Public methods:
44public:
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:
65private:
66
68 Navigable_p1<uint32_t, double> m_nav;
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
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.
bool m_ownPointers
True if we own the objects pointed to from the above collections.
Definition Jet_p2.h:92
~Jet_p2()
Destructor:
Definition Jet_p2.cxx:22
Jet_p2 & operator=(Jet_p2 &&) noexcept=default
Jet_p2(const Jet_p2 &other) noexcept=default
std::vector< float > m_shapeStore
JetMomentStore.
Definition Jet_p2.h:79
Jet_p2(Jet_p2 &&other) noexcept=default
Jet_p2 & operator=(const Jet_p2 &) noexcept=default
Navigable_p1< uint32_t, double > m_nav
the navigable part
Definition Jet_p2.h:68
std::vector< const JetAssociationBase * > m_associations
JetAssociationBase objects.
Definition Jet_p2.h:85
Jet_p2()=default
Default constructor:
friend class JetCnv_p2
Definition Jet_p2.h:39
unsigned int m_author
Definition Jet_p2.h:73
std::vector< const JetTagInfoBase * > m_tagJetInfo
JetTagInfoBase objects.
Definition Jet_p2.h:82
std::vector< double > m_combinedLikelihood
combined likelihoods
Definition Jet_p2.h:76
P4PxPyPzE_p1 m_momentum
the 4-mom part
Definition Jet_p2.h:71
#define private