Fork me on GitHub

Changeset e0f8f99 in git


Ignore:
Timestamp:
Jun 22, 2016, 10:41:21 AM (9 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
52315d4
Parents:
efac6f9
Message:

put back energy weighted time mean

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/SimpleCalorimeter.cc

    refac6f9 re0f8f99  
    390390    fTowerEnergy += energy;
    391391
    392     fTowerTime += TMath::Sqrt(energy)*position.T();
    393     fTowerTimeWeight += TMath::Sqrt(energy);
     392    fTowerTime += energy*position.T();
     393    fTowerTimeWeight += energy;
    394394
    395395    fTower->AddCandidate(particle);
Note: See TracChangeset for help on using the changeset viewer.