BOSS 7.0.6
BESIII Offline Software System
|
Public Member Functions | |
CalibModel () | |
Provides convenience definitions of strings which are paths to calibration data in the TDDS. The class has no data members. The strings it initializes are just "there"; existing in this module and extern everywhere else (see the fancy footwork in CalibModel.h). The single static instance of CalibModel declared in this file causes the constructor to be run, initializing the strings, and a vector of pairs. The pairs are used to match each string with the appropriate Gaudi class id.
NOTE: This scheme might have to be revised. We haven't dealt with different instruments, nor with flavors. Assuming, as seems likely, that we never have to keep track of constants for more than one instrument simultaneously (most likely not even sequentially within a single job), we can leave any mention of instrument out of these paths. If we want to preserve the possibility of maintaining more than one flavor simultaneously, flavor will have to be part of the path string. We could tack it on the end dynamically without having to do any violence to what we've got below.
Definition at line 48 of file CalibModel.cxx.
|
inline |
The constructor sets values into the externally-accessible string variables
Definition at line 52 of file CalibModel.cxx.