TrackingTools
MaterialEffects
interface
CombinedMaterialEffectsUpdator.h
Go to the documentation of this file.
1
#ifndef _CR_COMBINEDMATERIALEFFECTSUPDATOR_H_
2
#define _CR_COMBINEDMATERIALEFFECTSUPDATOR_H_
3
13
#include "
TrackingTools/MaterialEffects/interface/MultipleScatteringUpdator.h
"
14
#include "
TrackingTools/MaterialEffects/interface/EnergyLossUpdator.h
"
15
#include "
TrackingTools/MaterialEffects/interface/MaterialEffectsUpdator.h
"
16
#include "
FWCore/Utilities/interface/Visibility.h
"
17
18
class
CombinedMaterialEffectsUpdator
final :
public
MaterialEffectsUpdator
{
19
public
:
20
CombinedMaterialEffectsUpdator
*
clone
()
const override
{
return
new
CombinedMaterialEffectsUpdator
(*
this
); }
21
22
public
:
27
CombinedMaterialEffectsUpdator
(
float
mass
,
float
ptMin
= -1.)
28
:
MaterialEffectsUpdator
(
mass
),
theMSUpdator
(
mass
,
ptMin
),
theELUpdator
(
mass
) {}
29
30
// here comes the actual computation of the values
31
void
compute
(
const
TrajectoryStateOnSurface
&,
const
PropagationDirection
,
Effect
& effect)
const override
;
32
33
private
:
34
// objects used for calculations of multiple scattering and energy loss
35
MultipleScatteringUpdator
theMSUpdator
;
36
EnergyLossUpdator
theELUpdator
;
37
};
38
39
#endif
MultipleScatteringUpdator
Definition:
MultipleScatteringUpdator.h:15
Visibility.h
MultipleScatteringUpdator.h
CombinedMaterialEffectsUpdator
Definition:
CombinedMaterialEffectsUpdator.h:18
ptMin
constexpr float ptMin
Definition:
PhotonIDValueMapProducer.cc:153
CombinedMaterialEffectsUpdator::CombinedMaterialEffectsUpdator
CombinedMaterialEffectsUpdator(float mass, float ptMin=-1.)
Definition:
CombinedMaterialEffectsUpdator.h:27
CombinedMaterialEffectsUpdator::theELUpdator
EnergyLossUpdator theELUpdator
Definition:
CombinedMaterialEffectsUpdator.h:36
MaterialEffectsUpdator.h
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
MaterialEffectsUpdator::mass
float mass() const
Definition:
MaterialEffectsUpdator.h:83
MaterialEffectsUpdator::Effect
materialEffect::Effect Effect
Definition:
MaterialEffectsUpdator.h:59
EnergyLossUpdator
Definition:
EnergyLossUpdator.h:20
CombinedMaterialEffectsUpdator::compute
void compute(const TrajectoryStateOnSurface &, const PropagationDirection, Effect &effect) const override
Definition:
CombinedMaterialEffectsUpdator.cc:7
EnergyLossUpdator.h
PropagationDirection
PropagationDirection
Definition:
PropagationDirection.h:4
CombinedMaterialEffectsUpdator::clone
CombinedMaterialEffectsUpdator * clone() const override
Definition:
CombinedMaterialEffectsUpdator.h:20
CombinedMaterialEffectsUpdator::theMSUpdator
MultipleScatteringUpdator theMSUpdator
Definition:
CombinedMaterialEffectsUpdator.h:35
MaterialEffectsUpdator
Definition:
MaterialEffectsUpdator.h:56
Generated for CMSSW Reference Manual by
1.8.16