Fork me on GitHub

Changeset 551 in svn for trunk/Delphes.cpp


Ignore:
Timestamp:
Feb 23, 2010, 2:20:23 AM (15 years ago)
Author:
Xavier Rouby
Message:

EtRatio for muon and electron; apparently bug free

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Delphes.cpp

    r550 r551  
    629629          elementElec->IsolPt = ptisoEl;
    630630
    631 cout << "\nC'est un electron\n";
    632631          int electron_tower_index = DET->BinEtaPhi(elementElec->PhiCalo,elementElec->EtaCalo,iPhiEl,iEtaEl);
    633632          D_CaloTower calElec(list_of_active_towers.getElement(iEtaEl,iPhiEl));
    634633          elementElec->EHoverEE = calElec.getEhad()/calElec.getEem();
    635           elementElec->EtRatio =  DET->CaloIsolation(muon[i], list_of_active_towers,iPhiEl,iEtaEl,electron_tower_index);
     634          elementElec->EtRatio =  DET->CaloIsolation(electron[i], list_of_active_towers,iPhiEl,iEtaEl,electron_tower_index);
    636635        }                       
    637636     
     
    648647          elementMu->IsolPt = ptisoMu;
    649648
    650 cout << "\nC'est un muon\n";
    651           // binning of the muon position in calo
    652649          int muon_tower_index = DET->BinEtaPhi(elementMu->PhiCalo,elementMu->EtaCalo,iPhiMu,iEtaMu);
    653650          D_CaloTower calMuon(list_of_active_towers.getElement(iEtaMu,iPhiMu));
Note: See TracChangeset for help on using the changeset viewer.