TrackingTools
GsfTracking
interface
GsfMaterialEffectsUpdator.h
Go to the documentation of this file.
1
#ifndef GsfMaterialEffectsUpdator_h_
2
#define GsfMaterialEffectsUpdator_h_
3
4
#include "
TrackingTools/MaterialEffects/interface/MaterialEffectsUpdator.h
"
5
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
6
#include "
DataFormats/TrajectorySeed/interface/PropagationDirection.h
"
7
#include "
DataFormats/GeometrySurface/interface/Surface.h
"
8
#include <cstdint>
9
15
class
GsfMaterialEffectsUpdator
{
16
public
:
17
typedef
materialEffect::Covariance
Covariance
;
18
typedef
materialEffect::Effect
Effect
;
19
typedef
materialEffect::CovIndex
CovIndex
;
20
23
GsfMaterialEffectsUpdator
(
float
mass
, uint32_t is) :
theMass
(
mass
),
m_size
(is) {}
24
25
virtual
~GsfMaterialEffectsUpdator
() {}
26
30
virtual
TrajectoryStateOnSurface
updateState
(
const
TrajectoryStateOnSurface
& TSoS,
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
GsfMaterialEffectsUpdator::theMass
float theMass
Definition:
GsfMaterialEffectsUpdator.h:48
materialEffect::CovIndex
CovIndex
Definition:
MaterialEffectsUpdator.h:19
GsfMaterialEffectsUpdator
Definition:
GsfMaterialEffectsUpdator.h:15
GsfMaterialEffectsUpdator::mass
float mass() const
Definition:
GsfMaterialEffectsUpdator.h:35
PropagationDirection
PropagationDirection
Definition:
PropagationDirection.h:4
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
GsfMaterialEffectsUpdator::Effect
materialEffect::Effect Effect
Definition:
GsfMaterialEffectsUpdator.h:18
GsfMaterialEffectsUpdator::m_size
uint32_t m_size
Definition:
GsfMaterialEffectsUpdator.h:49
GsfMaterialEffectsUpdator::GsfMaterialEffectsUpdator
GsfMaterialEffectsUpdator(float mass, uint32_t is)
Definition:
GsfMaterialEffectsUpdator.h:23
GsfMaterialEffectsUpdator::clone
virtual GsfMaterialEffectsUpdator * clone() const =0
materialEffect::Effect
Definition:
MaterialEffectsUpdator.h:40
PropagationDirection.h
GsfMaterialEffectsUpdator::size
size_t size() const
Definition:
GsfMaterialEffectsUpdator.h:42
Surface.h
GsfMaterialEffectsUpdator::~GsfMaterialEffectsUpdator
virtual ~GsfMaterialEffectsUpdator()
Definition:
GsfMaterialEffectsUpdator.h:25
materialEffect::Covariance
Definition:
MaterialEffectsUpdator.h:20
GsfMaterialEffectsUpdator::compute
virtual void compute(const TrajectoryStateOnSurface &, const PropagationDirection, Effect effects[]) const =0
GsfMaterialEffectsUpdator::resize
void resize(size_t is)
Definition:
GsfMaterialEffectsUpdator.h:45
MaterialEffectsUpdator.h
GsfMaterialEffectsUpdator::updateState
virtual TrajectoryStateOnSurface updateState(const TrajectoryStateOnSurface &TSoS, const PropagationDirection propDir) const
Definition:
GsfMaterialEffectsUpdator.cc:14
GsfMaterialEffectsUpdator::Covariance
materialEffect::Covariance Covariance
Definition:
GsfMaterialEffectsUpdator.h:17
TrajectoryStateOnSurface.h
GsfMaterialEffectsUpdator::CovIndex
materialEffect::CovIndex CovIndex
Definition:
GsfMaterialEffectsUpdator.h:19
Generated for CMSSW Reference Manual by
1.8.14