Ignore:
Timestamp:
11/04/11 21:38:47 (13 years ago)
Author:
neise
Message:
added entry for fpeak_cfd.C ... gainfit will follow soon
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/rootmacros/README.txt

    r12356 r12387  
    11README of FACT svntools/rootmacros
    22
     3        on the ISDC cluster, I used /opt/root5.18.x86_64/bin/root for testing.
    34
    45fbsl.C          ROOT Macro computing the baseline for each pixel
     
    3132        root -l -q fbsl.C++'("/data00/fact-construction/raw/2011/10/26/20111026_036.fits.gz", "/data00/fact-construction/raw/2011/10/26/20111026_031.drs.fits.gz", "./fbsl.txt", "./20111026_036.root")'
    3233
     34------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    3335
    34         on the ISDC cluster, I used /opt/root5.18.x86_64/bin/root for testing.
     36fpeak_cfd.C             ROOT macro creating an amplitude spektrum for each pixel
     37
     38int fpeak(
     39  char *datafilename    = "data/20111016_013.fits.gz",
     40  const char *drsfilename = "../../20111016_011.drs.fits.gz",
     41  const char *OutRootFileName = "../analysis/fpeak_cdf.Coutput.root",
     42  int firstevent      = 0,
     43  int nevents       = -1,
     44  int firstpixel      = 0,
     45  int npixel        = -1,
     46  bool spikeDebug = false,
     47  int avg1    = 14,
     48  int avg2    = 8,
     49  int verbosityLevel = 1, // different verbosity levels can be implemented here
     50  bool ProduceGraphic = true
     51 )
     52
     53the peaks are search, using the constant fraction discriminator, implemented
     54as a FIR filter, which outputs a waveform, which rising edge zero crossings
     55show the position of a peak.
     56
     57the two integers 'avg1' and 'avg2' are still present for debugging...
     58two sliding average filters are beeing used, and these are the HALFwidths of
     59these filters.
     60
     61The amplitude spektra are produced as a TH2F with the pixels on its x-Axis.
     62For further analysy the ROOT macro gainfit.C may be used...
     63
     64
     65
Note: See TracChangeset for help on using the changeset viewer.