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   class EPileupDeposit;
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     bool operator()(const EPileupDeposit* p);
00039     MsgStream&    writeout(   MsgStream& stream) const;
00040     //    std::ostream& writeout(std::ostream& stream) const;
00041   private:
00042     double m_etaMin; //Eta bounds for calsection
00043     double m_etaMax;
00044     double m_phiMin;  //Phi bounds for calsection
00045     double m_phiMax;
00046   };
00047 }
00048 #endif
00049 
00050 
00051 
00052 
00053 
00054 
00055 

Generated on Tue Jan 28 09:57:12 2003 for AtlfastAlgs by doxygen1.3-rc1