#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "TH1.h"
#include "TFile.h"
#include "TF1.h"
#include "CSCEvent.h"
Defines | |
| #define | maxSize 4000*32 |
| #define | maxChamber 32 |
Functions | |
| int | main (int argc, char *argv[]) |
| main program | |
This application uses the CSCEvent class to read CSC raw data and to fill histograms of pedestal values. All samples are averaged in groups of 24 channels before they are put into histograms.
For each group, the histogram is fitted to a Gaussian and the mean and sigma are saved as pedestal and noise. The results are summarized in the mean and sigma histograms and also written into a text file.
1.3.9.1