ATLAS Offline Software
Loading...
Searching...
No Matches
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
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
47CLASS_DEF(IOVDbTestMDTEleMap, 130789821, 1)
48
49#endif //IOVDBTEST_MDT_ELE_MAP_H
50
51
52
53
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
void set(int runNumber, int eventNumber, const std::string &name)
const std::string & name() const