BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/CalibData/CalibData/CalibModel.h
Go to the documentation of this file.
1// $Header: /bes/bes/BossCvs/Calibration/CalibData/CalibData/CalibModel.h,v 1.16 2011/12/20 00:10:29 zhangy Exp $
2
3#ifndef CalibData_CalibModel_h
4#define CalibData_CalibModel_h
5
6/**
7 @file CalibModel.h
8 Definition of strings holding paths to calibration data objects
9 in the TDDS (transient detector data store)
10 @author : adapted from similar structures for TDS
11 @author J. Bogart
12 */
13
14#include <string>
15#include <vector>
16#include "GaudiKernel/ClassID.h"
17
18
19// Start class ids at 6000 to stay well away from Gaudi classes and
20// our TDS event classes. Layout could be
21// 6000 - 6099 internals
22// 6100 - 6199 tracker
23// 6200 - 6299 calorimeter
24// 6300 - 6399 ACD
25// 6400 - 6499 this space intentionally left blank in case
26// we have calibrations spanning subsystems
27// 6500 - 6599 test
28// 6600 - 6699 NAS: anything not associated with a single subsystem
29// 6400 - 6499 MDC
30
31const CLID CLID_Calib_CalibCLIDNode = 6000;
32
33const CLID CLID_Calib_CalibBase = 6001;
34
35const CLID CLID_Calib_CalibTest1 = 6500;
36
37const CLID CLID_Calib_NAS_TowerCfg = 6600;
38
39
40//MDC CLID
41const CLID CLID_Calib_MdcCal = 6405;
42//TOF CLID
43const CLID CLID_Calib_TofCal = 6406;
44//Dedx CLID
45const CLID CLID_Calib_DedxCal = 6407;
46//EMC CLID
47const CLID CLID_Calib_EmcCal = 6408;
48//MUC CLID
49const CLID CLID_Calib_MucCal = 6409;
50//EsTime CLID
51const CLID CLID_Calib_EsTimeCal = 6410;
52//EstTOF CLID
53const CLID CLID_Calib_EstTofCal = 6411;
54//Mdc Alignment
55const CLID CLID_Calib_MdcAlign = 6412;
56//Tof Elec
57const CLID CLID_TofQ_Elec = 6413;
58//TOF Simulation CLID
59const CLID CLID_Calib_TofSim = 6414;
60//Dedx Simulation
61const CLID CLID_Dedx_Sim = 6415;
62//Mdc Data Const
63const CLID CLID_Calib_MdcDataConst= 6416;
64
65// For everybody except the CalibModel class implementation file,
66// the variables are extern. CalibModel.cxx actually defines them.
67
68#if defined(_CalibData_CalibModel_cxx)
69#define _EXTERN_
70#else
71#define _EXTERN_ extern
72#endif
73
74 namespace CalibData {
75
76
77 // ... simple type whose "data" just come from MySQL metadata row
78 // for testing
79 _EXTERN_ std::string Test_Gen;
80
81 // Simple xml test type
82 _EXTERN_ std::string Test_1;
83 //MDC
84 _EXTERN_ std::string MdcCal;
85 //Tof
86 _EXTERN_ std::string TofCal;
87 //Dedx
88 _EXTERN_ std::string DedxCal;
89 //Emc
90 _EXTERN_ std::string EmcCal;
91 //MUC
92 _EXTERN_ std::string MucCal;
93 //EsTime
94 _EXTERN_ std::string EsTimeCal;
95 //EstTof
96 _EXTERN_ std::string EstTofCal;
97 //MdcAlign
98 _EXTERN_ std::string MdcAlign;
99 //Tof elec
100 _EXTERN_ std::string TofQElec;
101 //Tof simulation
102 _EXTERN_ std::string TofSim;
103 //Dedx simulation
104 _EXTERN_ std::string DedxSim;
105 //MdcDataConstant
106 _EXTERN_ std::string MdcDataConstant;
107 // cross-subsystem types
108 _EXTERN_ std::string NAS_TowerCfg;
109 typedef std::vector<std::pair <std::string, CLID> > CalibPairCol;
110 typedef CalibPairCol::const_iterator PairIt;
112 }
113
114
115#undef _EXTERN_
116#endif
std::vector< std::pair< std::string, CLID > > CalibPairCol