Changeset 5137 for trunk/MagicSoft/Mars/mhcalib/MHCalibrationPix.cc
- Timestamp:
- 09/25/04 14:01:50 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationPix.cc
r5098 r5137 62 62 // 63 63 MHCalibrationPix::MHCalibrationPix(const char *name, const char *title) 64 : fPixId(-1)65 64 { 66 65 … … 108 107 { 109 108 *fLog << warn << GetDescriptor() 110 << ": Cannot bypass fit. Number of entries smaller or equal 0 in pixel: " << fPixId<< endl;109 << ": Cannot bypass fit. Number of entries smaller or equal 0 in pixel: " << GetName() << endl; 111 110 return; 112 111 } … … 116 115 fSigma = fHGausHist.GetRMS() ; 117 116 fSigmaErr = fHGausHist.GetRMS() / TMath::Sqrt(entries) / 2.; 118 }119 120 // --------------------------------------------------------------------------121 //122 // - Set fPixId to id123 //124 // Add id to names and titles of:125 // - fHGausHist126 //127 void MHCalibrationPix::ChangeHistId(const Int_t id)128 {129 130 fPixId = id;131 132 fHGausHist.SetName( Form("%s%d", fHGausHist.GetName(), id));133 fHGausHist.SetTitle( Form("%s%d", fHGausHist.GetTitle(), id));134 135 fName = Form("%s%d", fName.Data(), id);136 fTitle = Form("%s%d", fTitle.Data(), id);137 138 117 } 139 118
Note:
See TracChangeset
for help on using the changeset viewer.