BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibModel.h
Go to the documentation of this file.
1// $Header: /bes/bes/BossCvs/Calibration/CalibData/CalibData/CalibModel.h,v 1.18 2020/09/28 05:24:02 maqm 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//InjSigInterval
66//InjSigTime
67const CLID CLID_Calib_InjSigTime= 6418;
68//OffEvtFilter
69const CLID CLID_Calib_OffEvtFilter= 6419;
70//CorrectedETS
71const CLID CLID_Calib_CorrectedETS= 6420;
72
73// For everybody except the CalibModel class implementation file,
74// the variables are extern. CalibModel.cxx actually defines them.
75
76#if defined(_CalibData_CalibModel_cxx)
77#define _EXTERN_
78#else
79#define _EXTERN_ extern
80#endif
81
82 namespace CalibData {
83
84
85 // ... simple type whose "data" just come from MySQL metadata row
86 // for testing
87 _EXTERN_ std::string Test_Gen;
88
89 // Simple xml test type
90 _EXTERN_ std::string Test_1;
91 //MDC
92 _EXTERN_ std::string MdcCal;
93 //Tof
94 _EXTERN_ std::string TofCal;
95 //Dedx
96 _EXTERN_ std::string DedxCal;
97 //Emc
98 _EXTERN_ std::string EmcCal;
99 //MUC
100 _EXTERN_ std::string MucCal;
101 //EsTime
102 _EXTERN_ std::string EsTimeCal;
103 //EstTof
104 _EXTERN_ std::string EstTofCal;
105 //MdcAlign
106 _EXTERN_ std::string MdcAlign;
107 //Tof elec
108 _EXTERN_ std::string TofQElec;
109 //Tof simulation
110 _EXTERN_ std::string TofSim;
111 //Dedx simulation
112 _EXTERN_ std::string DedxSim;
113 //MdcDataConstant
115 //Top_up
117 _EXTERN_ std::string InjSigTime;
120
121 // cross-subsystem types
123 typedef std::vector<std::pair <std::string, CLID> > CalibPairCol;
124 typedef CalibPairCol::const_iterator PairIt;
126 }
127
128
129#undef _EXTERN_
130#endif
const CLID CLID_Calib_InjSigTime
Definition: CalibModel.h:67
const CLID CLID_Calib_EmcCal
Definition: CalibModel.h:47
const CLID CLID_Calib_CalibBase
Definition: CalibModel.h:33
const CLID CLID_Calib_MdcDataConst
Definition: CalibModel.h:63
const CLID CLID_Calib_TofSim
Definition: CalibModel.h:59
const CLID CLID_Calib_DedxCal
Definition: CalibModel.h:45
const CLID CLID_Calib_MdcCal
Definition: CalibModel.h:41
const CLID CLID_TofQ_Elec
Definition: CalibModel.h:57
const CLID CLID_Calib_MdcAlign
Definition: CalibModel.h:55
const CLID CLID_Calib_InjSigInterval
Definition: CalibModel.h:65
const CLID CLID_Calib_TofCal
Definition: CalibModel.h:43
const CLID CLID_Calib_OffEvtFilter
Definition: CalibModel.h:69
const CLID CLID_Calib_CalibTest1
Definition: CalibModel.h:35
const CLID CLID_Calib_CorrectedETS
Definition: CalibModel.h:71
const CLID CLID_Calib_CalibCLIDNode
Definition: CalibModel.h:31
const CLID CLID_Calib_MucCal
Definition: CalibModel.h:49
const CLID CLID_Calib_EsTimeCal
Definition: CalibModel.h:51
const CLID CLID_Calib_NAS_TowerCfg
Definition: CalibModel.h:37
const CLID CLID_Calib_EstTofCal
Definition: CalibModel.h:53
const CLID CLID_Dedx_Sim
Definition: CalibModel.h:61
#define _EXTERN_
Definition: CalibModel.h:79
_EXTERN_ std::string TofCal
Definition: CalibModel.h:94
_EXTERN_ std::string OffEvtFilter
Definition: CalibModel.h:118
_EXTERN_ std::string MdcCal
Definition: CalibModel.h:92
_EXTERN_ std::string DedxCal
Definition: CalibModel.h:96
_EXTERN_ std::string TofSim
Definition: CalibModel.h:110
_EXTERN_ std::string MdcDataConstant
Definition: CalibModel.h:114
_EXTERN_ std::string EmcCal
Definition: CalibModel.h:98
CalibPairCol::const_iterator PairIt
Definition: CalibModel.h:124
_EXTERN_ std::string TofQElec
Definition: CalibModel.h:108
_EXTERN_ std::string EstTofCal
Definition: CalibModel.h:104
_EXTERN_ std::string InjSigInterval
Definition: CalibModel.h:116
_EXTERN_ std::string Test_1
Definition: CalibModel.h:90
_EXTERN_ std::string CorrectedETS
Definition: CalibModel.h:119
_EXTERN_ CalibPairCol pairs
Definition: CalibModel.h:125
_EXTERN_ std::string EsTimeCal
Definition: CalibModel.h:102
_EXTERN_ std::string DedxSim
Definition: CalibModel.h:112
_EXTERN_ std::string NAS_TowerCfg
Definition: CalibModel.h:122
_EXTERN_ std::string MdcAlign
Definition: CalibModel.h:106
_EXTERN_ std::string MucCal
Definition: CalibModel.h:100
_EXTERN_ std::string Test_Gen
Definition: CalibModel.h:87
std::vector< std::pair< std::string, CLID > > CalibPairCol
Definition: CalibModel.h:123
_EXTERN_ std::string InjSigTime
Definition: CalibModel.h:117