CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GsfMaterialEffectsUpdator.h
Go to the documentation of this file.
1 #ifndef GsfMaterialEffectsUpdator_h_
2 #define GsfMaterialEffectsUpdator_h_
3 
8 #include <cstdint>
9 
16 public:
20 
23  GsfMaterialEffectsUpdator(float mass, uint32_t is) : theMass(mass), m_size(is) {}
24 
26 
31  const PropagationDirection propDir) const;
32 
35  inline float mass() const { return theMass; }
36 
37  virtual GsfMaterialEffectsUpdator* clone() const = 0;
38 
39  // here comes the actual computation of the values
40  virtual void compute(const TrajectoryStateOnSurface&, const PropagationDirection, Effect effects[]) const = 0;
41 
42  size_t size() const { return m_size; }
43 
44 protected:
45  void resize(size_t is) { m_size = is; }
46 
47 private:
48  float theMass;
49  uint32_t m_size;
50 };
51 
52 #endif
PropagationDirection
GsfMaterialEffectsUpdator(float mass, uint32_t is)
virtual GsfMaterialEffectsUpdator * clone() const =0
virtual TrajectoryStateOnSurface updateState(const TrajectoryStateOnSurface &TSoS, const PropagationDirection propDir) const
virtual void compute(const TrajectoryStateOnSurface &, const PropagationDirection, Effect effects[]) const =0
materialEffect::Covariance Covariance
materialEffect::CovIndex CovIndex