/[PAMELA software]/DarthVader/TrackerLevel2/src/TrkLevel0.cpp
ViewVC logotype

Contents of /DarthVader/TrackerLevel2/src/TrkLevel0.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Fri May 19 13:15:54 2006 UTC (18 years, 6 months ago) by mocchiut
Branch: DarthVader
CVS Tags: v0r01, v0r02, v2r01, v1r01beta, start, v1r00, v1r01, v3r00, v2r00BETA
Changes since 1.1: +0 -0 lines
Error occurred while calculating annotation data.
Imported sources

1 /**
2 * \file TrkLevel0.cpp
3 * \author Elena Vannuccini
4 */
5 #include <TrkLevel0.h>
6 using namespace pamela::tracker;
7
8 /**
9 * Pass values from the TrkLevel0 object to a struct cTrkLevel0 (to put data in F77 common).
10 */
11 void TrkLevel0::GetCommonVar(cTrkLevel0 *l0) {
12
13 Int_t countrk=0;
14
15 l0->good0 = good0;
16 l0->TOTDATAlength = TOTDATAlength;
17 for(Int_t ii=0;ii<12;ii++){
18 l0->DAQmode[ii] = DAQmode[ii];
19 l0->DSPnumber[ii] = DSPnumber[ii];
20 l0->DATAlength[ii] = DATAlength[ii];
21 l0->eventn[ii] = eventn[ii];
22 l0->nclust[ii] = nclust[ii];
23 l0->cutc[ii] = cutc[ii];
24 l0->cutcl[ii] = cutcl[ii];
25 for(Int_t iii=0;iii<3;iii++){
26 l0->addrcluster[iii][ii] = addrcluster[ii][iii];
27 l0->signcluster[iii][ii] = signcluster[ii][iii];
28 };
29 l0->fc[ii] = fc[ii];
30 l0->compressiontime[ii] = compressiontime[ii];
31 l0->fl5[ii] = fl5[ii];
32 l0->fl4[ii] = fl4[ii];
33 l0->fl3[ii] = fl3[ii];
34 l0->fl2[ii] = fl2[ii];
35 l0->fl1[ii] = fl1[ii];
36 l0->fl6[ii] = fl6[ii];
37 l0->checksum[ii] = checksum[ii];
38 for(Int_t j=0;j<DATAlength[ii];j++){
39 l0->datatracker[countrk] = TrackerData.At(countrk);
40 ++countrk;
41 };
42 l0->pnum[ii] = pnum[ii];
43 l0->cmdnum[ii] = cmdnum[ii];
44 l0->bid[ii] = bid[ii];
45 l0->alarm[ii] = alarm[ii];
46 l0->aswr[ii] = aswr[ii];
47 };
48
49
50 }
51

  ViewVC Help
Powered by ViewVC 1.1.23