ATLAS Offline Software
Loading...
Searching...
No Matches
InDetRawDataCollection.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6// InDetRawDataCollection.h
7// Header file for class InDetRawDataCollection
9// (c) ATLAS Detector software
11// Class to contain all the RawDataObject of a detector element:
12// module for Pixel or wafer for SCT or layer for TRT
14// Version 1.0 13/08/2002 Veronique Boisvert
16
17#ifndef INDETRAWDATA_INDETRAWDATACOLLECTION_H
18#define INDETRAWDATA_INDETRAWDATACOLLECTION_H
19
20// Base classes
22#include "Identifier/Identifier.h"
25
26
27// Needed class
29
30template< class RawDataT >
31class InDetRawDataCollection : public Identifiable, public DataVector< RawDataT > {
32
34 // Public methods:
36public:
37
38 // Constructor with parameters:
39 // Hashed offline identifier of the DE
41
42 // Destructor:
44
45
47 // Const methods:
49
50 virtual Identifier identify() const override final;
51
52 virtual IdentifierHash identifyHash() const override final;
53
55
57 // Private methods:
60
63
64public:
65 // public default constructor needed for I/O, but should not be
66 // called from an alg
68
70 // Private data:
74 Identifier m_id; // identifier of the DE
75};
76
78template< class RawDataT >
79MsgStream& operator << ( MsgStream& sl, const InDetRawDataCollection< RawDataT >& coll);
80
82template< class RawDataT >
83std::ostream& operator << ( std::ostream& sl, const InDetRawDataCollection< RawDataT >& coll);
84
85// member functions that use Collection T
86#include"InDetRawData/InDetRawDataCollection.icc"
88// Inline methods:
90
91#endif // INDETRAWDATA_INDETRAWDATACOLLECTION_H
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.
virtual Identifier identify() const override final
virtual IdentifierHash identifyHash() const override final
InDetRawDataCollection(const IdentifierHash idHash)
virtual ~InDetRawDataCollection()
STL class.
STL namespace.
#define private