ATLAS Offline Software
PrepRawDataCollection.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 // PrepRawDataCollection.h
7 // Header file for class PrepRawDataCollection
9 // (c) ATLAS Detector software
11 // Class to contain all the RIOs of a detector element:
12 // module for Pixel or wafer for SCT or layer for TRT,
13 // for Muons:
15 // Version 1.0 15/07/2003 Veronique Boisvert
17 
18 #ifndef TRKPREPRAWDATA_PREPRAWDATACOLLECTION_H
19 #define TRKPREPRAWDATA_PREPRAWDATACOLLECTION_H
20 
21 // Base classes
23 #include "Identifier/Identifier.h"
26 
27 
28 // Needed class
30 
31 namespace Trk{
32 
34 
35 template< class PrepRawDataT >
36 class PrepRawDataCollection : public Identifiable, public DataVector< PrepRawDataT > {
37 
39  // Public methods:
41  public:
42 
43  // Constructor with parameters:
44  // Hashed offline identifier of the DE
49 
50  // Destructor:
52 
53 
55  // Const methods:
57 
58  // identifier of this detector element:
59  virtual Identifier identify() const override final;
60 
61  virtual IdentifierHash identifyHash() const override final;
62 
64 
65  // plottable
66  virtual std::string type() const;
67 
69  // Private methods:
71 
72  private:
73 
75 
77  // Private data:
79  private:
81  Identifier m_id; // identifier of the DE
82 };
83 // member functions that use Collection T
84 #include"TrkPrepRawData/PrepRawDataCollection.icc"
85 }
86 
87 #endif // TRKPREPRAWDATA_PREPRAWDATACOLLECTION_H
Trk::PrepRawDataCollection::~PrepRawDataCollection
virtual ~PrepRawDataCollection()
Trk::PrepRawDataCollection
Definition: PrepRawDataCollection.h:36
Identifiable.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Trk::PrepRawDataCollection::PrepRawDataCollection
PrepRawDataCollection()
PrepRawData.h
Trk::PrepRawDataCollection::PrepRawDataCollection
PrepRawDataCollection(const IdentifierHash idHash)
Trk::PrepRawDataCollectionCopyConstructorCalled
Definition: PrepRawDataCollection.h:33
Trk::PrepRawDataCollection::identifyHash
virtual IdentifierHash identifyHash() const override final
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
IdentifierHash.h
Trk::PrepRawDataCollection::m_id
Identifier m_id
Definition: PrepRawDataCollection.h:81
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
Trk::PrepRawDataCollection::identify
virtual Identifier identify() const override final
Identifiable
This class provides an abstract interface to an Identifiable object.
Definition: Identifiable.h:27
Trk::PrepRawDataCollection::PrepRawDataCollection
PrepRawDataCollection(const PrepRawDataCollection &prd)
added for 10.0.0 as a hack for HLT.
Trk::PrepRawDataCollection::type
virtual std::string type() const
Trk::PrepRawDataCollection::m_idHash
const IdentifierHash m_idHash
Definition: PrepRawDataCollection.h:80
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
Trk::PrepRawDataCollection::setIdentifier
void setIdentifier(Identifier id)
Identifier
Definition: IdentifierFieldParser.cxx:14