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

moni.cpp File Reference

This application fills a root tree with hit reconstruction results. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "TH2.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

int main (int argc, char *argv[])
 read pedestals and data file, produce root file of single hits for monitoring.


Detailed Description

This application fills a root tree with hit reconstruction results.

It can be used for monitoring, or for looking at hit reconstruction results. The tree variables are stored in moni_t.

Reads csc data file and produces monitoring histograms based on single hits. The tree is filled after hitfinding and there is one entry per hit.

Note:
this should better be done after a track segment has been found, as many hit parameters depend on track angle.
See also:
moniROD for monitoring ROD clusters

Function Documentation

int main int  argc,
char *  argv[]
 

read pedestals and data file, produce root file of single hits for monitoring.

event number, increments over all files.

sector number, negative for endcap C

layer number 0-3 for X and Y hits. See isY

channel number of center of the hit

sampling phase 0 or 1

reconstructed positon in strip numbers.

peaking time in samples.

sum of center, left, and right amplitude.

1 if this is a cluster in the transverse strips, else 0.

amplitude of the center strip


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