ATLAS Offline Software
MuonSimDataCollection.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  CLASS_DEF for MuonSimData map
7  ------------------------------
8  ATLAS Collaboration
9  ***************************************************************************/
10 
11 // $Id: MuonSimDataCollection.h,v 1.1 2004-05-29 15:17:52 ketevi Exp $
12 
13 #ifndef MUONSIMDATA_MUONSIMDATACOLLECTION_H
14 # define MUONSIMDATA_MUONSIMDATACOLLECTION_H
15 
16 #include "AthenaKernel/CLASS_DEF.h"
18 #include "Identifier/Identifier.h"
19 #include <map>
20 
21 class MuonSimDataCollection : public std::map<Identifier,MuonSimData> {
22  public:
24  virtual ~MuonSimDataCollection() = default;
25 
26  // Helpers for easy access from python / debugger.
27  Identifier id (size_t i) const;
28  const MuonSimData* data (size_t i) const;
29 };
30 CLASS_DEF(MuonSimDataCollection, 41658935, 1)
31 
32 
33 #endif // MUONSIMDATA_MUONSIMDATACLASS_DEF_H
34 
MuonSimDataCollection::MuonSimDataCollection
MuonSimDataCollection()
Definition: MuonSimDataCollection.cxx:8
MuonSimDataCollection::data
const MuonSimData * data(size_t i) const
Definition: MuonSimDataCollection.cxx:18
MuonSimDataCollection::~MuonSimDataCollection
virtual ~MuonSimDataCollection()=default
lumiFormat.i
int i
Definition: lumiFormat.py:85
MuonSimDataCollection
Definition: MuonSimDataCollection.h:21
MuonSimDataCollection::id
Identifier id(size_t i) const
Definition: MuonSimDataCollection.cxx:11
MuonSimData
Definition: MuonSimData.h:62
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
CLASS_DEF.h
macros to associate a CLID to a type
MuonSimData.h
Identifier
Definition: IdentifierFieldParser.cxx:14