source: trunk/MagicSoft/Mars/mcalib/MCalibColorSet.h@ 6230

Last change on this file since 6230 was 6013, checked in by gaug, 20 years ago
*** empty log message ***
File size: 1.4 KB
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
12class MParList;
13class MCalibrationPattern;
14class MRawEvtHeader;
15
16class MCalibColorSet : public MTask
17{
18private:
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
38public:
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.