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

CellSmearer.h

Go to the documentation of this file.
00001 // JetSmearer class
00002 //
00003 // Implements smearing for Cells
00004 //
00005 // Namespace Atlfast::
00006 //
00007 //--------------------------------------------------------------
00008 //
00009 // CellSmearer replicates the smearing code of ATLFAST++'s
00010 // JetMaker. It provides the smear() method defined
00011 // in the ISmearer interface. It privately inherits from
00012 // the DefaultSmearer class to use its implementation of
00013 // random number services etc.
00014 //
00015 // Authors: J.Couchman
00016 //
00017 
00018 #ifndef ATLFAST_CELLSMEARER_H
00019 #define ATLFAST_CELLSMEARER_H
00020 
00021 #ifndef ATLFAST_ISMEARER_H
00022 #include "AtlfastAlgs/ISmearer.h"
00023 #endif
00024 
00025 #ifndef ATLFAST_DEFAULTSMEARER_H
00026 #include "AtlfastAlgs/DefaultSmearer.h"
00027 #endif
00028 
00029 class HepLorentzVector; //forward declaration
00030 
00031 namespace Atlfast {
00041   class CellSmearer : virtual public ISmearer, 
00042                           virtual private DefaultSmearer 
00043     {
00044     public:
00045       //--------------------------------------------------------------------------
00046       // constructors and destructors- we can leave everything to DefaultSmearer
00047       //--------------------------------------------------------------------------
00049       CellSmearer(const int aseed, 
00050                   const double barrelForwardEta) : 
00051         ISmearer(), 
00052         DefaultSmearer(aseed), 
00053         m_BarrelForwardEta(barrelForwardEta) 
00054         { }
00056       virtual ~CellSmearer() { }
00057 
00059       virtual HepLorentzVector smear(const HepLorentzVector& avec);
00060 
00061     private:
00063       double m_BarrelForwardEta;
00064     };
00065 
00066 } // end of namespace bracket
00067 
00068 #endif
00069 
00070 

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