Changeset 12923 for trunk/Mars/mhvstime
- Timestamp:
- 02/22/12 19:04:49 (13 years ago)
- Location:
- trunk/Mars/mhvstime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mhvstime/MHPixVsTime.cc
r12880 r12923 40 40 // YOU HAVE TWO SEMICOLON!) 41 41 // 42 // 43 // Class Version 2: 44 // ---------------- 45 // + fMaximum 46 // + fMinumum 47 // 42 48 ///////////////////////////////////////////////////////////////////////////// 43 49 #include "MHPixVsTime.h" … … 69 75 // 70 76 MHPixVsTime::MHPixVsTime(Int_t idx, const char *name, const char *title) 71 : fIndex(idx), fEvt(NULL), fType(0), fTypeErr(-1) 77 : fIndex(idx), fEvt(NULL), fType(0), fTypeErr(-1), fMinimum(-1111), fMaximum(-1111) 72 78 { 73 79 // … … 234 240 } 235 241 242 if (fMinimum!=-1111) 243 fGraph->SetMinimum(fMinimum); 244 if (fMaximum!=-1111) 245 fGraph->SetMaximum(fMaximum); 246 236 247 TString str(opt); 237 248 if (!str.Contains("A")) -
trunk/Mars/mhvstime/MHPixVsTime.h
r12880 r12923 38 38 Int_t fTypeErr; 39 39 40 Double_t fMinimum; // User defined minimum 41 Double_t fMaximum; // User defined maximum 42 40 43 Bool_t SetupFill(const MParList *pList); 41 44 Int_t Fill(const MParContainer *par, const Stat_t w=1); … … 49 52 void SetType(Int_t type, Int_t e=-1) { fType = type; fTypeErr=e; } 50 53 54 void SetMinimum(Double_t min=-1111) { fMinimum = min; } 55 void SetMaximum(Double_t max=-1111) { fMaximum = max; } 56 51 57 void SetName(const char *name); 52 58 void SetTitle(const char *title); … … 57 63 void Draw(Option_t *o=NULL); 58 64 59 ClassDef(MHPixVsTime, 1) // Histogram to sum camera events65 ClassDef(MHPixVsTime, 2) // Histogram to sum camera events 60 66 }; 61 67
Note:
See TracChangeset
for help on using the changeset viewer.