/[PAMELA software]/eventviewer/flight/inc/feventvstruct.h
ViewVC logotype

Annotation of /eventviewer/flight/inc/feventvstruct.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (hide annotations) (download)
Thu Nov 8 11:05:32 2007 UTC (17 years ago) by mocchiut
Branch: MAIN
CVS Tags: v3r00, v4r00, v2r02
Changes since 1.7: +11 -0 lines
File MIME type: text/plain
Bugs fixed and new features implemented - now can only work with PamLevel2 'AUTO' version

1 mocchiut 1.1 #ifndef fevstruct_h
2     #define fevstruct_h
3 mocchiut 1.7 #include <TString.h>
4 mocchiut 1.1
5     typedef struct Levels {
6     Int_t file;
7     } level;
8    
9     typedef struct Variables {
10     Bool_t selex;
11     Bool_t alrforc;
12     Bool_t jumprog;
13     Bool_t waitforever;
14     Bool_t restart;
15     Bool_t goon;
16     Bool_t refresh;
17     Bool_t fl0;
18     Bool_t jumpen;
19     Int_t tofraw;
20     Int_t tofbest;
21     Float_t sfx; // scale factor x
22     Float_t sfy; // scale factor y
23     Float_t xxvc; // x coordinate of the x-view
24     Float_t yxvc; // y coordinate of the x-view
25     Float_t xyvc; // x coordinate of the y-view
26     Float_t yyvc; // y coordinate of the y-view
27     Float_t xcat; // x coordinate of the cat view
28     Float_t ycat; // y coordinate of the cat view
29     Float_t nds4; // scaling factor for ND and S4
30     Float_t rig; // rigidity from the tracker (track number 1)
31     Float_t chi2; // chi2 of the fitted track (track number 1)
32     Float_t sbase[2][22][96]; // calorimeter old baselines
33     Float_t DSPsig_par[12][3072]; //tracker sigma calibration data
34     Float_t s4sig; // S4 calibrated signal
35     Float_t beta[5]; // TOF beta infos
36     Int_t bw; // black and white flag
37     Int_t nosig; // flag to show only detectors and no signals
38 mocchiut 1.4 UInt_t etime; // time of the event (OBT)
39 mocchiut 1.1 Int_t headc; // event number
40     Int_t nstrip; // strip hit, info from CALO
41     Int_t qtot; // total energy (MIP), info from CALO
42     Int_t nclx; // number of cluster in the x view, info from TRK
43     Int_t ncly; // number of cluster in the y view, info from TRK
44     Int_t trup; // number of neutron upper half, info from ND
45     Int_t bkup; // number of background neutron upper half, info from ND
46     Int_t bkbo; // number of background neutron lower half, info from ND
47     Int_t hcas; // number of hit in cas, info from AC
48     Int_t hcat; // number of hit in cat, info from AC
49     Int_t hcard;// number of hit in card, info from AC
50     Int_t tracknds4; // flag to display the track in ND and S4
51     Int_t i; // event number
52     Int_t doflag; //going forward or backward?
53     Int_t jumpto; // event number to jump to
54     Int_t lastevno; // last event number
55     Int_t firstevno; // first event number
56     Int_t SHOWDEC;
57 mocchiut 1.2 Int_t RUN;
58 mocchiut 1.1 Int_t TOF;
59     Int_t AC;
60     Int_t TRK;
61     Int_t CALO;
62 mocchiut 1.5 Int_t CALOT;
63 mocchiut 1.3 Int_t ORB;
64     Int_t TRG;
65 mocchiut 1.1 Int_t S4;
66     Int_t ND;
67     Int_t INFOS;
68     Int_t VINFOS;
69     Int_t PALETTE;
70     Long64_t nevents; // number of events in the ntuple
71     TString thefilename;
72     TString thefilter;
73     TString svas;
74 mocchiut 1.6 UInt_t idrun;
75     UInt_t idroot;
76     UInt_t EVF;
77 mocchiut 1.8 Bool_t showall;
78     Bool_t showsi;
79     Bool_t shownd;
80     Bool_t shows4;
81     Bool_t showorb;
82     Bool_t showtrg;
83     Bool_t showtof;
84     Bool_t showtrk;
85     Bool_t showcal;
86     Bool_t showrun;
87     Bool_t showac;
88 mocchiut 1.1 } var;
89    
90     typedef struct Evento {
91     Float_t dexy[2][22][96];
92     Float_t dexyc[2][22][96];
93     Double_t base[2][22][6];
94     } evento;
95    
96     typedef struct Calib {
97 mocchiut 1.4 UInt_t time[4][51];
98     UInt_t ttime[4][51];
99 mocchiut 1.1 Int_t fcode[4][51];
100     Int_t cstwerr[4];
101     Float_t cperror[4];
102     Float_t mip[2][22][96];
103     Float_t calped[2][22][96];
104     Float_t calgood[2][22][96];
105     Float_t calthr[2][22][6];
106     Float_t calrms[2][22][96];
107     Float_t calbase[2][22][6];
108     Float_t calvar[2][22][6];
109     Float_t calpuls[2][22][96];
110     Double_t sbase[2][22][6];
111     } calib;
112    
113    
114     #endif

  ViewVC Help
Powered by ViewVC 1.1.23