ATLAS Offline Software
Jet_p3.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // Jet_p3.cxx
7 // Implementation file for class Jet_p3
8 // Author: P.A.Delsart
9 // new JetEDM
11 
12 
13 // JetEventTPCnv includes
14 #include "JetEventTPCnv/Jet_p3.h"
15 
18 
19 
20 // Delete the pointed-to objects, if we own them.
22 {
23  if (m_ownPointers) {
24  for (size_t i = 0; i < m_tagJetInfo.size(); i++)
25  delete m_tagJetInfo[i];
26 
27  for (size_t i = 0; i < m_associations.size(); i++)
28  delete m_associations[i];
29  }
30 }
31 
JetTagInfoBase.h
Jet_p3::m_associations
std::vector< const JetAssociationBase * > m_associations
JetAssociationBase objects.
Definition: Jet_p3.h:85
JetAssociationBase.h
Jet_p3.h
Jet_p3::~Jet_p3
~Jet_p3()
Destructor:
Definition: Jet_p3.cxx:21
lumiFormat.i
int i
Definition: lumiFormat.py:85
Jet_p3::m_ownPointers
bool m_ownPointers
True if we own the objects pointed to from the above collections.
Definition: Jet_p3.h:92
Jet_p3::m_tagJetInfo
std::vector< const JetTagInfoBase * > m_tagJetInfo
JetTagInfoBase objects.
Definition: Jet_p3.h:82