Changeset 384 in svn for trunk/src/JetsUtil.cc
- Timestamp:
- May 15, 2009, 7:28:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/JetsUtil.cc
r350 r384 134 134 // sort jets into increasing pt 135 135 sorted_jets = sorted_by_pt(inclusive_jets); 136 137 136 //Bin tracks to make the link 138 137 float iEtaTrack[TrackCentral.size()]; 139 138 float iPhiTrack[TrackCentral.size()]; 140 139 for(unsigned int t = 0; t < TrackCentral.size(); t++) 141 { 142 DET->BinEtaPhi(TrackCentral[t].PhiOuter,TrackCentral[t].EtaOuter,iPhiTrack[t],iEtaTrack[t]); 143 } 140 { 141 if(!DET->JET_Eflow) 142 DET->BinEtaPhi(TrackCentral[t].PhiOuter,TrackCentral[t].EtaOuter,iPhiTrack[t],iEtaTrack[t]); 143 else { 144 iPhiTrack[t] = TrackCentral[t].PhiOuter; iEtaTrack[t] = TrackCentral[t].EtaOuter; 145 } 146 } 144 147 int numTrackJet; 145 148 for (unsigned int i = 0; i < sorted_jets.size(); i++)
Note:
See TracChangeset
for help on using the changeset viewer.