ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEvent
TrkSpacePoint
TrkSpacePoint
SpacePointCollection.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
// SpacePointCollection.h
7
// Header file for class SpacePointCollection
9
// (c) ATLAS Detector software
11
// Class to contain all the SPs of a detector element:
12
// module for Pixel or wafer for SCT or layer for TRT,
13
// for Muons:
14
// For SCT the DE is ambiguous, we are using the id of the R module (not the one with
15
// the stereo angle )
16
// The overlap space points are contained in the SpacePointOverlapCollection
18
// Version 1.0 14/10/2003 Veronique Boisvert
20
21
#ifndef TRKSPACEPOINT_SPACEPOINTCOLLECTION_H
22
#define TRKSPACEPOINT_SPACEPOINTCOLLECTION_H
23
24
// Base classes
25
#include "Identifier/Identifier.h"
26
#include "
Identifier/Identifiable.h
"
27
#include "
Identifier/IdentifierHash.h
"
28
#include "
AthContainers/DataVector.h
"
29
#include "GaudiKernel/DataObject.h"
30
//class SpacePoint;
31
#include "
TrkSpacePoint/SpacePoint.h
"
32
33
34
class
SpacePointCollectionCopyConstructorCalled
{};
35
36
37
class
SpacePointCollection
38
:
public
Identifiable
,
39
public
DataVector
< Trk::SpacePoint >
40
{
42
// Public methods:
44
public
:
45
46
// Standard thinning code won't work on this type because
47
// we have no default constructor.
48
static
bool
constexpr
supportsThinning
=
false
;
49
50
// Constructor with parameters:
51
// Hashed offline identifier of the DE
52
SpacePointCollection
(
const
IdentifierHash
idHash);
53
54
// Destructor:
55
virtual
~SpacePointCollection
();
56
58
SpacePointCollection
(
const
SpacePointCollection
& spc);
59
60
62
// Const methods:
64
65
virtual
Identifier
identify
()
const
override final;
66
67
virtual
IdentifierHash
identifyHash
()
const
override final;
68
69
void
setIdentifier
(
Identifier
id
);
70
71
virtual
std
::
string
type
()
const
;
72
74
// Private methods:
76
private
:
77
78
SpacePointCollection
() = delete;
79
SpacePointCollection
&operator=(
const
SpacePointCollection
&) = delete;
80
82
// Private data:
84
private
:
85
const
IdentifierHash
m_idHash
;
86
Identifier
m_id
;
// identifier of the DE
87
};
88
90
MsgStream& operator << ( MsgStream& sl,
const
SpacePointCollection
& coll);
91
93
std
::
ostream
& operator << (
std
::
ostream
& sl,
const
SpacePointCollection
& coll);
95
// Inline methods:
97
98
#include "AthenaKernel/CLASS_DEF.h"
99
CLASS_DEF
(
SpacePointCollection
,1156991496,1)
100
101
#endif
// TRKSPACEPOINT_SPACEPOINTCOLLECTION_H
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:67
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
Identifiable.h
IdentifierHash.h
SpacePoint.h
DataVector< Trk::SpacePoint >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
Identifiable
This class provides an abstract interface to an Identifiable object.
Definition
Identifiable.h:27
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
SpacePointCollectionCopyConstructorCalled
Definition
SpacePointCollection.h:34
SpacePointCollection::supportsThinning
static bool constexpr supportsThinning
Definition
SpacePointCollection.h:48
SpacePointCollection::m_id
Identifier m_id
Definition
SpacePointCollection.h:86
SpacePointCollection::identify
virtual Identifier identify() const override final
Definition
SpacePointCollection.cxx:36
SpacePointCollection::~SpacePointCollection
virtual ~SpacePointCollection()
SpacePointCollection::SpacePointCollection
SpacePointCollection()=delete
SpacePointCollection::setIdentifier
void setIdentifier(Identifier id)
Definition
SpacePointCollection.cxx:46
SpacePointCollection::SpacePointCollection
SpacePointCollection(const IdentifierHash idHash)
Definition
SpacePointCollection.cxx:17
SpacePointCollection::identifyHash
virtual IdentifierHash identifyHash() const override final
Definition
SpacePointCollection.cxx:41
SpacePointCollection::type
virtual std::string type() const
Definition
SpacePointCollection.cxx:51
SpacePointCollection::m_idHash
const IdentifierHash m_idHash
Definition
SpacePointCollection.h:85
ostream
STL class.
const
Identifier
Definition
IdentifierFieldParser.cxx:14
std
STL namespace.
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0