MyMarlinTPC
170316
|
User defined class to calculate global derivatives for Millepede-II. More...
#include <GeneralBrokenLineInterfaceHelpers.h>
Public Member Functions | |
trackerAlcaCalculator () | |
Construct user-defined trackerAlcaCalculator. More... | |
unsigned int | getNumGlobals () const |
Get number of global derivatives. More... | |
std::vector< int > | getGlobalLabels () const |
Get labels for global derivatives. More... | |
const TMatrixD & | getGlobalDerivatives () const |
Get global derivatives. More... | |
void | calcModuleAlignment (const EVENT::TrackerHit &aHit, const TVectorD &tdir) |
Fills the global derivatives and labels for module alignment. More... | |
void | calcTrackDistortions (const EVENT::TrackerHit &aHit) |
Fills the global derivatives and labels for distortions studies as function of the row of the hits. More... | |
void | calcHitCharge (const EVENT::TrackerHit &aHit) |
Fills the global derivatives and labels for distortions studies as function of the charge of the hits. More... | |
void | calcDr (const EVENT::TrackerHit &aHit, double phi) |
Fills the global derivatives and labels for distortions studies as function of the charge of the hits. More... | |
Private Attributes | |
unsigned int | _numDer |
number of global derivatives More... | |
std::vector< int > | _globalLab |
labels for global derivatives More... | |
TMatrixD | _globalDer |
global derivatives More... | |
User defined class to calculate global derivatives for Millepede-II.
Definition at line 102 of file GeneralBrokenLineInterfaceHelpers.h.
marlintpc::trackerAlcaCalculator::trackerAlcaCalculator | ( | ) |
Construct user-defined trackerAlcaCalculator.
Calculate the global derivatives (and their labels) for MP-II. For module alignment the module ID has to be encoded in CellID0.
Definition at line 245 of file GeneralBrokenLineInterfaceHelpers.cc.
void marlintpc::trackerAlcaCalculator::calcDr | ( | const EVENT::TrackerHit & | aHit, |
double | phi | ||
) |
Fills the global derivatives and labels for distortions studies as function of the charge of the hits.
Keep the row dependence to account for cross correlations (row dependent gain).
[in] | aHit | hit |
[in] | phi | phi |
Definition at line 447 of file GeneralBrokenLineInterfaceHelpers.cc.
References _globalDer, _globalLab, and _numDer.
Referenced by marlintpc::gblHelperHit::gblHelperHit().
void marlintpc::trackerAlcaCalculator::calcHitCharge | ( | const EVENT::TrackerHit & | aHit | ) |
Fills the global derivatives and labels for distortions studies as function of the charge of the hits.
Keep the row dependence to account for cross correlations (row dependent gain).
[in] | aHit | hit |
Definition at line 394 of file GeneralBrokenLineInterfaceHelpers.cc.
References _globalDer, _globalLab, and _numDer.
Referenced by marlintpc::gblHelperHit::gblHelperHit().
void marlintpc::trackerAlcaCalculator::calcModuleAlignment | ( | const EVENT::TrackerHit & | aHit, |
const TVectorD & | tdir | ||
) |
Fills the global derivatives and labels for module alignment.
[in] | aHit | hit |
[in] | tdir | track direction (at hit) |
Definition at line 312 of file GeneralBrokenLineInterfaceHelpers.cc.
References _globalDer, _globalLab, and _numDer.
Referenced by marlintpc::gblHelperHit::gblHelperHit().
void marlintpc::trackerAlcaCalculator::calcTrackDistortions | ( | const EVENT::TrackerHit & | aHit | ) |
Fills the global derivatives and labels for distortions studies as function of the row of the hits.
[in] | aHit | hit |
Definition at line 281 of file GeneralBrokenLineInterfaceHelpers.cc.
References _globalDer, _globalLab, and _numDer.
Referenced by marlintpc::gblHelperHit::gblHelperHit().
const TMatrixD & marlintpc::trackerAlcaCalculator::getGlobalDerivatives | ( | ) | const |
Get global derivatives.
Definition at line 273 of file GeneralBrokenLineInterfaceHelpers.cc.
References _globalDer.
Referenced by marlintpc::gblHelperHit::gblHelperHit().
std::vector< int > marlintpc::trackerAlcaCalculator::getGlobalLabels | ( | ) | const |
Get labels for global derivatives.
Definition at line 268 of file GeneralBrokenLineInterfaceHelpers.cc.
References _globalLab.
Referenced by marlintpc::gblHelperHit::gblHelperHit().
unsigned int marlintpc::trackerAlcaCalculator::getNumGlobals | ( | ) | const |
Get number of global derivatives.
Definition at line 263 of file GeneralBrokenLineInterfaceHelpers.cc.
References _numDer.
Referenced by marlintpc::gblHelperHit::gblHelperHit().
|
private |
global derivatives
Definition at line 116 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by calcDr(), calcHitCharge(), calcModuleAlignment(), calcTrackDistortions(), and getGlobalDerivatives().
|
private |
labels for global derivatives
Definition at line 115 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by calcDr(), calcHitCharge(), calcModuleAlignment(), calcTrackDistortions(), and getGlobalLabels().
|
private |
number of global derivatives
Definition at line 114 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by calcDr(), calcHitCharge(), calcModuleAlignment(), calcTrackDistortions(), and getNumGlobals().