|
FairRoot/PandaRoot
|
#include "Photos/Photos.h"#include "Photos/PhotosHEPEVTParticle.h"#include "Photos/PhotosHEPEVTEvent.h"Go to the source code of this file.
Functions | |
| void | checkMomentumConservationInEvent (PhotosHEPEVTEvent *evt) |
| PhotosHEPEVTEvent * | make_simple_tau_event () |
| int | main (void) |
Variables | |
| int | NumberOfEvents = 1000 |
| int | EventsToCheck = 1000 |
| void checkMomentumConservationInEvent | ( | PhotosHEPEVTEvent * | evt | ) |
Definition at line 19 of file photos_hepevt_example.cxx.
References Photospp::PhotosHEPEVTParticle::getE(), Photospp::PhotosHEPEVTEvent::getParticle(), Photospp::PhotosHEPEVTEvent::getParticleCount(), Photospp::PhotosHEPEVTParticle::getPx(), Photospp::PhotosHEPEVTParticle::getPy(), Photospp::PhotosHEPEVTParticle::getPz(), Photospp::PhotosHEPEVTParticle::getStatus(), i, n, p, and pz.
Referenced by main().
| int main | ( | void | ) |
Example of using Photos to process event stored in HEPEVT event record
Definition at line 73 of file photos_hepevt_example.cxx.
References buf, checkMomentumConservationInEvent(), EventsToCheck, chigen::initialize(), make_simple_tau_event(), and NumberOfEvents.
| PhotosHEPEVTEvent* make_simple_tau_event | ( | ) |
Create a simple e+ + e- -> Z -> tau+ tau- HEPEVT event
Definition at line 41 of file photos_hepevt_example.cxx.
References Photospp::PhotosHEPEVTEvent::addParticle(), and evt.
Referenced by main().
| int EventsToCheck = 1000 |
Definition at line 17 of file photos_hepevt_example.cxx.
Referenced by main().
| int NumberOfEvents = 1000 |
Definition at line 16 of file photos_hepevt_example.cxx.
Referenced by main().
1.8.8