Changeset 556 in svn
- Timestamp:
- Feb 24, 2010, 4:39:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SmearUtil.cc
r553 r556 1439 1439 } 1440 1440 1441 float RESOLution::IsolationSumEt(const float iPhi, const float iEta, D_CaloTowerList & towers) 1442 { 1443 float etiso = 0; // sum of all track pt in isolation cone 1444 cout<<"*************************"<<endl; 1445 for (unsigned int i=0; i< towers.size(); i++) { 1446 // cout<<" eta part "<<iEta<<" eta tour "<<towers[i].getEta()<<endl; 1447 // cout<<" phi part "<<iPhi<<" phi tour "<<towers[i].getPhi()<<endl; 1448 1449 if(DeltaR(iPhi,iEta,towers[i].getPhi(),towers[i].getEta())<ISOL_Cone) { 1450 cout<<"delta R pour lequel on add "<<DeltaR(iPhi,iEta,towers[i].getPhi(),towers[i].getEta())<<endl; 1451 etiso += towers[i].getET(); // dR cut on tracks 1452 } 1453 } 1454 1455 return etiso; 1456 } 1457 1458 1459 1441 1460 // ******* Calorimetric isolation 1442 1461 float RESOLution::CaloIsolation(const D_Particle& part, const D_CaloTowerList & towers, const float iPhi, const float iEta, const int iTower) {
Note:
See TracChangeset
for help on using the changeset viewer.