ATLAS Offline Software
Tracking/TrkEvent/TrkSpacePoint/TrkSpacePoint/SpacePointContainer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // SpacePointContaine.h
7 // Header file for class SpacePointContainer
9 // (c) ATLAS Detector software
11 // Container for SpacePoints collections for InnerDetector and Muons
13 // Version 1.0 14/10/2003 Veronique Boisvert
15 
16 #ifndef TRKSPACEPOINT_SPACEPOINTCONTAINER_H
17 #define TRKSPACEPOINT_SPACEPOINTCONTAINER_H
18 
19 // Base classes
21 //Needed Classes
23 //#include "TrkSpacePoint/SpacePointCLASS_DEF.h"
24 
25 
27 
29 : public IdentifiableContainer<SpacePointCollection>{
30 
32  // Public methods:
34 public:
35 
36  // Constructor with parameters:
37  SpacePointContainer(unsigned int max);
38 
40 
41  // Destructor:
43 
45  static const CLID& classID()
46  {
47  static const CLID id = 1273119430 ;
48  return id;
49  // we do not know why using the traits does not work
50  //return ClassID_traits<SpacePointContainer>::ID();
51  }
52 
54  virtual const CLID& clID() const
55  {
56  return classID();
57  }
58 
59 
61  // Const methods:
63 
64 
66  // Non-const methods:
68 
69 
70 
72  // Private methods:
74 private:
75 
76  SpacePointContainer() = delete;
80  // Private data:
82 private:
83 
84 };
86 // Inline methods:
88 
89 #include "AthenaKernel/CLASS_DEF.h"
90 CLASS_DEF(SpacePointContainer,1273119430,1)
91 
92 
93 CLASS_DEF( SpacePointCache , 198940329 , 1 )
94 
95 
96 #endif // TRKSPACEPOINT_SPACEPOINTCONTAINER_H
max
#define max(a, b)
Definition: cfImp.cxx:41
SpacePointContainer::clID
virtual const CLID & clID() const
return class ID
Definition: Tracking/TrkEvent/TrkSpacePoint/TrkSpacePoint/SpacePointContainer.h:54
SpacePointContainer::SpacePointContainer
SpacePointContainer()=delete
SpacePointContainer::SpacePointContainer
SpacePointContainer(const SpacePointContainer &)=delete
SpacePointCollection.h
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
SpacePointContainer::operator=
SpacePointContainer & operator=(const SpacePointContainer &)=delete
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:220
SpacePointContainer::classID
static const CLID & classID()
return class ID
Definition: Tracking/TrkEvent/TrkSpacePoint/TrkSpacePoint/SpacePointContainer.h:45
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
SpacePointContainer
Definition: Tracking/TrkEvent/TrkSpacePoint/TrkSpacePoint/SpacePointContainer.h:29
IdentifiableContainerMT
Definition: IdentifiableContainerMT.h:30
SpacePointCache
EventContainers::IdentifiableCache< SpacePointCollection > SpacePointCache
Definition: Tracking/TrkEvent/TrkSpacePoint/TrkSpacePoint/SpacePointContainer.h:26
CLASS_DEF.h
macros to associate a CLID to a type
SpacePointContainer::~SpacePointContainer
virtual ~SpacePointContainer()
EventContainers::IdentifiableCache
Definition: IdentifiableCache.h:29
IdentifiableContainer.h
This class is a general container which can hold objects of accessed by an IdentifierHash For more in...