Changeset 4e09c3a in git
- Timestamp:
- Dec 22, 2014, 11:38:11 AM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- a2983ec
- Parents:
- 914a1f5
- Location:
- modules
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/Calorimeter.cc
r914a1f5 r4e09c3a 158 158 159 159 // switch on or off the dithering of the center of calorimeter towers 160 f DitherTowerCenter = GetBool("DitherTowerCenter", true);160 fSmearTowerCenter = GetBool("SmearTowerCenter", true); 161 161 162 162 // read resolution formulas … … 456 456 time = (TMath::Sqrt(ecalEnergy)*ecalTime + TMath::Sqrt(hcalEnergy)*hcalTime)/(TMath::Sqrt(ecalEnergy) + TMath::Sqrt(hcalEnergy)); 457 457 458 if(f DitherTowerCenter)458 if(fSmearTowerCenter) 459 459 { 460 460 eta = gRandom->Uniform(fTowerEdges[0], fTowerEdges[1]); -
modules/Calorimeter.h
r914a1f5 r4e09c3a 74 74 Double_t fHCalEnergySignificanceMin; 75 75 76 Bool_t f DitherTowerCenter;76 Bool_t fSmearTowerCenter; 77 77 78 78 TFractionMap fFractionMap; //! -
modules/SimpleCalorimeter.cc
r914a1f5 r4e09c3a 151 151 152 152 // switch on or off the dithering of the center of calorimeter towers 153 f DitherTowerCenter = GetBool("DitherTowerCenter", true);153 fSmearTowerCenter = GetBool("SmearTowerCenter", true); 154 154 155 155 // read resolution formulas … … 409 409 if(energy < fEnergyMin || energy < fEnergySignificanceMin*sigma) energy = 0.0; 410 410 411 if(f DitherTowerCenter)411 if(fSmearTowerCenter) 412 412 { 413 413 eta = gRandom->Uniform(fTowerEdges[0], fTowerEdges[1]); -
modules/SimpleCalorimeter.h
r914a1f5 r4e09c3a 72 72 Double_t fEnergySignificanceMin; 73 73 74 Bool_t f DitherTowerCenter;74 Bool_t fSmearTowerCenter; 75 75 76 76 TFractionMap fFractionMap; //!
Note:
See TracChangeset
for help on using the changeset viewer.