- Timestamp:
- Jun 13, 2016, 3:30:43 PM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- efc1546
- Parents:
- 9a9afa8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/SimpleCalorimeter.cc
r9a9afa8 r2628d2b 366 366 energy = momentum.E() * fTrackFractions[number]; 367 367 368 fTrackTime += TMath::Sqrt(energy)*position.T();369 fTrackTimeWeight += TMath::Sqrt(energy);368 fTrackTime += energy*position.T(); 369 fTrackTimeWeight += energy; 370 370 371 371 if(fTrackFractions[number] > 1.0E-9) … … 403 403 fTowerEnergy += energy; 404 404 405 fTowerTime += TMath::Sqrt(energy)*position.T();406 fTowerTimeWeight += TMath::Sqrt(energy);405 fTowerTime += energy*position.T(); 406 fTowerTimeWeight += energy; 407 407 408 408 fTower->AddCandidate(particle);
Note:
See TracChangeset
for help on using the changeset viewer.