Changeset 4562
- Timestamp:
- 08/10/04 15:35:56 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4559 r4562 43 43 44 44 45 46 45 2004/08/09: Markus Gaug 47 46 … … 54 53 - added name and title to the class (was forgotten) 55 54 56 55 * mjobs/MJPedestal.[h,cc] 56 - set the possibility to have the datacheck display with the 57 function SetDataCheckDisplay() 57 58 58 59 2004/08/09: Wolfgang Wittek -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r4368 r4562 86 86 // 87 87 MJPedestal::MJPedestal(const char *name, const char *title) 88 : fEnv(0), fRuns(0), fExtractor(NULL), fDataCheck(kFALSE) 88 : fEnv(0), fRuns(0), fExtractor(NULL), fDisplayType(kNormalDisplay), 89 fDataCheck(kFALSE) 89 90 { 90 91 fName = name ? name : "MJPedestal"; … … 178 179 disp1.SetYTitle("\\sigma_{P} [fadc/slice]"); 179 180 180 181 181 // 182 182 // Display data … … 185 185 c3.Divide(2,3); 186 186 187 if ( !fDataCheck)187 if (fDisplayType != kDataCheckDisplay) 188 188 { 189 189 disp0.CamDraw(c3, 1, 2, 1); -
trunk/MagicSoft/Mars/mjobs/MJPedestal.h
r4368 r4562 43 43 MBadPixelsCam fBadPixels; 44 44 45 enum Display_t { kDataCheckDisplay, kNormalDisplay }; // Possible Display types 46 47 Display_t fDisplayType; // Chosen Display type 48 45 49 Bool_t fDataCheck; // Flag if the data check is run on raw data 46 50 … … 71 75 void SetEnv(const char *env); 72 76 73 void SetDataCheck(const Bool_t b=kTRUE) { fDataCheck = b; } 77 void SetDataCheck(const Bool_t b=kTRUE) { fDataCheck = b; SetDataCheckDisplay(); } 78 79 void SetDataCheckDisplay() { fDisplayType = kDataCheckDisplay; } 80 void SetNormalDisplay() { fDisplayType = kNormalDisplay; } 74 81 75 82 ClassDef(MJPedestal, 0) // Tool to create a pedestal file (MPedestalCam)
Note:
See TracChangeset
for help on using the changeset viewer.