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

CalSectionReject.h

Go to the documentation of this file.
00001 //=================================================
00002 //
00003 //
00004 // Selector function object used by CalSection to
00005 // make acceptance cuts on particles.
00006 //
00007 // Author: Peter Sherwood
00008 //
00009 //
00010 //===================================================
00011 #ifndef ATLFAST_CALSECTIONREJECT_H
00012 #define ATLFAST_CALSECTIONREJECT_H
00013 
00014 class MsgStream;
00015 
00016 namespace Atlfast{
00017   class CalSectionReject;
00018   MsgStream& operator <<( MsgStream&, const CalSectionReject&);
00019   MsgStream& operator <<( MsgStream&, const CalSectionReject* const);
00020 
00021 
00022   class TransportedParticle;
00023   
00024   class CalSectionReject {
00025   public:
00026     CalSectionReject(double etaMin, double etaMax,
00027                      double phiMin, double phiMax);
00028     
00029     CalSectionReject(const CalSectionReject& other);
00030     bool operator()(const TransportedParticle* p);
00031     MsgStream& writeout(MsgStream& stream) const;
00032   private:
00033     double m_etaMin; //Eta bounds for calsection
00034     double m_etaMax;
00035     double m_phiMin;  //Phi bounds for calsection
00036     double m_phiMax;
00037   };
00038 }
00039 #endif
00040 
00041 
00042 
00043 
00044 
00045 
00046 

Generated on Mon Feb 4 15:54:23 2002 for Atlfast by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001