CMS 3D CMS Logo

MSLayersKeeper.h
Go to the documentation of this file.
1 #ifndef MSLayersKeeper_H
2 #define MSLayersKeeper_H
3 
4 class DetLayer;
6 
8 #include "MSLayersAtAngle.h"
10 
12 public:
13  virtual ~MSLayersKeeper() {}
14  virtual MSLayer layer(const DetLayer* dl) const { return MSLayer(dl, DataX0(this)); }
15  virtual const MSLayersAtAngle& layers(float cotTheta) const = 0;
16 
17 protected:
19  static const DataX0& getDataX0(const MSLayer& l) { return l.theX0Data; }
20  static void setDataX0(MSLayer& l, const DataX0& x0Data) { l.theX0Data = x0Data; }
21 };
22 
23 #endif
MSLayer::DataX0 DataX0
static void setDataX0(MSLayer &l, const DataX0 &x0Data)
static const DataX0 & getDataX0(const MSLayer &l)
#define dso_hidden
Definition: Visibility.h:12
virtual MSLayer layer(const DetLayer *dl) const
virtual ~MSLayersKeeper()