Changeset 13782 for fact/tools/rootmacros/PulseTemplates/pixelsum.C
- Timestamp:
- 05/18/12 21:23:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/PulseTemplates/pixelsum.C
r13655 r13782 13 13 int verbosityLevel, 14 14 bool stats, 15 T File* filename,15 TString options, 16 16 int pixelOverlayXaxisLeft, 17 17 int pixelOverlayXaxisRight, 18 18 float bSLMean, 19 19 float gainMean, 20 T String options20 TFile* filename 21 21 ) 22 22 :Pixel( … … 25 25 verbosityLevel, 26 26 stats, 27 filename,27 options, 28 28 pixelOverlayXaxisLeft, 29 29 pixelOverlayXaxisRight, 30 30 bSLMean, 31 31 gainMean, 32 options32 filename 33 33 ) 34 34 { … … 44 44 45 45 BookSumHistos(); 46 BookSumDistributionHistos();46 // BookSumDistributionHistos(); 47 47 } 48 48 49 49 PixelSum::~PixelSum() 50 50 { 51 if (mVerbosityLevel > 1) cout << endl << "...delete histograms of pixelSum " << mChid ; 51 if (mVerbosityLevel > 1) 52 { 53 cout << endl << "...deleting histograms of " 54 << mName << " ID: "<< mChid ; 55 cout << endl << "...mConstructorType = " << mConstructorType << endl; 56 } 52 57 53 58 DeleteSumHistos(); 54 DeleteSumDistributionHistos(); 59 // DeleteSumDistributionHistos(); 60 61 if (mVerbosityLevel > 1) 62 { 63 cout << endl << "...histograms of " 64 << mName << " ID: "<< mChid << " deleted"; 65 } 55 66 56 67 }// ~PixelSum … … 76 87 PixelSum::BookSumHistos() 77 88 { 78 if (mVerbosityLevel > 2) cout << endl << "...book pixelhistograms" << endl;89 if (mVerbosityLevel > 2) cout << endl << "...book " << mName << " histograms" << endl; 79 90 for (int order = 0; order < mMaxPulseOrder; order++) 80 91 { … … 304 315 // end of DeletePixelHistos 305 316 //---------------------------------------------------------------------------- 317 318 TString 319 PixelSum::CsvFileName( 320 TString path, 321 TString overlayMethod, 322 int order 323 ) 324 { 325 path += "CSV/"; 326 path += overlayMethod; 327 path += "OverlayTemplate"; 328 path += "_"; 329 path += mName; 330 path += "_"; 331 path += mChid; 332 path += "_"; 333 path += order; 334 path += ".csv"; 335 return path; 336 } 337 // end of CsvFileName 338 //---------------------------------------------------------------------------- 339
Note:
See TracChangeset
for help on using the changeset viewer.