00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __Atlfast_CellWrapperAA__
00021 #define __Atlfast_CellWrapperAA__
00022
00023
00024
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