Fork me on GitHub

Changeset 556 in svn


Ignore:
Timestamp:
Feb 24, 2010, 4:39:56 PM (15 years ago)
Author:
severine ovyn
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SmearUtil.cc

    r553 r556  
    14391439}
    14401440
     1441float RESOLution::IsolationSumEt(const float iPhi, const float iEta, D_CaloTowerList & towers)
     1442{
     1443   float etiso = 0; // sum of all track pt in isolation cone
     1444cout<<"*************************"<<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
    14411460// ******* Calorimetric isolation
    14421461float 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.