Main Page | Class List | File List | Class Members | File Members | Related Pages

peak.cpp File Reference

Reads csc data file and calculates peaking times and amplitudes. More...

#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 "CalServer.h"

Defines

#define maxSize   4000*32

Functions

Double_t fitshape (Double_t *x, Double_t *parm)
int main (int argc, char *argv[])


Detailed Description

Reads csc data file and calculates peaking times and amplitudes.

This application provides a first look at pulser data. Each channels peaking time and amplitude is put into a root tree.


Function Documentation

int main int  argc,
char *  argv[]
 

Counted event number, not L1ID

the chamber number

The phi number of the chamber

Layer number ranging from 0 to 4

Flag for Y data: 0: X data, 1: Y data

Channel number 0-191 for X and 0-47 for Y

Sampling phase 0 or 1 for each chamber

Parabolic interpolation for the amplitude

Parabolic interpolation for the peaking time

Attenuation of the pulser

Flag if this layer was pulsed: 1=yes, 0=no


Generated on Wed Oct 29 10:35:18 2008 for CSCRead by  doxygen 1.3.9.1