106 |
if ( debug ) printf(" Processing event at OBT %u PKT %u time %u \n",OBT,PKT,atime); |
if ( debug ) printf(" Processing event at OBT %u PKT %u time %u \n",OBT,PKT,atime); |
107 |
// |
// |
108 |
Clear(); |
Clear(); |
109 |
|
if ( debug ) printf(" Always calculate stdedx1 \n"); |
110 |
// |
// |
111 |
// Always calculate stdedx1 |
// Always calculate stdedx1 |
112 |
// |
// |
133 |
// |
// |
134 |
}; |
}; |
135 |
// |
// |
136 |
|
if ( debug ) printf(" find energy released along the strip of maximum on the first plane and on the two neighbour strips \n"); |
137 |
|
// |
138 |
// find energy released along the strip of maximum on the first plane and on the two neighbour strips |
// find energy released along the strip of maximum on the first plane and on the two neighbour strips |
139 |
// |
// |
140 |
if ( indx > 0 ){ |
if ( indx > 0 ){ |
148 |
stdedx1 = 0.; |
stdedx1 = 0.; |
149 |
}; |
}; |
150 |
// |
// |
151 |
|
if ( debug ) printf(" if ( !usetrack ) return: usetrack %i ntr %i \n",usetrack,ntr); |
152 |
// |
// |
153 |
// |
// |
154 |
if ( !usetrack ) return; |
if ( !usetrack ) return; |
157 |
CaloTrkVar *track = 0; |
CaloTrkVar *track = 0; |
158 |
if ( ntr >= 0 ){ |
if ( ntr >= 0 ){ |
159 |
ptrack = L2->GetTrack(ntr); |
ptrack = L2->GetTrack(ntr); |
160 |
track = ptrack->GetCaloTrack(); |
if ( ptrack ) track = ptrack->GetCaloTrack(); |
161 |
} else { |
} else { |
162 |
track = L2->GetCaloStoredTrack(ntr); |
track = L2->GetCaloStoredTrack(ntr); |
163 |
}; |
}; |