ATLAS Offline Software
Loading...
Searching...
No Matches
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"
29#include "GaudiKernel/DataObject.h"
30//class SpacePoint;
32
33
35
36
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
53
54 // Destructor:
56
59
60
62 // Const methods:
64
65 virtual Identifier identify() const override final;
66
67 virtual IdentifierHash identifyHash() const override final;
68
70
71 virtual std::string type() const;
72
74 // Private methods:
76 private:
77
80
82 // Private data:
84 private:
86 Identifier m_id; // identifier of the DE
87};
88
90MsgStream& operator << ( MsgStream& sl, const SpacePointCollection& coll);
91
93std::ostream& operator << ( std::ostream& sl, const SpacePointCollection& coll);
95// Inline methods:
97
98#include "AthenaKernel/CLASS_DEF.h"
100
101#endif // TRKSPACEPOINT_SPACEPOINTCOLLECTION_H
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
An STL vector of pointers that by default owns its pointed-to elements.
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
This class provides an abstract interface to an Identifiable object.
This is a "hash" representation of an Identifier.
static bool constexpr supportsThinning
virtual Identifier identify() const override final
virtual ~SpacePointCollection()
SpacePointCollection()=delete
void setIdentifier(Identifier id)
SpacePointCollection(const IdentifierHash idHash)
virtual IdentifierHash identifyHash() const override final
virtual std::string type() const
const IdentifierHash m_idHash
STL class.
STL namespace.
#define private