CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoEgamma/EgammaElectronAlgos/interface/PixelMatchStartLayers.h

Go to the documentation of this file.
00001 #ifndef PIXELMATCHSTARTLAYERS_H
00002 #define PIXELMATCHSTARTLAYERS_H
00003 // -*- C++ -*-
00004 //
00005 // Package:    EgammaElectronAlgos
00006 // Class:      PixelMatchStartLayers
00007 // 
00015 //
00016 // Original Author:  Ursula Berthon, Claude Charlot
00017 //         Created:  Mon Mar 27 13:22:06 CEST 2006
00018 // $Id: PixelMatchStartLayers.h,v 1.3 2006/06/08 16:54:51 uberthon Exp $
00019 //
00020 //
00021 #include "TrackingTools/DetLayers/interface/ForwardDetLayer.h" 
00022 #include "TrackingTools/DetLayers/interface/BarrelDetLayer.h" 
00023 #include <vector>
00024 
00025 #include <vector>
00026 
00027 class GeometricSearchTracker;
00028 
00032 class PixelMatchStartLayers {
00033 
00034 public:
00035   typedef std::vector<ForwardDetLayer*> ForwardLayerContainer;
00036   typedef std::vector<ForwardDetLayer*>::const_iterator ForwardLayerIterator;
00037 
00038   typedef std::vector<BarrelDetLayer*> BarrelLayerContainer;
00039   typedef std::vector<BarrelDetLayer*>::const_iterator BarrelLayerIterator;
00040 
00041   PixelMatchStartLayers();
00042   void setup(const GeometricSearchTracker *);
00043 
00044   ForwardLayerIterator pos1stFLayer()
00045   {return posPixel.begin();}
00046   ForwardLayerIterator neg1stFLayer()
00047   {return negPixel.begin();}
00048   BarrelLayerIterator firstBLayer()
00049   {return barrelPixel.begin();}
00050 
00051  
00052 private:
00053  
00054   ForwardLayerContainer posPixel;
00055   ForwardLayerContainer negPixel;
00056   BarrelLayerContainer barrelPixel;
00057 };
00058 
00059 #endif