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

SoftPhotonBarAcceptor.cxx

Go to the documentation of this file.
00001 #include "FastShowerUtils/Acceptors/SoftPhotonBarAcceptor.h"
00002 
00003 #include "FastShowerUtils/ParticleParameters.h"
00004 
00005 #include <iostream>
00006 namespace FastShower{
00007 
00008   SoftPhotonBarAcceptor::SoftPhotonBarAcceptor(): 
00009     IAcceptor(), DebugBase("SoftPhotonBarAcceptor"){}
00010 
00011   IAcceptor* SoftPhotonBarAcceptor::clone() const{
00012     return  new SoftPhotonBarAcceptor(*this);
00013   }
00014 
00015   bool SoftPhotonBarAcceptor::accept(const ParticleParameters& pp) const {
00016     return  (pp.isPhoton() && pp.rawEnergy()<1.5 && pp.region()==0);
00017   }
00018 
00019 }//namespace
00020 

Generated on Tue Mar 18 11:50:06 2003 for FastShowerUtils by doxygen1.3-rc1