Fork me on GitHub

Changeset f8299bc in git for modules


Ignore:
Timestamp:
Jun 6, 2016, 2:39:19 PM (8 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
e2339af
Parents:
af2c385
Message:

added PID to EFlowPhotons

Location:
modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • modules/Calorimeter.cc

    raf2c385 rf8299bc  
    625625    tower->Eem = ecalEnergy;
    626626    tower->Ehad = 0.0;
     627    tower->PID = 22;
    627628
    628629    fEFlowPhotonOutputArray->Add(tower);
  • modules/SimpleCalorimeter.cc

    raf2c385 rf8299bc  
    504504    tower->Eem = (!fIsEcal) ? 0 : energy;
    505505    tower->Ehad = (fIsEcal) ? 0 : energy;
    506 
     506   
    507507    tower->Momentum.SetPtEtaPhiE(pt, eta, phi, energy);
     508   
     509    tower->PID = (fIsEcal) ? 22 : 0;
     510   
    508511    fEFlowTowerOutputArray->Add(tower);
    509512  }
Note: See TracChangeset for help on using the changeset viewer.