#include <TruthTrackSmearer.h>
Definition at line 17 of file TruthTrackSmearer.h.
◆ TruthTrackSmearer() [1/2]
◆ ~TruthTrackSmearer()
L0Muon::TruthTrackSmearer::~TruthTrackSmearer |
( |
| ) |
|
|
default |
◆ TruthTrackSmearer() [2/2]
◆ effFunc()
double L0Muon::TruthTrackSmearer::effFunc |
( |
double |
pt | ) |
const |
◆ emulateL0MuonTrack()
bool L0Muon::TruthTrackSmearer::emulateL0MuonTrack |
( |
double |
curv, |
|
|
float |
eta, |
|
|
float |
phi, |
|
|
L0MuonTrack & |
otrack |
|
) |
| const |
Definition at line 22 of file TruthTrackSmearer.cxx.
27 double abspt = std::abs(1.0 / curv);
28 if (CLHEP::RandFlat::shoot(engine) >
effFunc(abspt))
return false;
33 if (std::abs(
eta) > 2.41)
return false;
38 double sigma = curv * 0.05;
40 double gencurv = CLHEP::RandGauss::shoot(engine, curv,
sigma);
42 otrack.setTrack(gencurv,
eta,
phi);
◆ operator=()
◆ m_efficiencyMap
std::array<float, 2> L0Muon::TruthTrackSmearer::m_efficiencyMap |
|
private |
◆ m_rngWrapper
The documentation for this class was generated from the following files: