Changeset eee94204 in git for modules/SimpleCalorimeter.cc
- Timestamp:
- Oct 15, 2021, 11:37:55 AM (3 years ago)
- Branches:
- master
- Children:
- 10c0ebe
- Parents:
- 83e77ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/SimpleCalorimeter.cc
r83e77ee reee94204 450 450 pt = energy / TMath::CosH(eta); 451 451 452 // check whether barrel or endcap tower453 if ( (fTowerRmax - fTower->Position.Perp()) < 1.e-06 && TMath::Abs(eta) > 0.)452 // endcap 453 if (TMath::Abs(fTower->Position.Pt() - fTowerRmax) > 1.e-06 && TMath::Abs(eta) > 0.){ 454 454 r = fTower->Position.Z()/TMath::SinH(eta); 455 else 455 } 456 // barrel 457 else { 456 458 r = fTower->Position.Pt(); 459 } 457 460 458 461 fTower->Position.SetPtEtaPhiE(r, eta, phi, time);
Note:
See TracChangeset
for help on using the changeset viewer.