Changes in modules/SimpleCalorimeter.cc [2628d2b:f8299bc] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/SimpleCalorimeter.cc
r2628d2b rf8299bc 366 366 energy = momentum.E() * fTrackFractions[number]; 367 367 368 fTrackTime += energy*position.T();369 fTrackTimeWeight += energy;368 fTrackTime += TMath::Sqrt(energy)*position.T(); 369 fTrackTimeWeight += TMath::Sqrt(energy); 370 370 371 371 if(fTrackFractions[number] > 1.0E-9) … … 403 403 fTowerEnergy += energy; 404 404 405 fTowerTime += energy*position.T();406 fTowerTimeWeight += energy;405 fTowerTime += TMath::Sqrt(energy)*position.T(); 406 fTowerTimeWeight += TMath::Sqrt(energy); 407 407 408 408 fTower->AddCandidate(particle);
Note:
See TracChangeset
for help on using the changeset viewer.