Changeset 13629 for fact/tools/rootmacros/PulseTemplates/FPulseOverlay.C
- Timestamp:
- 05/09/12 22:00:23 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/PulseTemplates/FPulseOverlay.C
r13624 r13629 179 179 void DrawTestHistograms( int); 180 180 bool ProduceDebugHistos( vector<Region> *pZXings); 181 bool UseThisPulse( int, int, int, int, int, int);181 bool UseThisPulse( int, int, int, float, int, int); 182 182 void UpdateCanvases( int, int, bool); 183 183 void DeletePixelCanvases( int, int ); … … 189 189 //---------------------------------------------------------------------------- 190 190 int FPulseOverlay( 191 TString datafilename = "/f act/raw/2011/11/10/20111110_005.fits.gz",192 TString drsfilename = "/f act/raw/2011/11/10/20111110_003.drs.fits.gz",193 TString OutRootFileName = "/home _nfs/isdc/jbbuss/analysis/FPulseTemplate/20111110_005/Overlay/20111110_005.root",191 TString datafilename = "/fhgfs/groups/app/fact-construction/raw/2011/11/09/20111109_006.fits.gz", 192 TString drsfilename = "/fhgfs/groups/app/fact-construction/raw/2011/11/09/20111109_003.drs.fits.gz", 193 TString OutRootFileName = "/home/jbuss/analysis/FPulseTemplate/20111109_006/Overlay/20111109_006.root", 194 194 bool ProduceGraphic = false, 195 195 bool spikeDebug = false, … … 405 405 pixel[i] = NULL; 406 406 } 407 int lastPixelOfSet = 0; 407 408 //------------------------------------- 408 409 // Loop over Pixel Sets … … 412 413 firstPixelOfSet += pixelSetSize ) 413 414 { 414 415 lastPixelOfSet = firstPixelOfSet + pixelSetSize-1; 416 if (lastPixelOfSet > 1439) 417 { 418 lastPixelOfSet = 1439; 419 } 415 420 if (verbosityLevel == 0) 416 421 { … … 419 424 << firstPixelOfSet 420 425 << " to Pixel " 421 << firstPixelOfSet+pixelSetSize-1<< endl;426 << lastPixelOfSet << endl; 422 427 } 423 428 … … 436 441 << firstPixelOfSet 437 442 << " to Pixel " 438 << firstPixelOfSet+pixelSetSize-1443 << lastPixelOfSet 439 444 << "... Event: " << CurrentEventID 440 445 << "/" << nevents << endl; … … 445 450 //-------------------------------------------------------------------- 446 451 for ( int pixelID = firstPixelOfSet; 447 pixelID < firstPixelOfSet + pixelSetSize452 pixelID < lastPixelOfSet + 1 448 453 && pixelID < firstpixel + npixel; 449 454 pixelID++ ) … … 455 460 << firstPixelOfSet 456 461 << " to Pixel " 457 << firstPixelOfSet+pixelSetSize-1462 << lastPixelOfSet 458 463 << "... Event: " << CurrentEventID 459 464 << "/" << nevents << endl … … 938 943 int order, 939 944 int AmplWindowWidth, 940 int gGainMean,945 float gGainMean, 941 946 int maxPulseOrder, 942 947 int verbosityLevel
Note:
See TracChangeset
for help on using the changeset viewer.