HYDRA_development_version
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HMdcTrackGCorrPar Class Reference

#include <hmdctrackgcorrpar.h>

Inheritance diagram for HMdcTrackGCorrPar:
Collaboration diagram for HMdcTrackGCorrPar:

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)
 
HMdcTrackGCorrectionsgetCorr ()
 
HMdcTrackGSplinegetSPline ()
 
HMdcTrackGCorrectionsgetCorr1 ()
 
void getCorrScan (HMdcTrackGCorrections *corrScanAll[])
 
- Public Member Functions inherited from HParCond
 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 ()
 
- Public Member Functions inherited from HParSet
 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
 
HMdcTrackGCorrectionscorr
 
HMdcTrackGCorrectionscorr1
 
HMdcTrackGCorrectionscorrScan0
 
HMdcTrackGCorrectionscorrScan1
 
HMdcTrackGCorrectionscorrScan2
 
HMdcTrackGSplinespline
 
HMdcTrackGFieldParfieldmap
 
- Protected Attributes inherited from HParSet
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

- Protected Member Functions inherited from HParCond
 HParCond ()
 

Detailed Description

Definition at line 16 of file hmdctrackgcorrpar.h.

Constructor & Destructor Documentation

HMdcTrackGCorrPar::HMdcTrackGCorrPar ( const Char_t *  name = "MdcTrackGCorrPar",
const Char_t *  title = "Correction parameters for Spline fitting",
const Char_t *  context = "MdcTrackGCorrParProduction" 
)
HMdcTrackGCorrPar::~HMdcTrackGCorrPar ( )

Definition at line 29 of file hmdctrackgcorrpar.cc.

References corr, corr1, corrScan0, corrScan1, corrScan2, fieldmap, and spline.

Member Function Documentation

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.

void HMdcTrackGCorrPar::clear ( void  )
virtual

field->clear();

Reimplemented from HParSet.

Definition at line 63 of file hmdctrackgcorrpar.cc.

References HMdcTrackGCorrections::clear(), and corr.

HMdcTrackGCorrections* HMdcTrackGCorrPar::getCorr ( )
inline

Definition at line 49 of file hmdctrackgcorrpar.h.

References corr.

HMdcTrackGCorrections* HMdcTrackGCorrPar::getCorr1 ( )
inline

Definition at line 51 of file hmdctrackgcorrpar.h.

References corr1.

Int_t HMdcTrackGCorrPar::getCorrectionFlag ( )
inline

Definition at line 36 of file hmdctrackgcorrpar.h.

References doCorrections.

void HMdcTrackGCorrPar::getCorrScan ( HMdcTrackGCorrections corrScanAll[])

Definition at line 80 of file hmdctrackgcorrpar.cc.

References corrScan0, corrScan1, and corrScan2.

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.

Bool_t HMdcTrackGCorrPar::getParams ( HParamList l)
virtual
HMdcTrackGSpline* HMdcTrackGCorrPar::getSPline ( )
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().

void HMdcTrackGCorrPar::putParams ( HParamList l)
virtual
void HMdcTrackGCorrPar::setCorrectionFlag ( Int_t  flag)
inline

Definition at line 35 of file hmdctrackgcorrpar.h.

Member Data Documentation

HMdcTrackGCorrections* HMdcTrackGCorrPar::corr
protected
HMdcTrackGCorrections* HMdcTrackGCorrPar::corr1
protected
HMdcTrackGCorrections* HMdcTrackGCorrPar::corrScan0
protected
HMdcTrackGCorrections * HMdcTrackGCorrPar::corrScan1
protected
HMdcTrackGCorrections * HMdcTrackGCorrPar::corrScan2
protected
Int_t HMdcTrackGCorrPar::doCorrections
protected

Definition at line 18 of file hmdctrackgcorrpar.h.

Referenced by getCorrectionFlag(), getParams(), and putParams().

HMdcTrackGFieldPar* HMdcTrackGCorrPar::fieldmap
protected

Definition at line 25 of file hmdctrackgcorrpar.h.

Referenced by HMdcTrackGCorrPar(), and ~HMdcTrackGCorrPar().

HMdcTrackGSpline* HMdcTrackGCorrPar::spline
protected

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