TrackLengthCorrection.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 /* Track Length correction due to air bubbles: doc-20816-v6 */
6 const double TRK_LEN_SCALE = 0.9957;
7 
8 /*
9  * NOTE: if you plan on using it make sure AFFECTED_*_VARS contain variable
10  * names that should be scaled by this correction
11  */
13 {
14 private:
15  bool isMC;
16  bool isFD;
17 
18  const static std::vector<std::string> AFFECTED_VECTOR_VARS;
19  const static std::vector<std::string> AFFECTED_SCALAR_VARS;
20 
21 public:
22  TrackLengthCorrection(bool isMC = false, bool isFD = false);
23 
24  void setParams(bool isMC, bool isFD);
25  void shift(VarDict &varDict) const;
26 };
27 
static const std::vector< std::string > AFFECTED_VECTOR_VARS
TrackLengthCorrection(bool isMC=false, bool isFD=false)
static const std::vector< std::string > AFFECTED_SCALAR_VARS
Definition: Shift.h:6
void shift(VarDict &varDict) const
const double TRK_LEN_SCALE
Definition: VarDict.h:7
void setParams(bool isMC, bool isFD)