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

FastShower::HardPhotonEcAcceptor Class Reference

#include <HardPhotonEcAcceptor.h>

Inheritance diagram for FastShower::HardPhotonEcAcceptor:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

virtual bool accept (const ParticleParameters &) const

Constructor & Destructor Documentation

FastShower::HardPhotonEcAcceptor::HardPhotonEcAcceptor  
 

Definition at line 8 of file HardPhotonEcAcceptor.cxx.

Referenced by clone().

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

Member Function Documentation

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

Implementation of the IAcceptor interface.

Implements FastShower::IAcceptor.

Definition at line 11 of file HardPhotonEcAcceptor.cxx.

References HardPhotonEcAcceptor().

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

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

Implements FastShower::IAcceptor.

Definition at line 15 of file HardPhotonEcAcceptor.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