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

#include <henergylosscorrpar.h>

Inheritance diagram for HEnergyLossCorrPar:
Collaboration diagram for HEnergyLossCorrPar:

Public Member Functions

 HEnergyLossCorrPar (const Char_t *name="EnergyLossCorrPar", const Char_t *title="Energy losses correction parameters", const Char_t *context="EnergyLossCorrProduction")
 
 ~HEnergyLossCorrPar (void)
 
void clear (void)
 
void putParams (HParamList *)
 
Bool_t getParams (HParamList *)
 
Bool_t setDefaultPar (TString run)
 
Double_t getDeltaMom (Int_t pId, Double_t mom, Double_t theta) const
 
Double_t getCorrMom (Int_t pId, Double_t mom, Double_t theta) const
 
- 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)
 

Static Public Member Functions

static HEnergyLossCorrPargetObject (void)
 

Protected Attributes

Int_t nThetaReg
 
Double_t thetaStep
 
Double_t thetaMiddle0
 
Double_t momInt1
 
Double_t momInt2
 
Int_t nParams
 
Double_t parMomCorrH [264]
 
Short_t typePar
 
Int_t nParamsElect
 
Double_t parMomCorrElect [13]
 
- 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
 

Static Protected Attributes

static HEnergyLossCorrPargEnergyLossCorrPar = NULL
 

Private Member Functions

void fillParMomCorrH (Int_t size, Double_t *par)
 
Double_t getDeltaMomT1 (Int_t pId, Double_t mom, Double_t theta) const
 
Double_t getDeltaMomT12 (Int_t pId, Double_t mom, Double_t theta) const
 
Double_t getDeltaMomT1419 (Int_t pId, Double_t mom, Double_t theta) const
 
Double_t binInter (Double_t b, Double_t rs, const Double_t *par) const
 

Additional Inherited Members

- Protected Member Functions inherited from HParCond
 HParCond ()
 

Detailed Description

Definition at line 6 of file henergylosscorrpar.h.

Constructor & Destructor Documentation

HEnergyLossCorrPar::HEnergyLossCorrPar ( const Char_t *  name = "EnergyLossCorrPar",
const Char_t *  title = "Energy losses correction parameters",
const Char_t *  context = "EnergyLossCorrProduction" 
)
HEnergyLossCorrPar::~HEnergyLossCorrPar ( void  )
inline

Definition at line 28 of file henergylosscorrpar.h.

Member Function Documentation

Double_t HEnergyLossCorrPar::binInter ( Double_t  b,
Double_t  rs,
const Double_t *  par 
) const
private

Definition at line 567 of file henergylosscorrpar.cc.

void HEnergyLossCorrPar::clear ( void  )
virtual

Reimplemented from HParSet.

Definition at line 80 of file henergylosscorrpar.cc.

void HEnergyLossCorrPar::fillParMomCorrH ( Int_t  size,
Double_t *  par 
)
private

Definition at line 479 of file henergylosscorrpar.cc.

Double_t HEnergyLossCorrPar::getCorrMom ( Int_t  pId,
Double_t  mom,
Double_t  theta 
) const
inline

Definition at line 37 of file henergylosscorrpar.h.

References getDeltaMom().

Double_t HEnergyLossCorrPar::getDeltaMom ( Int_t  pId,
Double_t  mom,
Double_t  theta 
) const
Double_t HEnergyLossCorrPar::getDeltaMomT1 ( Int_t  pId,
Double_t  mom,
Double_t  theta 
) const
private
Double_t HEnergyLossCorrPar::getDeltaMomT12 ( Int_t  pId,
Double_t  mom,
Double_t  theta 
) const
private
Double_t HEnergyLossCorrPar::getDeltaMomT1419 ( Int_t  pId,
Double_t  mom,
Double_t  theta 
) const
private
static HEnergyLossCorrPar* HEnergyLossCorrPar::getObject ( void  )
inlinestatic
Bool_t HEnergyLossCorrPar::getParams ( HParamList l)
virtual

Implements HParCond.

Definition at line 105 of file henergylosscorrpar.cc.

References HParamList::fill().

void HEnergyLossCorrPar::putParams ( HParamList l)
virtual

Implements HParCond.

Definition at line 89 of file henergylosscorrpar.cc.

References HParamList::add().

Bool_t HEnergyLossCorrPar::setDefaultPar ( TString  run)

Definition at line 121 of file henergylosscorrpar.cc.

Referenced by loopDST().

Member Data Documentation

HEnergyLossCorrPar * HEnergyLossCorrPar::gEnergyLossCorrPar = NULL
staticprotected

Definition at line 22 of file henergylosscorrpar.h.

Referenced by getObject().

Double_t HEnergyLossCorrPar::momInt1
protected

Definition at line 12 of file henergylosscorrpar.h.

Double_t HEnergyLossCorrPar::momInt2
protected

Definition at line 13 of file henergylosscorrpar.h.

Int_t HEnergyLossCorrPar::nParams
protected

Definition at line 14 of file henergylosscorrpar.h.

Int_t HEnergyLossCorrPar::nParamsElect
protected

Definition at line 19 of file henergylosscorrpar.h.

Int_t HEnergyLossCorrPar::nThetaReg
protected

Definition at line 9 of file henergylosscorrpar.h.

Double_t HEnergyLossCorrPar::parMomCorrElect[13]
protected

Definition at line 20 of file henergylosscorrpar.h.

Double_t HEnergyLossCorrPar::parMomCorrH[264]
protected

Definition at line 15 of file henergylosscorrpar.h.

Double_t HEnergyLossCorrPar::thetaMiddle0
protected

Definition at line 11 of file henergylosscorrpar.h.

Double_t HEnergyLossCorrPar::thetaStep
protected

Definition at line 10 of file henergylosscorrpar.h.

Short_t HEnergyLossCorrPar::typePar
protected

Definition at line 16 of file henergylosscorrpar.h.


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