Main Page
Namespaces
Classes
Package Documentation
src
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
10
#include "
FWCore/Utilities/interface/GCC11Compatibility.h
"
11
17
class
GsfMaterialEffectsUpdator
{
18
public
:
19
typedef
materialEffect::Covariance
Covariance
;
20
typedef
materialEffect::Effect
Effect
;
21
typedef
materialEffect::CovIndex
CovIndex
;
22
23
26
GsfMaterialEffectsUpdator
(
float
mass
, uint32_t is ) :
27
theMass
(mass),
m_size
(is) {}
28
29
virtual
~GsfMaterialEffectsUpdator
() {}
30
34
virtual
TrajectoryStateOnSurface
updateState
(
const
TrajectoryStateOnSurface
& TSoS,
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
GsfMaterialEffectsUpdator::compute
virtual void compute(const TrajectoryStateOnSurface &, const PropagationDirection, Effect effects[]) const =0
GsfMaterialEffectsUpdator::theMass
float theMass
Definition:
GsfMaterialEffectsUpdator.h:53
materialEffect::CovIndex
CovIndex
Definition:
MaterialEffectsUpdator.h:19
GsfMaterialEffectsUpdator
Definition:
GsfMaterialEffectsUpdator.h:17
PropagationDirection
PropagationDirection
Definition:
PropagationDirection.h:4
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:17
GsfMaterialEffectsUpdator::Effect
materialEffect::Effect Effect
Definition:
GsfMaterialEffectsUpdator.h:20
GsfMaterialEffectsUpdator::m_size
uint32_t m_size
Definition:
GsfMaterialEffectsUpdator.h:54
GsfMaterialEffectsUpdator::GsfMaterialEffectsUpdator
GsfMaterialEffectsUpdator(float mass, uint32_t is)
Definition:
GsfMaterialEffectsUpdator.h:26
materialEffect::Effect
Definition:
MaterialEffectsUpdator.h:39
PropagationDirection.h
Surface.h
GsfMaterialEffectsUpdator::~GsfMaterialEffectsUpdator
virtual ~GsfMaterialEffectsUpdator()
Definition:
GsfMaterialEffectsUpdator.h:29
materialEffect::Covariance
Definition:
MaterialEffectsUpdator.h:20
GsfMaterialEffectsUpdator::updateState
virtual TrajectoryStateOnSurface updateState(const TrajectoryStateOnSurface &TSoS, const PropagationDirection propDir) const
Definition:
GsfMaterialEffectsUpdator.cc:15
GCC11Compatibility.h
GsfMaterialEffectsUpdator::resize
void resize(size_t is)
Definition:
GsfMaterialEffectsUpdator.h:50
MaterialEffectsUpdator.h
GsfMaterialEffectsUpdator::Covariance
materialEffect::Covariance Covariance
Definition:
GsfMaterialEffectsUpdator.h:19
TrajectoryStateOnSurface.h
GsfMaterialEffectsUpdator::CovIndex
materialEffect::CovIndex CovIndex
Definition:
GsfMaterialEffectsUpdator.h:21
GsfMaterialEffectsUpdator::clone
virtual GsfMaterialEffectsUpdator * clone() const =0
GsfMaterialEffectsUpdator::size
size_t size() const
Definition:
GsfMaterialEffectsUpdator.h:48
GsfMaterialEffectsUpdator::mass
float mass() const
Definition:
GsfMaterialEffectsUpdator.h:39
Generated for CMSSW Reference Manual by
1.8.11