Changeset View
Changeset View
Standalone View
Standalone View
EvtGenExternal/EvtPhotosEngine.hh
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | public: | ||||
EvtPhotosEngine( std::string photonType = "gamma", | EvtPhotosEngine( std::string photonType = "gamma", | ||||
bool useEvtGenRandom = true ); | bool useEvtGenRandom = true ); | ||||
bool doDecay( EvtParticle* theMother ) override; | bool doDecay( EvtParticle* theMother ) override; | ||||
void initialise() override; | void initialise() override; | ||||
private: | private: | ||||
std::string _photonType; | std::string m_photonType; | ||||
EvtId _gammaId; | EvtId m_gammaId; | ||||
int _gammaPDG; | int m_gammaPDG; | ||||
double _mPhoton; | double m_mPhoton; | ||||
bool _initialised; | bool m_initialised; | ||||
GenParticlePtr createGenParticle( EvtParticle* theParticle, bool incoming ); | GenParticlePtr createGenParticle( EvtParticle* theParticle, bool incoming ); | ||||
int getNumberOfPhotons( const GenVertexPtr theVertex ) const; | int getNumberOfPhotons( const GenVertexPtr theVertex ) const; | ||||
}; | }; | ||||
#endif | #endif | ||||
#endif | #endif |