Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

FastShower::SoftPhotonEcAcceptor Class Reference

#include <SoftPhotonEcAcceptor.h>

Inheritance diagram for FastShower::SoftPhotonEcAcceptor:

Inheritance graph
[legend]
Collaboration diagram for FastShower::SoftPhotonEcAcceptor:

Collaboration graph
[legend]
List of all members.

Public Methods

 SoftPhotonEcAcceptor ()
 SoftPhotonEcAcceptor (const IConfigurer *, const std::string &)
virtual IAcceptorclone () const
 Implementation of the IAcceptor interface.

virtual bool accept (const ParticleParameters &) const

Constructor & Destructor Documentation

FastShower::SoftPhotonEcAcceptor::SoftPhotonEcAcceptor  
 

Definition at line 8 of file SoftPhotonEcAcceptor.cxx.

Referenced by clone().

00008                                             : 
00009     IAcceptor(), DebugBase("SoftPhotonEcAcceptor"){}

FastShower::SoftPhotonEcAcceptor::SoftPhotonEcAcceptor const IConfigurer  ,
const std::string &   
 


Member Function Documentation

IAcceptor * FastShower::SoftPhotonEcAcceptor::clone   const [virtual]
 

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   }

bool FastShower::SoftPhotonEcAcceptor::accept const ParticleParameters   const [virtual]
 

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   }

The documentation for this class was generated from the following files:
Generated on Tue Mar 18 11:55:05 2003 for FastShowerUtils by doxygen1.3-rc1