Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/DualReadoutCalorimeter.cc

    rf382b7e rde2e39d  
    645645    //cout<<"Creating tower with Pt, Eta, Phi, Energy: "<<pt<<","<<eta<<","<<phi<<","<<neutralEnergy<<endl;
    646646    tower->Momentum.SetPtEtaPhiE(pt, eta, phi, neutralEnergy);
    647 
    648     // if no hadronic energy, use ECAL resolution
    649     if (fHCalTowerEnergy <= fHCalEnergyMin)
    650     {
    651       tower->Eem = neutralEnergy;
    652       tower->Ehad = 0.0;
    653       tower->PID = 22;
    654     }
    655 
    656     // if hadronic fraction > 0, use HCAL resolution
    657     else
    658     {
    659       tower->Eem = 0;
    660       tower->Ehad = neutralEnergy;
    661       tower->PID = 130;
    662     }
     647    tower->Eem = neutralEnergy;
     648    tower->Ehad = 0.0;
     649    tower->PID = 22;
     650
     651   
    663652
    664653    fEFlowPhotonOutputArray->Add(tower);
    665    
     654
    666655
    667656    //clone tracks
Note: See TracChangeset for help on using the changeset viewer.