HYDRA_development_version
|
#include <hmdctrackgcorrpar.h>
Public Member Functions | |
HMdcTrackGCorrPar (const Char_t *name="MdcTrackGCorrPar", const Char_t *title="Correction parameters for Spline fitting", const Char_t *context="MdcTrackGCorrParProduction") | |
~HMdcTrackGCorrPar () | |
void | putParams (HParamList *) |
Bool_t | getParams (HParamList *) |
void | clear () |
void | setCorrectionFlag (Int_t flag) |
Int_t | getCorrectionFlag () |
void | initCorrections (TString, TString, TString, TString) |
void | initCorrections1 (TString, TString, TString, TString) |
void | initCorrectionsScan (TString *, TString *, TString *, TString *) |
Double_t | calcMomentum (HGeomVector *, Bool_t cond=kTRUE, Double_t targetz=0.) |
Double_t | calcMomentum (HMdcSeg *seg[2], Bool_t cond=kTRUE, Double_t targetz=0.) |
Double_t | calcMomentum123 (HMdcSeg *seg[2], Bool_t cond=kTRUE, Double_t targetz=0.) |
void | getDistance (Double_t *) |
Double_t | getMetaDistance (Double_t, Double_t, Double_t) |
HMdcTrackGCorrections * | getCorr () |
HMdcTrackGSpline * | getSPline () |
HMdcTrackGCorrections * | getCorr1 () |
void | getCorrScan (HMdcTrackGCorrections *corrScanAll[]) |
![]() | |
HParCond (const Char_t *name, const Char_t *title, const Char_t *context) | |
virtual | ~HParCond () |
virtual Bool_t | init (HParIo *, Int_t *) |
virtual Int_t | write (HParIo *) |
virtual void | printParams () |
![]() | |
HParSet (const Char_t *name="", const Char_t *title="", const Char_t *context="") | |
virtual | ~HParSet () |
virtual Bool_t | init (void) |
virtual Bool_t | init (HParIo *io) |
virtual Int_t | write () |
virtual void | print () |
const Text_t * | getDetectorName () |
void | resetInputVersions () |
void | setInputVersion (Int_t v=-1, Int_t i=0) |
Int_t | getInputVersion (Int_t i) |
void | setStatic (Bool_t flag=kTRUE) |
Bool_t | isStatic () |
void | setChanged (Bool_t flag=kTRUE) |
Bool_t | hasChanged () |
void | setParamContext (const Char_t *) |
const Char_t * | getParamContext () const |
void | setAuthor (const Char_t *s) |
const Char_t * | getAuthor () const |
void | setDescription (const Char_t *s) |
const Char_t * | getDescription () const |
void | copyComment (HParSet &r) |
Protected Attributes | |
Int_t | doCorrections |
HMdcTrackGCorrections * | corr |
HMdcTrackGCorrections * | corr1 |
HMdcTrackGCorrections * | corrScan0 |
HMdcTrackGCorrections * | corrScan1 |
HMdcTrackGCorrections * | corrScan2 |
HMdcTrackGSpline * | spline |
HMdcTrackGFieldPar * | fieldmap |
![]() | |
Text_t | detName [20] |
Int_t | versions [3] |
name of the detector the container belongs to More... | |
Bool_t | status |
versions of container in the 2 possible inputs More... | |
Bool_t | changed |
static flag More... | |
TString | paramContext |
flag is kTRUE if parameters have changed More... | |
TString | author |
TString | description |
Additional Inherited Members | |
![]() | |
HParCond () | |
Definition at line 16 of file hmdctrackgcorrpar.h.
HMdcTrackGCorrPar::HMdcTrackGCorrPar | ( | const Char_t * | name = "MdcTrackGCorrPar" , |
const Char_t * | title = "Correction parameters for Spline fitting" , |
||
const Char_t * | context = "MdcTrackGCorrParProduction" |
||
) |
Definition at line 16 of file hmdctrackgcorrpar.cc.
References corr, corr1, corrScan0, corrScan1, corrScan2, fieldmap, HMdcTrackGSpline::HMdcTrackGSpline(), and spline.
HMdcTrackGCorrPar::~HMdcTrackGCorrPar | ( | ) |
Double_t HMdcTrackGCorrPar::calcMomentum | ( | HGeomVector * | vector, |
Bool_t | cond = kTRUE , |
||
Double_t | targetz = 0. |
||
) |
Definition at line 100 of file hmdctrackgcorrpar.cc.
References HMdcTrackGSpline::calcMomentum(), and spline.
Double_t HMdcTrackGCorrPar::calcMomentum | ( | HMdcSeg * | seg[2], |
Bool_t | cond = kTRUE , |
||
Double_t | targetz = 0. |
||
) |
Definition at line 104 of file hmdctrackgcorrpar.cc.
References HMdcTrackGSpline::calcMomentum(), and spline.
Double_t HMdcTrackGCorrPar::calcMomentum123 | ( | HMdcSeg * | seg[2], |
Bool_t | cond = kTRUE , |
||
Double_t | targetz = 0. |
||
) |
Definition at line 111 of file hmdctrackgcorrpar.cc.
References HMdcTrackGSpline::calcMomentum123(), and spline.
|
virtual |
field->clear();
Reimplemented from HParSet.
Definition at line 63 of file hmdctrackgcorrpar.cc.
References HMdcTrackGCorrections::clear(), and corr.
|
inline |
Definition at line 49 of file hmdctrackgcorrpar.h.
References corr.
|
inline |
Definition at line 51 of file hmdctrackgcorrpar.h.
References corr1.
|
inline |
Definition at line 36 of file hmdctrackgcorrpar.h.
References doCorrections.
void HMdcTrackGCorrPar::getCorrScan | ( | HMdcTrackGCorrections * | corrScanAll[] | ) |
Definition at line 80 of file hmdctrackgcorrpar.cc.
void HMdcTrackGCorrPar::getDistance | ( | Double_t * | dist | ) |
Definition at line 115 of file hmdctrackgcorrpar.cc.
References HMdcTrackGSpline::getDistance(), and spline.
Double_t HMdcTrackGCorrPar::getMetaDistance | ( | Double_t | x, |
Double_t | y, | ||
Double_t | z | ||
) |
Definition at line 120 of file hmdctrackgcorrpar.cc.
References HMdcTrackGSpline::getMetaDistance(), and spline.
|
virtual |
Implements HParCond.
Definition at line 52 of file hmdctrackgcorrpar.cc.
References corr, corr1, corrScan0, corrScan1, corrScan2, doCorrections, HParamList::fill(), and HParamList::fillObject().
|
inline |
Definition at line 50 of file hmdctrackgcorrpar.h.
References spline.
Referenced by HMetaMatchF2::init().
void HMdcTrackGCorrPar::initCorrections | ( | TString | inputE, |
TString | inputP, | ||
TString | inputE3, | ||
TString | inputP3 | ||
) |
Definition at line 87 of file hmdctrackgcorrpar.cc.
References corr, and HMdcTrackGCorrections::init().
void HMdcTrackGCorrPar::initCorrections1 | ( | TString | inputE, |
TString | inputP, | ||
TString | inputE3, | ||
TString | inputP3 | ||
) |
Definition at line 94 of file hmdctrackgcorrpar.cc.
References corr1, and HMdcTrackGCorrections::init().
void HMdcTrackGCorrPar::initCorrectionsScan | ( | TString * | inputE, |
TString * | inputP, | ||
TString * | inputE3, | ||
TString * | inputP3 | ||
) |
Definition at line 73 of file hmdctrackgcorrpar.cc.
References corrScan0, corrScan1, corrScan2, and HMdcTrackGCorrections::init().
|
virtual |
Implements HParCond.
Definition at line 40 of file hmdctrackgcorrpar.cc.
References HParamList::add(), HParamList::addObject(), corr, corr1, corrScan0, corrScan1, corrScan2, and doCorrections.
|
inline |
Definition at line 35 of file hmdctrackgcorrpar.h.
|
protected |
Definition at line 20 of file hmdctrackgcorrpar.h.
Referenced by clear(), getCorr(), getParams(), HMdcTrackGCorrPar(), initCorrections(), putParams(), and ~HMdcTrackGCorrPar().
|
protected |
Definition at line 21 of file hmdctrackgcorrpar.h.
Referenced by getCorr1(), getParams(), HMdcTrackGCorrPar(), initCorrections1(), putParams(), and ~HMdcTrackGCorrPar().
|
protected |
Definition at line 22 of file hmdctrackgcorrpar.h.
Referenced by getCorrScan(), getParams(), HMdcTrackGCorrPar(), initCorrectionsScan(), putParams(), and ~HMdcTrackGCorrPar().
|
protected |
Definition at line 22 of file hmdctrackgcorrpar.h.
Referenced by getCorrScan(), getParams(), HMdcTrackGCorrPar(), initCorrectionsScan(), putParams(), and ~HMdcTrackGCorrPar().
|
protected |
Definition at line 22 of file hmdctrackgcorrpar.h.
Referenced by getCorrScan(), getParams(), HMdcTrackGCorrPar(), initCorrectionsScan(), putParams(), and ~HMdcTrackGCorrPar().
|
protected |
Definition at line 18 of file hmdctrackgcorrpar.h.
Referenced by getCorrectionFlag(), getParams(), and putParams().
|
protected |
Definition at line 25 of file hmdctrackgcorrpar.h.
Referenced by HMdcTrackGCorrPar(), and ~HMdcTrackGCorrPar().
|
protected |
Definition at line 24 of file hmdctrackgcorrpar.h.
Referenced by calcMomentum(), calcMomentum123(), getDistance(), getMetaDistance(), getSPline(), HMdcTrackGCorrPar(), and ~HMdcTrackGCorrPar().