CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GsfMaterialEffectsAdapter.h
Go to the documentation of this file.
1 #ifndef GsfMaterialEffectsAdapter_H_
2 #define GsfMaterialEffectsAdapter_H_
3 
7 
12 {
14  {
15  return new GsfMaterialEffectsAdapter(*this);
16  }
17 
18 public:
19 
20 // GsfMaterialEffectsAdapter();
21 
23  GsfMaterialEffectsUpdator(aMEUpdator.mass()),
24  theMEUpdator(aMEUpdator.clone()) {theWeights.push_back(1.);}
25 
27 
28 private:
29  // here comes the actual computation of the values
30  virtual void compute (const TrajectoryStateOnSurface&, const PropagationDirection) const;
31 
32 protected:
33  // check of arguments for use with cached values
34  virtual bool newArguments (const TrajectoryStateOnSurface&, const PropagationDirection) const
35  {
36  return true;
37  }
38  // storage of arguments for later use of
39  virtual void storeArguments (const TrajectoryStateOnSurface&, const PropagationDirection) const {}
40 
41 private:
43 };
44 
45 #endif
DeepCopyPointerByClone< MaterialEffectsUpdator > theMEUpdator
PropagationDirection
virtual void compute(const TrajectoryStateOnSurface &, const PropagationDirection) const
GsfMaterialEffectsAdapter(const MaterialEffectsUpdator &aMEUpdator)
virtual GsfMaterialEffectsAdapter * clone() const
virtual void storeArguments(const TrajectoryStateOnSurface &, const PropagationDirection) const
virtual bool newArguments(const TrajectoryStateOnSurface &, const PropagationDirection) const