36 |
cont = false; |
cont = false; |
37 |
emulate18 = true; |
emulate18 = true; |
38 |
simulation = false; |
simulation = false; |
39 |
|
withtrk = true; |
40 |
|
rigdefault = 50.; |
41 |
// |
// |
42 |
Clear(); |
Clear(); |
43 |
// |
// |
133 |
Int_t S11 = 0; |
Int_t S11 = 0; |
134 |
Float_t tmptrigty = -1.; |
Float_t tmptrigty = -1.; |
135 |
Bool_t trackanyway = true; |
Bool_t trackanyway = true; |
136 |
Float_t rigdefault = 50.; |
// Float_t rigdefault = 50.; |
137 |
Bool_t hZn = true; |
Bool_t hZn = true; |
138 |
Bool_t withtrk = true; |
// Bool_t withtrk = true; |
139 |
Bool_t st = true; |
Bool_t st = true; |
140 |
Int_t ntrkentry = 0; |
Int_t ntrkentry = 0; |
141 |
TrkLevel2 *trk = L2->GetTrkLevel2(); |
TrkLevel2 *trk = L2->GetTrkLevel2(); |
155 |
if ( L2->GetCaloLevel2()->GetCaloTrkVar(mm)->trkseqno == -2 ) m2 = true; |
if ( L2->GetCaloLevel2()->GetCaloTrkVar(mm)->trkseqno == -2 ) m2 = true; |
156 |
if ( L2->GetCaloLevel2()->GetCaloTrkVar(mm)->trkseqno == -3 ) m3 = true; |
if ( L2->GetCaloLevel2()->GetCaloTrkVar(mm)->trkseqno == -3 ) m3 = true; |
157 |
}; |
}; |
158 |
|
if ( !withtrk ) m3 = true; |
159 |
// |
// |
160 |
if ( debug ) printf(" Fill estrip matrix needed to calculate variables \n"); |
if ( debug ) printf(" Fill estrip matrix needed to calculate variables \n"); |
161 |
// |
// |
251 |
// |
// |
252 |
event->clevel1->good2 = 1; |
event->clevel1->good2 = 1; |
253 |
// |
// |
254 |
|
// copy variables calculated during calibration process which is skipped here... |
255 |
|
// |
256 |
|
event->clevel2->good = L2->GetCaloLevel2()->good; |
257 |
|
memcpy(event->clevel2->perr,L2->GetCaloLevel2()->perr,sizeof(L2->GetCaloLevel2()->perr)); |
258 |
|
memcpy(event->clevel2->swerr,L2->GetCaloLevel2()->swerr,sizeof(L2->GetCaloLevel2()->swerr)); |
259 |
|
memcpy(event->clevel2->crc,L2->GetCaloLevel2()->crc,sizeof(L2->GetCaloLevel2()->crc)); |
260 |
|
event->clevel2->selftrigger = L2->GetCaloLevel2()->selftrigger; |
261 |
|
// |
262 |
// Calculate variables common to all tracks (qtot, nstrip, etc.) |
// Calculate variables common to all tracks (qtot, nstrip, etc.) |
263 |
// |
// |
264 |
if ( debug ) printf("1 Call GetCommonVar() \n"); |
if ( debug ) printf("1 Call GetCommonVar() \n"); |