Fork me on GitHub

Changeset 4e09c3a in git


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

Location:
modules
Files:
4 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]);
  • modules/Calorimeter.h

    r914a1f5 r4e09c3a  
    7474  Double_t fHCalEnergySignificanceMin;
    7575
    76   Bool_t fDitherTowerCenter;
     76  Bool_t fSmearTowerCenter;
    7777
    7878  TFractionMap fFractionMap; //!
  • modules/SimpleCalorimeter.cc

    r914a1f5 r4e09c3a  
    151151
    152152  // switch on or off the dithering of the center of calorimeter towers
    153   fDitherTowerCenter = GetBool("DitherTowerCenter", true);
     153  fSmearTowerCenter = GetBool("SmearTowerCenter", true);
    154154
    155155  // read resolution formulas
     
    409409  if(energy < fEnergyMin || energy < fEnergySignificanceMin*sigma) energy = 0.0;
    410410
    411   if(fDitherTowerCenter)
     411  if(fSmearTowerCenter)
    412412  {
    413413    eta = gRandom->Uniform(fTowerEdges[0], fTowerEdges[1]);
  • modules/SimpleCalorimeter.h

    r914a1f5 r4e09c3a  
    7272  Double_t fEnergySignificanceMin;
    7373
    74   Bool_t fDitherTowerCenter;
     74  Bool_t fSmearTowerCenter;
    7575
    7676  TFractionMap fFractionMap; //!
Note: See TracChangeset for help on using the changeset viewer.