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

CalSectionRejectTester.h

Go to the documentation of this file.
00001 // ================================================
00002 // CalSectionRejectTester.h
00003 // Test harness for Atlfast::CalSectionReject
00004 // ================================================
00005 #ifndef TESTATLFAST_CALSECTIONREJECTTESTER_H
00006 #define TESTATLFAST_CALSECTIONREJECTTESTER_H
00007 
00008 #ifndef TESTATLFAST_TESTSTAT_H
00009 #include "TestAtlfast/TestStat.h"
00010 #endif
00011 
00012 #ifndef STD_STRING_H
00013 #include <string>
00014 #define STD_STRING_H
00015 #endif
00016 namespace Atlfast{
00017   class CalSectionReject;
00018   class TransportedParticle;
00019 }
00020 namespace TestAtlfast{
00021   using Atlfast::CalSectionReject;
00022   using Atlfast::TransportedParticle;
00023   class CalSectionRejectTester{
00024   public:
00025     CalSectionRejectTester():
00026       m_verbose(true), 
00027       m_vbString("CalSectionRejectTester: ")
00028       {};
00029     CalSectionRejectTester(bool verbose):
00030       m_verbose(verbose),
00031       m_vbString("CalSectionRejectTester: ") 
00032       {};
00033     TestStat test();
00034   private:
00035     bool m_verbose;
00036     string m_vbString;
00037     CalSectionReject* m_csr;
00038     double m_etaMax;
00039     double m_phiMax;
00040 
00041     TransportedParticle* makeTransportedParticle(double eta, double phi) const;
00042     TestStat test1() const;
00043     double Theta(double eta) const;
00044     //
00045   };
00046 }//namespace
00047 #endif
00048 
00049 
00050 
00051 
00052 
00053 
00054 
00055 
00056 
00057 

Generated on Thu Apr 18 12:04:30 2002 for TestAtlfast by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001