Changeset 12387
- Timestamp:
- 11/04/11 21:38:47 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/README.txt
r12356 r12387 1 1 README of FACT svntools/rootmacros 2 2 3 on the ISDC cluster, I used /opt/root5.18.x86_64/bin/root for testing. 3 4 4 5 fbsl.C ROOT Macro computing the baseline for each pixel … … 31 32 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")' 32 33 34 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 33 35 34 on the ISDC cluster, I used /opt/root5.18.x86_64/bin/root for testing. 36 fpeak_cfd.C ROOT macro creating an amplitude spektrum for each pixel 37 38 int 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 53 the peaks are search, using the constant fraction discriminator, implemented 54 as a FIR filter, which outputs a waveform, which rising edge zero crossings 55 show the position of a peak. 56 57 the two integers 'avg1' and 'avg2' are still present for debugging... 58 two sliding average filters are beeing used, and these are the HALFwidths of 59 these filters. 60 61 The amplitude spektra are produced as a TH2F with the pixels on its x-Axis. 62 For further analysy the ROOT macro gainfit.C may be used... 63 64 65
Note:
See TracChangeset
for help on using the changeset viewer.