Fork me on GitHub

Changeset f01803a in git


Ignore:
Timestamp:
May 4, 2016, 11:49:06 AM (8 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
bff2e33
Parents:
cb46568 (diff), 4bf6061 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into dev_01

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/Example3.C

    rcb46568 rf01803a  
    144144
    145145      particle = (GenParticle*) photon->Particles.At(0);
    146       if(object->IsA() == GenParticle::Class())
    147       {
    148         plots->fPhotonDeltaPT->Fill((particle->PT - photon->PT)/particle->PT);
    149         plots->fPhotonDeltaEta->Fill((particle->Eta - photon->Eta)/particle->Eta);
    150         plots->fPhotonDeltaE->Fill((particle->E - photon->E)/particle->E);
    151       }   
     146      plots->fPhotonDeltaPT->Fill((particle->PT - photon->PT)/particle->PT);
     147      plots->fPhotonDeltaEta->Fill((particle->Eta - photon->Eta)/particle->Eta);
     148      plots->fPhotonDeltaE->Fill((particle->E - photon->E)/particle->E);
     149         
    152150    }
    153151
Note: See TracChangeset for help on using the changeset viewer.