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

FastShower::HardPhotonBarAcceptor Class Reference

#include <HardPhotonBarAcceptor.h>

Inheritance diagram for FastShower::HardPhotonBarAcceptor:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 HardPhotonBarAcceptor ()
virtual IAcceptorclone () const
 Implementation of the IAcceptor interface.

virtual bool accept (const ParticleParameters &) const

Constructor & Destructor Documentation

FastShower::HardPhotonBarAcceptor::HardPhotonBarAcceptor  
 

Definition at line 8 of file HardPhotonBarAcceptor.cxx.

Referenced by clone().

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

Member Function Documentation

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

Implementation of the IAcceptor interface.

Implements FastShower::IAcceptor.

Definition at line 11 of file HardPhotonBarAcceptor.cxx.

References HardPhotonBarAcceptor().

00011                                                {
00012     return  new HardPhotonBarAcceptor(*this);
00013   }

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

Implements FastShower::IAcceptor.

Definition at line 15 of file HardPhotonBarAcceptor.cxx.

References FastShower::ParticleParameters::isPhoton(), FastShower::ParticleParameters::rawEnergy(), and FastShower::ParticleParameters::region().

00015                                                                        {
00016     return  (pp.isPhoton() && pp.rawEnergy()>=1.5 && pp.region()==0);
00017   }

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