Changeset cb46568 in git
- Timestamp:
- May 4, 2016, 11:37:35 AM (9 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- f01803a
- Parents:
- d5bc436 (diff), 3b99510 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/Example3.C
rd5bc436 rcb46568 144 144 145 145 particle = (GenParticle*) photon->Particles.At(0); 146 147 plots->fPhotonDeltaPT->Fill((particle->PT - photon->PT)/particle->PT); 148 plots->fPhotonDeltaEta->Fill((particle->Eta - photon->Eta)/particle->Eta); 149 plots->fPhotonDeltaE->Fill((particle->E - photon->E)/particle->E); 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 } 150 152 } 151 153
Note:
See TracChangeset
for help on using the changeset viewer.