MyMarlinTPC  170316
Public Member Functions | Private Attributes | List of all members
marlintpc::trackerAlcaCalculator Class Reference

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...
 

Detailed Description

User defined class to calculate global derivatives for Millepede-II.

Definition at line 102 of file GeneralBrokenLineInterfaceHelpers.h.

Constructor & Destructor Documentation

◆ trackerAlcaCalculator()

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.

Member Function Documentation

◆ calcDr()

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).

Parameters
[in]aHithit
[in]phiphi

Definition at line 447 of file GeneralBrokenLineInterfaceHelpers.cc.

References _globalDer, _globalLab, and _numDer.

Referenced by marlintpc::gblHelperHit::gblHelperHit().

◆ calcHitCharge()

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).

Parameters
[in]aHithit

Definition at line 394 of file GeneralBrokenLineInterfaceHelpers.cc.

References _globalDer, _globalLab, and _numDer.

Referenced by marlintpc::gblHelperHit::gblHelperHit().

◆ calcModuleAlignment()

void marlintpc::trackerAlcaCalculator::calcModuleAlignment ( const EVENT::TrackerHit &  aHit,
const TVectorD &  tdir 
)

Fills the global derivatives and labels for module alignment.

Parameters
[in]aHithit
[in]tdirtrack direction (at hit)

Definition at line 312 of file GeneralBrokenLineInterfaceHelpers.cc.

References _globalDer, _globalLab, and _numDer.

Referenced by marlintpc::gblHelperHit::gblHelperHit().

◆ calcTrackDistortions()

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.

Parameters
[in]aHithit

Definition at line 281 of file GeneralBrokenLineInterfaceHelpers.cc.

References _globalDer, _globalLab, and _numDer.

Referenced by marlintpc::gblHelperHit::gblHelperHit().

◆ getGlobalDerivatives()

const TMatrixD & marlintpc::trackerAlcaCalculator::getGlobalDerivatives ( ) const

Get global derivatives.

Definition at line 273 of file GeneralBrokenLineInterfaceHelpers.cc.

References _globalDer.

Referenced by marlintpc::gblHelperHit::gblHelperHit().

◆ getGlobalLabels()

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().

◆ getNumGlobals()

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().

Member Data Documentation

◆ _globalDer

TMatrixD marlintpc::trackerAlcaCalculator::_globalDer
private

◆ _globalLab

std::vector<int> marlintpc::trackerAlcaCalculator::_globalLab
private

labels for global derivatives

Definition at line 115 of file GeneralBrokenLineInterfaceHelpers.h.

Referenced by calcDr(), calcHitCharge(), calcModuleAlignment(), calcTrackDistortions(), and getGlobalLabels().

◆ _numDer

unsigned int marlintpc::trackerAlcaCalculator::_numDer
private

number of global derivatives

Definition at line 114 of file GeneralBrokenLineInterfaceHelpers.h.

Referenced by calcDr(), calcHitCharge(), calcModuleAlignment(), calcTrackDistortions(), and getNumGlobals().


The documentation for this class was generated from the following files: