Changeset 13494 for fact/tools/rootmacros/PulseTemplates/FPulseOverlay.C
- Timestamp:
- 05/01/12 12:42:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/PulseTemplates/FPulseOverlay.C
r13486 r13494 192 192 bool debugPixel = false, 193 193 bool testmode = false, 194 bool saveResults = false, 194 195 int verbosityLevel = 0, // different verbosity levels can be implemented here 195 196 int firstevent = 0, 196 int nevents = -1,197 int nevents = 2000, 197 198 int firstpixel = 0, 198 int npixel = -1,199 int npixel = 37, 199 200 int sampleSetSize = 36, 200 201 int maxPulseOrder = 1, … … 600 601 CreateSubDirName(pixel[pixelID]->mChid), 601 602 pixel[pixelID]->hList, 603 saveResults, 602 604 verbosityLevel 603 605 ); … … 612 614 613 615 //Save Histograms of Pixels into Output rootfile 614 pixel[pixelID]->SavePixelHistograms( OutRootFileName );616 pixel[pixelID]->SavePixelHistograms( OutRootFileName, saveResults ); 615 617 616 618 … … 648 650 "root", 649 651 hRootList, 652 saveResults, 650 653 verbosityLevel 651 654 ); … … 798 801 && Ameas[reg->maxPos] < ((gGainMean*(order+1)) + AmplWindowWidth/2)) 799 802 { 800 //hOverlayTemp = hMaxOverlay[order];801 803 if (verbosityLevel > 2) cout << "...#" << order ; 802 804 order_of_pulse = order; 803 805 use_this_peak = true; 806 CurrentPixel->hSlopeRisingEdge[order_of_pulse]->Fill( reg->slopeOfRisingEdge ) ; 804 807 break; 805 808 } 806 else if (order >= (maxPulseOrder - 1)){ 809 else if (order >= (maxPulseOrder - 1)) 810 { 807 811 use_this_peak = false; 808 812 if (verbosityLevel > 2) cout << "...NONE" << endl ; 809 }810 if (use_this_peak)811 {812 CurrentPixel->hSlopeRisingEdge[order_of_pulse]->Fill( reg->slopeOfRisingEdge ) ;813 813 } 814 814 }
Note:
See TracChangeset
for help on using the changeset viewer.