Fork me on GitHub

Changeset 4e09c3a in git for modules/Calorimeter.cc


Ignore:
Timestamp:
Dec 22, 2014, 11:38:11 AM (10 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
a2983ec
Parents:
914a1f5
Message:

replace DitherTowerCenter with SmearTowerCenter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/Calorimeter.cc

    r914a1f5 r4e09c3a  
    158158
    159159  // switch on or off the dithering of the center of calorimeter towers
    160   fDitherTowerCenter = GetBool("DitherTowerCenter", true);
     160  fSmearTowerCenter = GetBool("SmearTowerCenter", true);
    161161
    162162  // read resolution formulas
     
    456456  time = (TMath::Sqrt(ecalEnergy)*ecalTime + TMath::Sqrt(hcalEnergy)*hcalTime)/(TMath::Sqrt(ecalEnergy) + TMath::Sqrt(hcalEnergy));
    457457
    458   if(fDitherTowerCenter)
     458  if(fSmearTowerCenter)
    459459  {
    460460    eta = gRandom->Uniform(fTowerEdges[0], fTowerEdges[1]);
Note: See TracChangeset for help on using the changeset viewer.