6#include "PhotosValidationTool.h"
11PhotosValidationTool::PhotosValidationTool():m_more_photons_added(0),m_timer(
"Photos++ processing time") {
12 memset(m_photons_added,0,
sizeof(
int)*MAX_PHOTONS_TO_KEEP_TRACK_OF);
16 Photospp::Photos::initialize();
17 Photospp::Photos::setInfraredCutOff(0.001/200);
19 HEPMC2CODE( Photospp::Photos::createHistoryEntries(
false,3); )
20 HEPMC3CODE( Photospp::Photos::createHistoryEntries(
false,3); )
33 HEPMC2CODE( Photospp::PhotosHepMCEvent *p_event =
new Photospp::PhotosHepMCEvent (&hepmc); )
34 HEPMC3CODE( Photospp::PhotosHepMC3Event *p_event =
new Photospp::PhotosHepMC3Event(&hepmc); )
55 Photospp::Log::Summary();
60 if( sum == 0 ) sum = 1;
62 printf(
"---------------------------------------------------\n");
63 printf(
" Number of photons added by Photos++ (per event):\n");
64 printf(
"---------------------------------------------------\n");
69 printf(
"total: %7i events\n",sum );
70 printf(
"---------------------------------------------------\n");
Stores event-related information.
int particles_size() const
Particles size, HepMC2 compatiility.
const std::vector< ConstGenParticlePtr > & particles() const
Get list of particles (const)