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

HadronBarAcceptor.cxx

Go to the documentation of this file.
00001 #include "FastShowerUtils/Acceptors/HadronBarAcceptor.h"
00002 
00003 #include "FastShowerUtils/ParticleParameters.h"
00004 
00005 #include <iostream>
00006 namespace FastShower{
00007 
00008   HadronBarAcceptor::HadronBarAcceptor(): 
00009     IAcceptor(), DebugBase("HadronBarAcceptor"){}
00010 
00011   IAcceptor* HadronBarAcceptor::clone() const{
00012     return  new HadronBarAcceptor(*this);
00013   }
00014 
00015   bool HadronBarAcceptor::accept(const ParticleParameters& pp) const {
00016     return  (pp.isHadron() && 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