42 |
nox = false; |
nox = false; |
43 |
noy = false; |
noy = false; |
44 |
forcecalo = false; |
forcecalo = false; |
45 |
|
forcefitmode = -1; |
46 |
memset(mask,0,2*22*sizeof(Int_t)); |
memset(mask,0,2*22*sizeof(Int_t)); |
47 |
// |
// |
48 |
Clear(); |
Clear(); |
154 |
// Clear structures used to communicate with fortran |
// Clear structures used to communicate with fortran |
155 |
// |
// |
156 |
event->ClearStructs();//ELENA |
event->ClearStructs();//ELENA |
157 |
|
if ( forcefitmode > 0 ){ |
158 |
|
if ( forcefitmode != 1000 && forcefitmode != 1001 && forcefitmode != 1002 ){ |
159 |
|
printf(" ERROR! forcefitmode=%i \n Use forcefitmode = 1000 for fit mode 0, 1001 fit mode 1, 1002 fit mode 3\n",forcefitmode); |
160 |
|
forcefitmode = -1; |
161 |
|
} else { |
162 |
|
event->clevel2->fmode[0] = forcefitmode; |
163 |
|
event->clevel2->fmode[1] = forcefitmode; |
164 |
|
}; |
165 |
|
}; |
166 |
// |
// |
167 |
Bool_t newentry = false; |
Bool_t newentry = false; |
168 |
// |
// |
169 |
if ( L2->IsORB() ){ |
if ( L2->IsORB() ){ |
170 |
|
if ( debug ) printf(" I am here, we have orbital infos \n"); |
171 |
if ( L2->GetOrbitalInfo()->pkt_num != PKT || L2->GetOrbitalInfo()->OBT != OBT || L2->GetOrbitalInfo()->absTime != atime || sel != ssel ){ |
if ( L2->GetOrbitalInfo()->pkt_num != PKT || L2->GetOrbitalInfo()->OBT != OBT || L2->GetOrbitalInfo()->absTime != atime || sel != ssel ){ |
172 |
newentry = true; |
newentry = true; |
173 |
OBT = L2->GetOrbitalInfo()->OBT; |
OBT = L2->GetOrbitalInfo()->OBT; |