CMS 3D CMS Logo

GsfMaterialEffectsUpdator.h
Go to the documentation of this file.
1 #ifndef GsfMaterialEffectsUpdator_h_
2 #define GsfMaterialEffectsUpdator_h_
3 
8 #include<cstdint>
9 
11 
18 public:
22 
23 
26  GsfMaterialEffectsUpdator (float mass, uint32_t is ) :
27  theMass(mass), m_size(is) {}
28 
30 
35  const PropagationDirection propDir) const;
36 
39  inline float mass () const {
40  return theMass;
41  }
42 
43  virtual GsfMaterialEffectsUpdator* clone() const = 0;
44 
45  // here comes the actual computation of the values
46  virtual void compute (const TrajectoryStateOnSurface&, const PropagationDirection, Effect effects[]) const = 0;
47 
48  size_t size() const { return m_size;}
49 protected:
50  void resize(size_t is) { m_size=is;}
51 
52 private:
53  float theMass;
54  uint32_t m_size;
55 
56 };
57 
58 #endif
virtual void compute(const TrajectoryStateOnSurface &, const PropagationDirection, Effect effects[]) const =0
PropagationDirection
GsfMaterialEffectsUpdator(float mass, uint32_t is)
virtual TrajectoryStateOnSurface updateState(const TrajectoryStateOnSurface &TSoS, const PropagationDirection propDir) const
materialEffect::Covariance Covariance
materialEffect::CovIndex CovIndex
virtual GsfMaterialEffectsUpdator * clone() const =0