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
materialEffect::CovIndex
CovIndex
Definition:
MaterialEffectsUpdator.h:19
TrajectoryStateOnSurface.h
GsfMaterialEffectsUpdator::compute
virtual void compute(const TrajectoryStateOnSurface &, const PropagationDirection, Effect effects[]) const =0
materialEffect::Effect
Definition:
MaterialEffectsUpdator.h:40
GsfMaterialEffectsUpdator::m_size
uint32_t m_size
Definition:
GsfMaterialEffectsUpdator.h:49
GsfMaterialEffectsUpdator::CovIndex
materialEffect::CovIndex CovIndex
Definition:
GsfMaterialEffectsUpdator.h:19
MaterialEffectsUpdator.h
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
GsfMaterialEffectsUpdator::Effect
materialEffect::Effect Effect
Definition:
GsfMaterialEffectsUpdator.h:18
Surface.h
GsfMaterialEffectsUpdator::mass
float mass() const
Definition:
GsfMaterialEffectsUpdator.h:35
materialEffect::Covariance
Definition:
MaterialEffectsUpdator.h:20
GsfMaterialEffectsUpdator::resize
void resize(size_t is)
Definition:
GsfMaterialEffectsUpdator.h:45
GsfMaterialEffectsUpdator
Definition:
GsfMaterialEffectsUpdator.h:15
GsfMaterialEffectsUpdator::Covariance
materialEffect::Covariance Covariance
Definition:
GsfMaterialEffectsUpdator.h:17
GsfMaterialEffectsUpdator::clone
virtual GsfMaterialEffectsUpdator * clone() const =0
PropagationDirection.h
GsfMaterialEffectsUpdator::size
size_t size() const
Definition:
GsfMaterialEffectsUpdator.h:42
PropagationDirection
PropagationDirection
Definition:
PropagationDirection.h:4
GsfMaterialEffectsUpdator::GsfMaterialEffectsUpdator
GsfMaterialEffectsUpdator(float mass, uint32_t is)
Definition:
GsfMaterialEffectsUpdator.h:23
GsfMaterialEffectsUpdator::updateState
virtual TrajectoryStateOnSurface updateState(const TrajectoryStateOnSurface &TSoS, const PropagationDirection propDir) const
Definition:
GsfMaterialEffectsUpdator.cc:14
GsfMaterialEffectsUpdator::~GsfMaterialEffectsUpdator
virtual ~GsfMaterialEffectsUpdator()
Definition:
GsfMaterialEffectsUpdator.h:25
GsfMaterialEffectsUpdator::theMass
float theMass
Definition:
GsfMaterialEffectsUpdator.h:48
Generated for CMSSW Reference Manual by
1.8.16