Changeset 3043
- Timestamp:
- 02/06/04 17:36:05 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3042 r3043 4 4 5 5 -*-*- END OF LINE -*-*- 6 2004/02/06: Thomas Bretz 7 8 * mhist/MHPixVsTime.[h,cc]: 9 - changed such that you can set the name of the time container now 10 11 12 6 13 2004/02/06: Oscar Blanch 14 7 15 * mmc/MFadcDefine.h && mmc/MMcFadcHeader.cxx 8 _We cahnged the name (and values) of the global variable16 - We cahnged the name (and values) of the global variable 9 17 MFADC_RESPONSE_AMPLITUDE to MFADC_RESPONSE_INTEGRAL 10 18 19 20 11 21 2004/02/05: Markus Gaug 22 12 23 * mcalib/MHCalibrationPixel.[h,cc] 13 24 - put an NDF limit for the fit … … 15 26 - Check for nan's of all returned fit values 16 27 17 * mcalib/MCalibrationPix.[h,cc] 18 * mcalib/MCalibrationCam.cc 28 * mcalib/MCalibrationPix.[h,cc], mcalib/MCalibrationCam.cc: 19 29 - reshuffled HiLoGainConversion, calculation of F-Factor method, 20 30 - calculation of total F-Factor of the readout. … … 72 82 73 83 84 74 85 2004/02/05: Abelardo Moralejo 75 86 … … 80 91 we will use it for calibrated real data (to be changed if so). 81 92 93 94 82 95 2004/02/05: Sebastian Raducci 83 96 … … 95 108 - test macro. Shows how to use the MCubicSpline class 96 109 - it could be used to test the methods of the Spline class 97 110 111 98 112 99 113 2004/02/05: Thomas Bretz -
trunk/MagicSoft/Mars/mhist/MHPixVsTime.cc
r2612 r3043 66 66 TString t("Pixel Index #"); 67 67 t += idx; 68 t += " vs "; 69 t += fUseEventTime ? "Time" : "Event Number"; 68 t += " vs Time"; 70 69 71 70 fGraph.SetName("MCamEvent"); … … 108 107 } 109 108 110 if ( fUseEventTime)111 { 112 fTime = (MTime*)plist->FindObject( "MTime");109 if (!fNameTime.IsNull()) 110 { 111 fTime = (MTime*)plist->FindObject(fNameTime, "MTime"); 113 112 if (!fTime) 114 113 { 115 *fLog << err << "MTimenot found... abort." << endl;114 *fLog << err << fNameTime << " [MTime] not found... abort." << endl; 116 115 return kFALSE; 117 116 } … … 149 148 150 149 Double_t t = 0; 151 if ( fUseEventTime)150 if (!fNameTime.IsNull()) 152 151 t = fTime->GetAxisTime(); 153 152 else -
trunk/MagicSoft/Mars/mhist/MHPixVsTime.h
r2572 r3043 30 30 31 31 TString fNameEvt; 32 TString fNameTime; 32 33 33 34 Int_t fType; 34 35 Int_t fTypeErr; 35 36 Bool_t fUseEventTime;37 36 38 37 Bool_t SetupFill(const MParList *pList); … … 45 44 46 45 void SetNameEvt(const TString name) { fNameEvt = name; } 46 void SetNameTime(const TString name) { fNameTime = name; } 47 47 void SetType(Int_t type, Int_t e=-1) { fType = type; fTypeErr=e; } 48 48 49 49 TH1 *GetHistByName(const TString name=""); 50 50 TGraph &GetGraph() { return fGraph; } 51 52 void SetUseEventTime(Bool_t use = kTRUE) { fUseEventTime = use; }53 51 54 52 void Draw(Option_t *o="");
Note:
See TracChangeset
for help on using the changeset viewer.