/[PAMELA software]/DarthVader/CalorimeterLevel2/inc/CaloStruct.h
ViewVC logotype

Annotation of /DarthVader/CalorimeterLevel2/inc/CaloStruct.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Aug 4 14:38:22 2006 UTC (18 years, 4 months ago) by mocchiut
Branch: MAIN
CVS Tags: v3r04, v3r05, v3r00, v3r03, v2r01, v2r00BETA, v3r06
Changes since 1.1: +27 -25 lines
File MIME type: text/plain
Added tbar for rz output

1 pam-fi 1.1 #ifndef CaloStruct_h
2     #define CaloStruct_h
3    
4     struct cCaloLevel2 {
5    
6     Int_t calntrk;
7 mocchiut 1.2 Int_t caltrkseqno[11];
8     Int_t ncore[11];
9     Int_t noint[11];
10     Int_t ncyl[11];
11     Int_t nlast[11];
12     Int_t npre[11];
13     Int_t npresh[11];
14     Int_t ntr[11];
15     Int_t planetot[11];
16     Int_t nlow[11];
17     Float_t qcore[11];
18     Float_t qcyl[11];
19     Float_t qlast[11];
20     Float_t qpre[11];
21     Float_t qpresh[11];
22     Float_t qtr[11];
23     Float_t qtrack[11];
24     Float_t qtrackx[11];
25     Float_t qtracky[11];
26     Float_t dxtrack[11];
27     Float_t dytrack[11];
28     Float_t qmean[11];
29     Float_t qlow[11];
30     Float_t dX0l[11];
31     Float_t tbar[11][22][2];
32 pam-fi 1.1
33    
34     Int_t good;
35     Int_t perr[4];
36     Int_t swerr[4];
37     Int_t calcrc[4];
38     Int_t selftrigger;
39    
40     Int_t nstrip;
41     Int_t nx22;
42     Int_t planemax[2];
43     Float_t qtot;
44     Float_t qx22;
45     Float_t qmax;
46     Float_t qq[4];
47    
48     Int_t npcfit[2];
49     Float_t impx;
50     Float_t impy;
51     Float_t tanx;
52     Float_t tany;
53     Float_t varcfit[2];
54    
55     Float_t elen;
56     Float_t selen;
57    
58    
59     void InitcCaloLevel2(){
60    
61     calntrk = 0;
62     good = 0;
63     selftrigger = 0;
64     nstrip = 0;
65     nx22 = 0;
66     qtot = 0;
67     qx22 = 0;
68     qmax = 0;
69     impx = 0;
70     impy = 0;
71     tanx = 0;
72     tany = 0;
73     elen = 0;
74     selen = 0;
75 mocchiut 1.2 memset(tbar, 0, 11*2*22*sizeof(Float_t));
76     for(Int_t i=0;i<11;i++){
77 pam-fi 1.1 caltrkseqno[i] = 0;
78     ncore[i] = 0;
79     noint[i] = 0;
80     ncyl[i] = 0;
81     nlast[i] = 0;
82     npre[i] = 0;
83     npresh[i] = 0;
84     ntr[i] = 0;
85     planetot[i] = 0;
86     nlow[i] = 0;
87     qcore[i] = 0;
88     qcyl[i] = 0;
89     qlast[i] = 0;
90     qpre[i] = 0;
91     qpresh[i] = 0;
92     qtr[i] = 0;
93     qtrack[i] = 0;
94     qtrackx[i] = 0;
95     qtracky[i] = 0;
96     dxtrack[i] = 0;
97     dytrack[i] = 0;
98     qmean[i] = 0;
99     qlow[i] = 0;
100     dX0l[i] = 0;
101     }
102     for(Int_t i=0;i<4;i++){
103     perr[i] = 0;
104     swerr[i] = 0;
105     calcrc[i] = 0;
106     qq[i] = 0;
107     }
108     for(Int_t i=0;i<2;i++){
109     planemax[i] = 0;
110     npcfit[i] = 0;
111     varcfit[i] = 0;
112     }
113     }
114     };
115    
116     #endif

  ViewVC Help
Powered by ViewVC 1.1.23