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