Changeset 547 in svn for trunk/src/JetsUtil.cc
- Timestamp:
- Feb 22, 2010, 11:35:46 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/JetsUtil.cc
r443 r547 165 165 for (unsigned int j = 0; j < constituents.size(); j++) 166 166 { 167 D_CaloTower calConsti(list_of_active_towers.getElement(constituents[j].eta(),constituents[j].phi())); 167 //D_CaloTower calConsti(list_of_active_towers.getElement(constituents[j].eta(),constituents[j].phi())); 168 // bug fix! bad association of phi [-pi;pi] <-> [0 ; 2pi] 169 D_CaloTower calConsti(list_of_active_towers.getElement(constituents[j].eta(),constituents[j].phi_std())); 168 170 EmVal += calConsti.getEem(); 169 171 HadVal += calConsti.getEhad(); … … 224 226 for (unsigned int i = 0; i < sorted_jets.size(); i++) { 225 227 JET.SetPxPyPzE(sorted_jets[i].px(),sorted_jets[i].py(),sorted_jets[i].pz(),sorted_jets[i].E()); 226 // Tau jet identification : 1! track and electromagnetic collimation228 // Tau jet identification : 1! or 3! track and electromagnetic collimation 227 229 if(fabs(JET.Eta()) < (DET->CEN_max_tracker - DET->TAU_track_scone)) { 228 230 double Energie_tau_central = DET->EnergySmallCone(towers,JET.Eta(),JET.Phi()); 231 int NumTrackTau = DET->NumTracks(charge,TrackCentral,DET->TAU_track_pt,JET.Eta(),JET.Phi()); 229 232 if( 230 233 ( Energie_tau_central/JET.E() > DET->TAU_energy_frac ) && 231 ( DET->NumTracks(charge,TrackCentral,DET->TAU_track_pt,JET.Eta(),JET.Phi()) == 1) &&234 (( NumTrackTau == 1 ) || ( NumTrackTau == 3 )) && 232 235 ( JET.Pt() > DET->PTCUT_taujet) 233 236 ) {
Note:
See TracChangeset
for help on using the changeset viewer.