Changeset 61dccd3 in git for modules/SimpleCalorimeter.cc
- Timestamp:
- Aug 24, 2021, 11:57:44 AM (3 years ago)
- Branches:
- master
- Children:
- 83e77ee
- Parents:
- 1ad8eca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/SimpleCalorimeter.cc
r1ad8eca r61dccd3 451 451 452 452 // check whether barrel or endcap tower 453 if ( fTower->Position.Perp() < fTowerRmax&& TMath::Abs(eta) > 0.)453 if ((fTowerRmax - fTower->Position.Perp()) < 1.e-06 && TMath::Abs(eta) > 0.) 454 454 r = fTower->Position.Z()/TMath::SinH(eta); 455 455 else … … 458 458 fTower->Position.SetPtEtaPhiE(r, eta, phi, time); 459 459 fTower->Momentum.SetPtEtaPhiE(pt, eta, phi, energy); 460 fTower->L = fTower->Position.Vect().Mag(); 460 461 461 462 fTower->Eem = (!fIsEcal) ? 0 : energy; 462 463 fTower->Ehad = (fIsEcal) ? 0 : energy; 464 fTower->Etrk = fTrackEnergy; 463 465 464 466 fTower->Edges[0] = fTowerEdges[0];
Note:
See TracChangeset
for help on using the changeset viewer.