Line | |
---|
1 | #ifndef MARS_MCalibColorSet
|
---|
2 | #define MARS_MCalibColorSet
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef MARS_MCalibrationCam
|
---|
9 | #include "MCalibrationCam.h"
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | class MParList;
|
---|
13 | class MCalibrationPattern;
|
---|
14 | class MRawEvtHeader;
|
---|
15 |
|
---|
16 | class MCalibColorSet : public MTask
|
---|
17 | {
|
---|
18 | private:
|
---|
19 |
|
---|
20 | static const Int_t gkIFAEBoxInaugurationRun; //! Run number of first IFAE box calibration (set to: 20113)
|
---|
21 | static const Int_t gkMCRunLimit; //! Maximum MC run number (now set to: 1000)
|
---|
22 | static const UInt_t gkFirstRunWithFinalBits; //! Run number of first functionning digital modules
|
---|
23 |
|
---|
24 | MCalibrationPattern *fPattern; //! Calibration Pattern with the pulse pattern information
|
---|
25 | MRawEvtHeader *fHeader; //! Event header with the project name
|
---|
26 |
|
---|
27 | MCalibrationCam::PulserColor_t fColor; // Pulser Color to be set
|
---|
28 | Float_t fStrength; // Pulser Strength to be set
|
---|
29 |
|
---|
30 | Bool_t fIsValid; // Have to set the pulse pattern?
|
---|
31 |
|
---|
32 | void CheckAndSet(const TString &str, const char *regexp, MCalibrationCam::PulserColor_t col, Float_t strength);
|
---|
33 |
|
---|
34 | Bool_t ReInit(MParList *pList);
|
---|
35 | Int_t PreProcess(MParList *pList);
|
---|
36 | Int_t Process();
|
---|
37 |
|
---|
38 | public:
|
---|
39 |
|
---|
40 | MCalibColorSet(const char *name=NULL, const char *title=NULL);
|
---|
41 |
|
---|
42 | void Clear(const Option_t *o="");
|
---|
43 |
|
---|
44 | ClassDef(MCalibColorSet, 0) // Task to workaround missing colors
|
---|
45 | };
|
---|
46 |
|
---|
47 | #endif
|
---|
48 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.