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

moniROD.cpp File Reference

This application fills a root tree with ROD Cluster results. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "TH1.h"
#include "TGraph.h"
#include "TFile.h"
#include "TF1.h"
#include "TH2.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 ROD Cluster results.

It can be used for monitoring. The tree variables are stored in moni_t.

Reads csc data file and produces monitoring histograms based on single clusters. The tree is filled without hitfinding and there is one entry per cluster.

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

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 the start of the hit

number of channels in this cluster

number of the channel with the largest amp

sampling phase 0 or 1

reconstructed positon in strip numbers.

peaking time in samples.

sum of all amplitudes in this cluster.

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