ATLAS Offline Software
IOVDbTestMDTEleMap.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  -----------------------------------------
7  ***************************************************************************
8  this class reads in the electronic mapping from the TBElectronics.map-file to return the Muon-Offline-Identifier to a given channel.
9  ***************************************************************************/
10 #ifndef IOVDBTEST_MDT_ELE_MAP_H
11 #define IOVDBTEST_MDT_ELE_MAP_H
12 
13 //<doc><file> $Id: IOVDbTestMDTEleMap.h,v 1.5 2006-03-26 17:26:30 schaffer Exp $
14 //<version> $Name: not supported by cvs2svn $
15 
16 #include "AthenaKernel/CLASS_DEF.h"
17 #include<string>
18 
19 #define DIGIT 0
20 #define CSM_TRIG 1
21 
23 
24  public:
25  //Constructor:
27 
28  //Destructor
30 
31  //methodes:
32  int runNumber() const;
33  int eventNumber() const;
34  int timeStamp() const;
35  const std::string& name() const;
36 
37  void set(int runNumber, int eventNumber, const std::string& name);
38  void set(int timeStamp, const std::string& name);
39 
40  private:
44  std::string m_name;
45 };
46 
47 CLASS_DEF(IOVDbTestMDTEleMap, 130789821, 1)
48 
49 #endif //IOVDBTEST_MDT_ELE_MAP_H
50 
51 
52 
53 
IOVDbTestMDTEleMap::set
void set(int runNumber, int eventNumber, const std::string &name)
Definition: IOVDbTestMDTEleMap.cxx:32
IOVDbTestMDTEleMap::runNumber
int runNumber() const
Definition: IOVDbTestMDTEleMap.cxx:46
IOVDbTestMDTEleMap::~IOVDbTestMDTEleMap
~IOVDbTestMDTEleMap()
Definition: IOVDbTestMDTEleMap.cxx:23
IOVDbTestMDTEleMap::IOVDbTestMDTEleMap
IOVDbTestMDTEleMap()
Definition: IOVDbTestMDTEleMap.cxx:16
IOVDbTestMDTEleMap::m_timeStamp
int m_timeStamp
Definition: IOVDbTestMDTEleMap.h:43
IOVDbTestMDTEleMap::m_name
std::string m_name
Definition: IOVDbTestMDTEleMap.h:44
IOVDbTestMDTEleMap
Definition: IOVDbTestMDTEleMap.h:22
IOVDbTestMDTEleMap::name
const std::string & name() const
Definition: IOVDbTestMDTEleMap.cxx:26
IOVDbTestMDTEleMap::m_eventNumber
int m_eventNumber
Definition: IOVDbTestMDTEleMap.h:42
IOVDbTestMDTEleMap::timeStamp
int timeStamp() const
Definition: IOVDbTestMDTEleMap.cxx:56
IOVDbTestMDTEleMap::eventNumber
int eventNumber() const
Definition: IOVDbTestMDTEleMap.cxx:51
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
IOVDbTestMDTEleMap::m_runNumber
int m_runNumber
Definition: IOVDbTestMDTEleMap.h:41
CLASS_DEF.h
macros to associate a CLID to a type