ATLAS Offline Software
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 
30 template< class RawDataT >
31 class InDetRawDataCollection : public Identifiable, public DataVector< RawDataT > {
32 
34  // Public methods:
36 public:
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:
59 private:
60 
63 
64 public:
65  // public default constructor needed for I/O, but should not be
66  // called from an alg
68 
70  // Private data:
72 private:
74  Identifier m_id; // identifier of the DE
75 };
76 
78 template< class RawDataT >
79 MsgStream& operator << ( MsgStream& sl, const InDetRawDataCollection< RawDataT >& coll);
80 
82 template< class RawDataT >
83 std::ostream& operator << ( std::ostream& sl, const InDetRawDataCollection< RawDataT >& coll);
84 
85 // member functions that use Collection T
86 #include"InDetRawData/InDetRawDataCollection.icc"
87 // Inline methods:
90 
91 #endif // INDETRAWDATA_INDETRAWDATACOLLECTION_H
InDetRawDataCollection::setIdentifier
void setIdentifier(Identifier id)
InDetRawDataCollection::InDetRawDataCollection
InDetRawDataCollection(const IdentifierHash idHash)
InDetRawDataCollection::identify
virtual Identifier identify() const override final
taskman.template
dictionary template
Definition: taskman.py:317
Identifiable.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
InDetRawDataCollection::identifyHash
virtual IdentifierHash identifyHash() const override final
InDetRawDataCollection::m_idHash
const IdentifierHash m_idHash
Definition: InDetRawDataCollection.h:73
InDetRawDataCollection::~InDetRawDataCollection
virtual ~InDetRawDataCollection()
InDetRawDataCollection
Definition: InDetRawDataCollection.h:31
InDetRawData.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
IdentifierHash.h
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
Identifiable
This class provides an abstract interface to an Identifiable object.
Definition: Identifiable.h:27
InDetRawDataCollection::m_id
Identifier m_id
Definition: InDetRawDataCollection.h:74
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
Identifier
Definition: IdentifierFieldParser.cxx:14