- Timestamp:
- Jun 8, 2015, 2:22:11 PM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 9c491e1
- Parents:
- e8070b6
- Location:
- modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/SimpleCalorimeter.cc
re8070b6 rfc6300d 149 149 150 150 fEnergySignificanceMin = GetDouble("EnergySignificanceMin", 0.0); 151 152 // flag that says if current calo is Ecal of Hcal (will then fill correct values of Eem and Ehad) 153 fIsEcal = GetBool("IsEcal", false); 151 154 152 155 // switch on or off the dithering of the center of calorimeter towers … … 425 428 fTower->Momentum.SetPtEtaPhiE(pt, eta, phi, energy); 426 429 430 fTower->Eem = (!fIsEcal) ? 0 : energy; 431 fTower->Ehad = (fIsEcal) ? 0 : energy; 432 427 433 fTower->Edges[0] = fTowerEdges[0]; 428 434 fTower->Edges[1] = fTowerEdges[1]; … … 447 453 pt = energy / TMath::CosH(eta); 448 454 455 tower->Eem = (!fIsEcal) ? 0 : energy; 456 tower->Ehad = (fIsEcal) ? 0 : energy; 457 449 458 tower->Momentum.SetPtEtaPhiE(pt, eta, phi, energy); 450 459 fEFlowTowerOutputArray->Add(tower); -
modules/SimpleCalorimeter.h
re8070b6 rfc6300d 1 1 2 /* 2 3 * Delphes: a framework for fast simulation of a generic collider experiment … … 74 75 Bool_t fSmearTowerCenter; 75 76 77 Bool_t fIsEcal; //! 78 76 79 TFractionMap fFractionMap; //! 77 80 TBinMap fBinMap; //!
Note:
See TracChangeset
for help on using the changeset viewer.