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 class ostream;
00016 namespace Atlfast{
00017 
00018   class CalSectionReject;
00019   MsgStream& operator <<( MsgStream&, const CalSectionReject&);
00020   MsgStream& operator <<( MsgStream&, const CalSectionReject* const);
00021   ostream& operator   <<(   ostream&, const CalSectionReject&);
00022   ostream& operator   <<(   ostream&, const CalSectionReject* const);
00023 
00024 
00025   class TransportedParticle;
00026   
00027   class CalSectionReject {
00028   public:
00029     /* particle is rejected is eta, phi is less than or equal to 
00030      * minimum eta, phi values
00031      * or greater than maximum values
00032      */
00033     CalSectionReject(double etaMin, double etaMax,
00034                      double phiMin, double phiMax);
00035     
00036     CalSectionReject(const CalSectionReject& other);
00037     bool operator()(const TransportedParticle* p);
00038     MsgStream&    writeout(   MsgStream& stream) const;
00039     //    std::ostream& writeout(std::ostream& stream) const;
00040   private:
00041     double m_etaMin; //Eta bounds for calsection
00042     double m_etaMax;
00043     double m_phiMin;  //Phi bounds for calsection
00044     double m_phiMax;
00045   };
00046 }
00047 #endif
00048 
00049 
00050 
00051 
00052 
00053 
00054 

Generated on Wed May 1 14:11:31 2002 for AtlfastAlgs by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001