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

HardPhotonBarAcceptor.cxx

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

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