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

AssociatorTester.h

Go to the documentation of this file.
00001 // ================================================
00002 // AssociatorTester class description
00003 // ================================================
00004 //
00005 // THIS TEXT TO BE REPLACED BY ATLAS STANDARD FORMAT
00006 //
00007 //
00008 // This version....
00009 //
00010 //
00011 // Namespace Atlfast::
00012 //
00013 // class: AssociatorTester
00014 //
00015 // Description: 
00016 //
00017 // ................................................................
00018 //
00019 
00020 #ifndef ATLFAST_ASSOCIATORTESTER_H
00021 #define ATLFAST_ASSOCIATORTESTER_H
00022 
00023 
00024 
00025 // STL
00026 #include <vector>
00027 #include <string>
00028 
00029 // Gaudi 
00030 #include "GaudiKernel/ISvcLocator.h"
00031 #include "GaudiKernel/IAlgorithm.h"
00032 #include "GaudiKernel/Algorithm.h"
00033 #include "GaudiKernel/MsgStream.h"
00034 #include "GaudiKernel/DataObject.h"
00035 
00036 //#include "GaudiKernal/ISvcLocator.h"
00037 //#include "GaudiKernal/IAlgorithm.h"
00038 //#include "GaudiKernal/Algorithm.h"
00039 //#include "GaudiKernal/MsgStream.h"
00040 //#include "GaudiKernel/DataObject.h"
00041 
00042 // Atlfast
00043 #include "AtlfastCode/ReconstructedParticle.h"
00044 #include "AtlfastCode/ReconstructedParticleCollection.h"
00045 #include "AtlfastCode/Cluster.h"
00046 #include "AtlfastCode/ClusterCollection.h"
00047 #include "AtlfastCode/Jet.h"
00048 #include "AtlfastCode/JetCollection.h"
00049 #include "AtlfastCode/TesIO.h"
00050 
00051 
00052 
00053 namespace Atlfast {
00054   
00060   class AssociatorTester : 
00061     public virtual Algorithm {
00062     
00063     public:
00064 
00065     //-------------------------
00066     // Constructors/Destructors
00067     //-------------------------
00069     AssociatorTester( 
00070         const std::string& name, 
00071         ISvcLocator* pSvcLocator 
00072         );
00074     virtual ~AssociatorTester();
00075 
00076     
00077     //------------------------------------------------------
00078     // Mandatory Athena methods
00079     //------------------------------------------------------
00081     virtual StatusCode initialize() ;
00083     virtual StatusCode execute() ;
00085     virtual StatusCode finalize() ;
00086   
00087   
00088     private:
00089     double Theta(double eta){
00090       double  theta = 2.*atan(exp(-eta));
00091       return theta;
00092     }
00093 
00094     int nA(const std::list<Cluster*>& clusters) const;
00095     int testIt1(std::list<ReconstructedParticle*>,
00096                 std::list<Cluster*>,
00097                 double) const;
00098 
00099     int testIt2(std::list<ReconstructedParticle*>,
00100                 std::list<Cluster*>,
00101                 double) const;
00102 
00103     ReconstructedParticle makeParticle(double phi, double eta, int id);
00104     Cluster               makeCluster (double phi, double eta);
00105     void reset(std::list<ReconstructedParticle*>& );
00106     void reset(std::list<Cluster*>& );
00107   };
00108   
00109 }  //end of namespace bracket
00110 
00111 #endif
00112 
00113 
00114 
00115 
00116 
00117 
00118 
00119 
00120 
00121 
00122 
00123 

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