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

Generated on Tue Mar 18 11:18:22 2003 for AtlfastAlgs by doxygen1.3-rc1