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

CellWrapperAA.h

Go to the documentation of this file.
00001 // ================================================
00002 // CellWrapperAA class description
00003 // ================================================
00004 //
00005 // THIS TEXT TO BE REPLACED BY ATLAS STANDARD FORMAT
00006 //
00007 // Namespace Atlfast::
00008 //
00009 // class: CellWrapperAA
00010 //
00011 // Authors: P.Clarke, H.Phillips, E.Richter-Was, P.Sherwood, R.Steward
00012 //
00013 // Description: 
00014 //
00015 //  Convertor from various types to IKinematic
00016 //
00017 //..................................................
00018 
00019 
00020 #ifndef __Atlfast_CellWrapperAA__
00021 #define __Atlfast_CellWrapperAA__
00022 
00023 
00024 // Kinematic classes.
00025 #include "AtlfastCode/Cell.h"
00026 #include "AtlfastCode/ICellWrapper.h"
00027 
00028 namespace Atlfast  {
00034   class CellWrapperAA: public ICellWrapper,
00035                        public ContainedObject {
00036   public:
00038     CellWrapperAA(const Cell& c): ContainedObject(), m_cell(&c){}
00040     CellWrapperAA(const Cell* c): ContainedObject(), m_cell(c){}
00041 
00043     virtual double           eta() const { return m_cell->eta();         }
00045     virtual double           phi() const { return m_cell->phi();          }
00047     virtual double            pT() const { return m_cell->pT();           }
00049     virtual int     numberOfHits() const { return m_cell->numberOfHits(); }
00050 
00052     virtual std::vector<const HepMC::GenParticle*> particles() const {
00053       return m_cell->particles(); }
00054 
00055     virtual ~CellWrapperAA(){}
00056   private:
00057     const Cell* m_cell;
00058   };
00059 }
00060 #endif
00061 
00062 
00063 
00064 
00065 

Generated on Wed Jan 23 12:58:31 2002 for Atlfast by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001