ATLAS Offline Software
Loading...
Searching...
No Matches
sTgcDigitCollection.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// sTgcDigitCollection.h
6
7#ifndef MUONSPECTROMETER_STGCDIGITCOLLECTION_H
8#define MUONSPECTROMETER_STGCDIGITCOLLECTION_H
9
11#include "Identifier/Identifier.h"
13
16
17class sTgcDigitCollection : public DataVector<sTgcDigit>
18{
19
20 public: // functions
21
22 typedef Identifier ID;
23 typedef sTgcDigit DIGIT;
24 // Default constructor.
28
29 // Creates an empty container ready for writing.
33
35 {
36 return m_id;
37 }
38
40 {
41 return m_idHash;
42 }
43
44private:
47};
48
49CLASS_DEF(sTgcDigitCollection, 1084450701, 1)
50
51// Class needed only for persistency
53CLASS_DEF( sTgcDigitCollection_vector , 1257206222 , 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.
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.
sTgcDigitCollection(Identifier id, IdentifierHash idHash)
Identifier identify() const
IdentifierHash identifierHash() const
DataVector< sTgcDigitCollection > sTgcDigitCollection_vector