CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/RecoTracker/TkMSParametrization/src/MSLayersKeeperX0DetLayer.h

Go to the documentation of this file.
00001 #ifndef MSLayersKeeperX0DetLayer_H
00002 #define MSLayersKeeperX0DetLayer_H
00003 
00004 #include "MSLayersKeeper.h"
00005 #include "MultipleScatteringGeometry.h"
00006 #include "FWCore/Framework/interface/EventSetup.h"
00007 class dso_hidden MSLayersKeeperX0DetLayer GCC11_FINAL : 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 };
00021 #endif