#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "TH1.h"
#include "TGraph.h"
#include "TFile.h"
#include "TF1.h"
#include "TTree.h"
#include "TProfile.h"
#include "CSCEvent.h"
#include "CSCHitList.h"
#include "CalServer.h"
Defines | |
| #define | maxSize 4000*32 |
| Buffer size for an entire ATLAS event. | |
| #define | maxChamber 32 |
| allocate space for all 32 chambers | |
Functions | |
| double | bipolar (Double_t *x, Double_t *parm) |
| fit function for adc values | |
| int | main (int argc, char *argv[]) |
| main program | |
This application fills a tree with data for correcting the parabolic interpolation of amplitude and peaking time.
|
||||||||||||
|
main program branch structure for root tree. event number phi number, identifies the chamber channel number layer number 0 for X strips, 1 for Y strips array of 4 adc values, pedestals are subtracted. the uncorrected parabolic estimate of amplitude. the uncorrected parabolic estimate of peaking time. the corrected parabolic estimate of amplitude. the corrected parabolic estimate of peaking time. the parabolic estimate of the shaping time (pulse width).
the fit result for amplitude. the fit result for peaking time. the fit result for width. the chi2 fo the fit the error on the fit result for amplitude. the sampling phase 0 or 1 for this strip |
1.3.9.1