ATLAS Offline Software
Loading...
Searching...
No Matches
MmDigitCollection.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// MmDigitCollection.h
6
7#ifndef MUONSPECTROMETER_MMDIGITCOLLECTION_H
8#define MUONSPECTROMETER_MMDIGITCOLLECTION_H
9
11#include "Identifier/Identifier.h"
13
16
17class MmDigitCollection : public DataVector<MmDigit>
18{
19
20 public: // functions
21 //typedef
22 typedef Identifier ID;
23 typedef MmDigit DIGIT;
24 // Default constructor.
27
28 // Creates an empty container ready for writing.
31
33 return m_id;
34 }
35
37 return m_idHash;
38 }
39
40 private:
43
44};
45
46CLASS_DEF(MmDigitCollection, 1166674576, 1)
47
48// Class needed only for persistency
50CLASS_DEF( MmDigitCollection_vector , 1149160569 , 1 )
51
52#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< MmDigitCollection > MmDigitCollection_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.
MmDigitCollection(Identifier id, IdentifierHash idHash)
IdentifierHash m_idHash
Identifier identify() const
IdentifierHash identifierHash() const