Public Member Functions | |
TrackLengthCorrection (bool isMC=false, bool isFD=false) | |
void | setParams (bool isMC, bool isFD) |
void | shift (VarDict &varDict) const |
double | getScale () const |
void | setScale (double value) |
Static Protected Member Functions | |
static void | mapVectorVar (const std::string &name, std::unordered_map< std::string, std::vector< double >> &vars, std::function< void(double &x)> func) |
static void | mapScalarVar (const std::string &name, std::unordered_map< std::string, double > &vars, std::function< void(double &x)> func) |
static void | scaleVectorVar (const std::string &name, std::unordered_map< std::string, std::vector< double >> &vars, double factor) |
static void | scaleScalarVar (const std::string &name, std::unordered_map< std::string, double > &vars, double factor) |
Protected Attributes | |
double | scale |
Private Attributes | |
bool | isMC |
bool | isFD |
Static Private Attributes | |
static const std::vector< std::string > | AFFECTED_VECTOR_VARS |
static const std::vector< std::string > | AFFECTED_SCALAR_VARS |
Definition at line 12 of file TrackLengthCorrection.h.
TrackLengthCorrection::TrackLengthCorrection | ( | bool | isMC = false , |
bool | isFD = false |
||
) |
Definition at line 27 of file TrackLengthCorrection.cxx.
|
inherited |
Definition at line 51 of file Shift.cxx.
References Shift::scale.
|
staticprotectedinherited |
Definition at line 3 of file Shift.cxx.
Referenced by Shift::scaleScalarVar().
|
staticprotectedinherited |
Definition at line 17 of file Shift.cxx.
Referenced by Shift::scaleVectorVar().
|
staticprotectedinherited |
Definition at line 33 of file Shift.cxx.
References Shift::mapScalarVar(), and submit_syst::x.
Referenced by shift().
|
staticprotectedinherited |
Definition at line 42 of file Shift.cxx.
References Shift::mapVectorVar(), and submit_syst::x.
Referenced by shift().
void TrackLengthCorrection::setParams | ( | bool | isMC, |
bool | isFD | ||
) |
Definition at line 31 of file TrackLengthCorrection.cxx.
|
inherited |
Implements Shift.
Definition at line 37 of file TrackLengthCorrection.cxx.
References AFFECTED_SCALAR_VARS, AFFECTED_VECTOR_VARS, isFD, isMC, VarDict::scalarVarMap, Shift::scale, Shift::scaleScalarVar(), Shift::scaleVectorVar(), and VarDict::vectorVarMap.
Referenced by SliceLID::FillSliceLID::predict(), and LSTME::FillLSTME::predictEnergy().
|
staticprivate |
Definition at line 19 of file TrackLengthCorrection.h.
Referenced by shift().
|
staticprivate |
Definition at line 18 of file TrackLengthCorrection.h.
Referenced by shift().
|
private |
Definition at line 16 of file TrackLengthCorrection.h.
Referenced by setParams(), and shift().
|
private |
Definition at line 15 of file TrackLengthCorrection.h.
Referenced by setParams(), and shift().
|
protectedinherited |
Definition at line 9 of file Shift.h.
Referenced by Shift::getScale(), Shift::setScale(), and shift().