ATLAS Offline Software
Loading...
Searching...
No Matches
TgcDigitCollection.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// TgcDigitCollection.h
6
7#ifndef MUONSPECTROMETER_TGCDIGITCOLLECTION_H
8#define MUONSPECTROMETER_TGCDIGITCOLLECTION_H
9
11#include "Identifier/Identifier.h"
15
16class TgcDigitCollection : public DataVector<TgcDigit>
17{
18
19public: // functions
20 //typedef
21 typedef Identifier ID;
22 typedef TgcDigit DIGIT;
23 // Default constructor.
27
28 // Creates an empty container ready for writing.
32
34 {
35 return m_id;
36 }
37
39 {
40 return m_idHash;
41 }
42
43 private:
46
47};
48
50
51// Class needed only for persistency
53CLASS_DEF( TgcDigitCollection_vector , 1095153488 , 1 )
54
55#endif
macros to associate a CLID to a type
#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< TgcDigitCollection > TgcDigitCollection_vector
Derived DataVector<T>.
Definition DataVector.h:795
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
This is a "hash" representation of an Identifier.
IdentifierHash identifierHash() const
TgcDigitCollection(Identifier id, IdentifierHash idHash)
Identifier identify() const
IdentifierHash m_idHash