#include <SoftPhotonEcAcceptor.h>
Inheritance diagram for FastShower::SoftPhotonEcAcceptor:
Public Methods | |
SoftPhotonEcAcceptor () | |
SoftPhotonEcAcceptor (const IConfigurer *, const std::string &) | |
virtual IAcceptor * | clone () const |
Implementation of the IAcceptor interface. | |
virtual bool | accept (const ParticleParameters &) const |
|
Definition at line 8 of file SoftPhotonEcAcceptor.cxx. Referenced by clone().
00008 : 00009 IAcceptor(), DebugBase("SoftPhotonEcAcceptor"){} |
|
|
|
Implementation of the IAcceptor interface.
Implements FastShower::IAcceptor. Definition at line 11 of file SoftPhotonEcAcceptor.cxx. References SoftPhotonEcAcceptor().
00011 { 00012 return new SoftPhotonEcAcceptor(*this); 00013 } |
|
Implements FastShower::IAcceptor. Definition at line 15 of file SoftPhotonEcAcceptor.cxx. References FastShower::ParticleParameters::isPhoton(), FastShower::ParticleParameters::rawEnergy(), and FastShower::ParticleParameters::region().
00015 {
00016 return (pp.isPhoton() && pp.rawEnergy()<1.5 && pp.region()==1);
00017 }
|