Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-23 22:53:23

0001 #ifndef MSLayersKeeperX0Averaged_H
0002 #define MSLayersKeeperX0Averaged_H
0003 
0004 #include "FWCore/Utilities/interface/Visibility.h"
0005 #include "MagneticField/Engine/interface/MagneticField.h"
0006 #include "RecoTracker/TkDetLayers/interface/GeometricSearchTracker.h"
0007 
0008 #include "MSLayersKeeper.h"
0009 
0010 class dso_hidden MSLayersKeeperX0Averaged final : public MSLayersKeeper {
0011 public:
0012   MSLayersKeeperX0Averaged(const GeometricSearchTracker& tracker, const MagneticField& bfield);
0013   ~MSLayersKeeperX0Averaged() override = default;
0014   MSLayer layer(const DetLayer* layer) const override { return *theLayersData.findLayer(MSLayer(layer)); }
0015   const MSLayersAtAngle& layers(float cotTheta) const override { return theLayersData; }
0016 
0017 private:
0018   MSLayersAtAngle theLayersData;
0019 };
0020 #endif