BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/CalibData/include/CalibData/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
2// 05:24:02 maqm Exp $
3
4#ifndef CalibData_CalibModel_h
5#define CalibData_CalibModel_h
6
7/**
8 @file CalibModel.h
9 Definition of strings holding paths to calibration data objects
10 in the TDDS (transient detector data store)
11 @author : adapted from similar structures for TDS
12 @author J. Bogart
13 */
14
15#include "GaudiKernel/ClassID.h"
16#include <string>
17#include <vector>
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// MDC CLID
40const CLID CLID_Calib_MdcCal = 6405;
41// TOF CLID
42const CLID CLID_Calib_TofCal = 6406;
43// Dedx CLID
44const CLID CLID_Calib_DedxCal = 6407;
45// EMC CLID
46const CLID CLID_Calib_EmcCal = 6408;
47// MUC CLID
48const CLID CLID_Calib_MucCal = 6409;
49// EsTime CLID
50const CLID CLID_Calib_EsTimeCal = 6410;
51// EstTOF CLID
52const CLID CLID_Calib_EstTofCal = 6411;
53// Mdc Alignment
54const CLID CLID_Calib_MdcAlign = 6412;
55// Tof Elec
56const CLID CLID_TofQ_Elec = 6413;
57// TOF Simulation CLID
58const CLID CLID_Calib_TofSim = 6414;
59// Dedx Simulation
60const CLID CLID_Dedx_Sim = 6415;
61// Mdc Data Const
62const CLID CLID_Calib_MdcDataConst = 6416;
63// InjSigInterval
64const CLID CLID_Calib_InjSigInterval = 6417;
65// InjSigTime
66const CLID CLID_Calib_InjSigTime = 6418;
67// OffEvtFilter
68const CLID CLID_Calib_OffEvtFilter = 6419;
69// CorrectedETS
70const CLID CLID_Calib_CorrectedETS = 6420;
71
72// For everybody except the CalibModel class implementation file,
73// the variables are extern. CalibModel.cxx actually defines them.
74
75#if defined( _CalibData_CalibModel_cxx )
76# define _EXTERN_
77#else
78# define _EXTERN_ extern
79#endif
80
81namespace CalibData {
82
83 // ... simple type whose "data" just come from MySQL metadata row
84 // for testing
85 _EXTERN_ std::string Test_Gen;
86
87 // Simple xml test type
88 _EXTERN_ std::string Test_1;
89 // MDC
90 _EXTERN_ std::string MdcCal;
91 // Tof
92 _EXTERN_ std::string TofCal;
93 // Dedx
94 _EXTERN_ std::string DedxCal;
95 // Emc
96 _EXTERN_ std::string EmcCal;
97 // MUC
98 _EXTERN_ std::string MucCal;
99 // EsTime
100 _EXTERN_ std::string EsTimeCal;
101 // EstTof
102 _EXTERN_ std::string EstTofCal;
103 // MdcAlign
104 _EXTERN_ std::string MdcAlign;
105 // Tof elec
106 _EXTERN_ std::string TofQElec;
107 // Tof simulation
108 _EXTERN_ std::string TofSim;
109 // Dedx simulation
110 _EXTERN_ std::string DedxSim;
111 // MdcDataConstant
113 // Top_up
115 _EXTERN_ std::string InjSigTime;
118
119 // cross-subsystem types
121 typedef std::vector<std::pair<std::string, CLID>> CalibPairCol;
122 typedef CalibPairCol::const_iterator PairIt;
124} // namespace CalibData
125
126#undef _EXTERN_
127#endif
std::vector< std::pair< std::string, CLID > > CalibPairCol