ATLAS Offline Software
MuonCoinDataCollection.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // CoinDataCollection.h
7 // Header file for class TrigCoinDataCollection
9 // (c) ATLAS Detector software
11 
12 #ifndef MUONTRIGCOINDATA_MUONCOINDATACOLLECTION_H
13 #define MUONTRIGCOINDATA_MUONCOINDATACOLLECTION_H
14 
15 // Base classes
16 #include "Identifier/Identifier.h"
19 
20 #include "AthenaKernel/CLASS_DEF.h"
21 
22 namespace Muon{
23 
24 template< class CoinDataT >
25 class MuonCoinDataCollection : public DataVector< CoinDataT > {
26 
28  // Public methods:
30 public:
31 
32  // Constructor with parameters:
33  // Hashed offline identifier of the DE
35 
38 
41 
42 
44  // Const methods:
46 
47  // typedef needed for IdentifiableContainer base class
48  typedef Identifier ID;
49 
50  // identifier of this detector element:
52 
54 
56  // plottable
57  virtual std::string type() const;
58 
59 
60  // typedef needed for IdentifiableContainer base class
61 // typedef TrigCoinData DIGIT;
62 
64  // Private methods:
66 private:
67 
70 
72  // Private data:
74 private:
76  Identifier m_id; // identifier of the DE
77 
78 
79 };
80 // member functions that use Collection T
83 // Inline methods:
85 
86 }
87 
88 #endif // MUONTRIGCOINDATA_MUONCOINDATACOLLECTION_H
89 
Muon::MuonCoinDataCollection::MuonCoinDataCollection
MuonCoinDataCollection()
Default Constructor (for persistency)
Muon::MuonCoinDataCollection::MuonCoinDataCollection
MuonCoinDataCollection(const MuonCoinDataCollection &)
MuonCoinDataCollection.icc
Muon::MuonCoinDataCollection::m_id
Identifier m_id
Definition: MuonCoinDataCollection.h:76
Muon::MuonCoinDataCollection::operator=
MuonCoinDataCollection & operator=(const MuonCoinDataCollection &)
Muon::MuonCoinDataCollection::m_idHash
const IdentifierHash m_idHash
Definition: MuonCoinDataCollection.h:75
Muon::MuonCoinDataCollection
Definition: MuonCoinDataCollection.h:25
Muon::MuonCoinDataCollection::identify
Identifier identify() const
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::MuonCoinDataCollection::~MuonCoinDataCollection
virtual ~MuonCoinDataCollection()
Destructor:
Muon::MuonCoinDataCollection::ID
Identifier ID
Definition: MuonCoinDataCollection.h:48
Muon::MuonCoinDataCollection::type
virtual std::string type() const
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
IdentifierHash.h
Muon::MuonCoinDataCollection::identifyHash
IdentifierHash identifyHash() const
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
Muon::MuonCoinDataCollection::setIdentifier
void setIdentifier(Identifier id)
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
CLASS_DEF.h
macros to associate a CLID to a type
Muon::MuonCoinDataCollection::MuonCoinDataCollection
MuonCoinDataCollection(const IdentifierHash idHash)
Identifier
Definition: IdentifierFieldParser.cxx:14