- Timestamp:
- 05/09/12 17:46:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/PulseTemplates/FPulseOverlay.C
r13610 r13624 189 189 //---------------------------------------------------------------------------- 190 190 int FPulseOverlay( 191 const char* datafilename = "/fact/raw/2011/11/09/20111109_006.fits.gz",192 const char* drsfilename = "/fact/raw/2011/11/09/20111109_003.drs.fits.gz",193 const char* OutRootFileName = "/home_nfs/isdc/jbbuss/analysis/FPulseTemplate/20111109_006/Overlay/pulseoverlay.root",191 TString datafilename = "/fact/raw/2011/11/10/20111110_005.fits.gz", 192 TString drsfilename = "/fact/raw/2011/11/10/20111110_003.drs.fits.gz", 193 TString OutRootFileName = "/home_nfs/isdc/jbbuss/analysis/FPulseTemplate/20111110_005/Overlay/20111110_005.root", 194 194 bool ProduceGraphic = false, 195 195 bool spikeDebug = false, … … 197 197 bool testmode = false, 198 198 bool saveResults = true, 199 int verbosityLevel = 1, // different verbosity levels can be implemented here199 int verbosityLevel = 0, // different verbosity levels can be implemented here 200 200 int firstevent = 1, // Hast to be between 1 and infinity NOT 0!!!! 201 201 int nevents = -1, 202 202 int firstpixel = 0, 203 203 int npixel = -1, 204 int pixelSetSize = 120,205 int maxPulseOrder = 3,204 int pixelSetSize = 200, 205 int maxPulseOrder = 4, 206 206 int AmplWindowWidth = 14, //Width of Window for selection of pulses to histograms 207 207 TString histoOptions = "SRM", … … 221 221 if (saveResults) 222 222 { 223 CreateRootFile( OutRootFileName, verbosityLevel );223 CreateRootFile( OutRootFileName, verbosityLevel ); 224 224 } 225 225 … … 538 538 removeRegionWithMaxOnEdge( *pZXings, 2); 539 539 removeRegionOnFallingEdge( *pZXings, 100); 540 findTimeOfHalfMaxLeft(*pZXings, V corr, gBSLMean, 5, 10, verbosityLevel );540 findTimeOfHalfMaxLeft(*pZXings, Vslide, gBSLMean, 5, 10, verbosityLevel ); 541 541 removeRegionWithToFlatSlope(*pZXings, 0.5); 542 542 if (verbosityLevel > 2) cout << "...done" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.