Changeset f8a2939 in git for modules/DenseTrackFilter.cc
- Timestamp:
- Jun 26, 2017, 10:18:22 PM (7 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- dad68bd
- Parents:
- affe5c7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/DenseTrackFilter.cc
raffe5c7 rf8a2939 138 138 TLorentzVector position, momentum; 139 139 Short_t etaBin, phiBin, flags; 140 Int_t number ;140 Int_t number, towerTrackHits; 141 141 Long64_t towerHit, towerEtaPhi, hitEtaPhi; 142 142 … … 189 189 fTower = 0; 190 190 ptmax = 0.0; 191 towerTrackHits = 0; 191 192 192 193 for(itTowerHits = fTowerHits.begin(); itTowerHits != fTowerHits.end(); ++itTowerHits) … … 196 197 number = (towerHit) & 0x0000000000FFFFFFLL; 197 198 hitEtaPhi = towerHit >> 32; 198 199 199 if(towerEtaPhi != hitEtaPhi) 200 200 { … … 203 203 204 204 // saving track with highest pT that hit the tower 205 if( fTowerTrackHits > 0)205 if(towerTrackHits > 0) 206 206 { 207 207 mother = bestTrack; … … 218 218 219 219 ptmax = 0.0; 220 fTowerTrackHits = 0;220 towerTrackHits = 0; 221 221 bestTrack = 0; 222 222 } … … 225 225 if(flags & 1) 226 226 { 227 ++ fTowerTrackHits;227 ++towerTrackHits; 228 228 track = static_cast<Candidate*>(fTrackInputArray->At(number)); 229 229 momentum = track->Momentum;
Note:
See TracChangeset
for help on using the changeset viewer.