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

Last change on this file since 5817 was 5690, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MCalibColorSet
2#define MARS_MCalibColorSet
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MParList;
9class MRawEvtHeader;
10
11class MCalibColorSet : public MTask
12{
13private:
14
15 static const Int_t gkIFAEBoxInaugurationRun; //! Run number of first IFAE box calibration (set to: 20113)
16 static const Int_t gkMCRunLimit; //! Maximum MC run number (now set to: 1000)
17 static const UInt_t gkFirstRunWithFinalBits; //! Run number of first functionning digital modules
18
19 MRawEvtHeader *fHeader; //! Event header with the pulse pattern information
20
21 UInt_t fPattern; // Current pulse pattern
22 Bool_t fIsValid; // Have to set the pulse pattern?
23
24 void CheckAndSet(const TString &str, const char *regexp, UInt_t &pattern, UInt_t pat, Int_t &color, Int_t col) const;
25
26 Bool_t ReInit(MParList *pList);
27 Int_t PreProcess(MParList *pList);
28 Int_t Process();
29
30public:
31
32 MCalibColorSet(const char *name=NULL, const char *title=NULL);
33
34 void Clear(const Option_t *o="");
35
36 ClassDef(MCalibColorSet, 0) // Task to workaround missing colors
37};
38
39#endif
40
Note: See TracBrowser for help on using the repository browser.