CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/RecoTracker/TkMSParametrization/interface/MSLayersKeeperX0DetLayer.h

Go to the documentation of this file.
00001 #ifndef MSLayersKeeperX0DetLayer_H
00002 #define MSLayersKeeperX0DetLayer_H
00003 
00004 #include "RecoTracker/TkMSParametrization/interface/MSLayersKeeper.h"
00005 #include "RecoTracker/TkMSParametrization/interface/MultipleScatteringGeometry.h"
00006 #include "FWCore/Framework/interface/EventSetup.h"
00007 class MSLayersKeeperX0DetLayer : public MSLayersKeeper {
00008 public:
00009   MSLayersKeeperX0DetLayer() : isInitialised(false) { }
00010   virtual ~MSLayersKeeperX0DetLayer() { }
00011   virtual void init(const edm::EventSetup &iSetup);
00012   virtual MSLayer layer(const DetLayer* layer) const
00013     {return *theLayersData.findLayer(MSLayer(layer)); }
00014   virtual const MSLayersAtAngle & layers(float cotTheta) const
00015     {return theLayersData;}
00016 
00017 private:
00018   bool isInitialised;
00019   MSLayersAtAngle theLayersData;
00020 /*   class MSLayersKeeperX0DetLayerGeom : public MultipleScatteringGeometry {   */
00021   
00022 /*   public:  */
00023 /*     vector<MSLayer> detLayers() const; */
00024 /*   }; */
00025 };
00026 #endif