HYDRA_development_version
|
#include <hmagnetpar.h>
Public Member Functions | |
HMagnetPar (const Char_t *name="MagnetPar", const Char_t *title="Magnet field and polarity", const Char_t *context="MagnetCurrentSetValues") | |
~HMagnetPar (void) | |
Int_t | getCurrent (void) |
Int_t | getPolarity (void) |
Int_t | getMaximumCurrent (void) |
Float_t | getScalingFactor (void) |
void | setCurrent (Int_t c) |
Bool_t | init (HParIo *, Int_t *set=0) |
Int_t | write (HParIo *) |
void | clear (void) |
void | putParams (HParamList *) |
Bool_t | getParams (HParamList *) |
![]() | |
HParCond (const Char_t *name, const Char_t *title, const Char_t *context) | |
virtual | ~HParCond () |
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 | current |
Int_t | maxCurrent |
![]() | |
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 7 of file hmagnetpar.h.
HMagnetPar::HMagnetPar | ( | const Char_t * | name = "MagnetPar" , |
const Char_t * | title = "Magnet field and polarity" , |
||
const Char_t * | context = "MagnetCurrentSetValues" |
||
) |
|
inline |
Definition at line 15 of file hmagnetpar.h.
|
virtual |
Reimplemented from HParSet.
Definition at line 49 of file hmagnetpar.cc.
References HParSet::changed, current, HParSet::resetInputVersions(), and HParSet::status.
|
inline |
Definition at line 16 of file hmagnetpar.h.
References current.
Referenced by analysisDST(), and createHades().
|
inline |
Definition at line 18 of file hmagnetpar.h.
References maxCurrent.
|
virtual |
Implements HParCond.
Definition at line 63 of file hmagnetpar.cc.
References current, and HParamList::fill().
|
inline |
Definition at line 17 of file hmagnetpar.h.
Float_t HMagnetPar::getScalingFactor | ( | void | ) |
Definition at line 30 of file hmagnetpar.cc.
References current, and maxCurrent.
Referenced by HParticleTrackCleaner::reinit(), and HRKTrackBF2::reinit().
|
virtual |
Reimplemented from HParCond.
Definition at line 35 of file hmagnetpar.cc.
References HParIo::getDetParIo(), HDetParIo::init(), and input.
|
virtual |
Implements HParCond.
Definition at line 57 of file hmagnetpar.cc.
References HParamList::add(), and current.
|
inline |
Definition at line 20 of file hmagnetpar.h.
Referenced by analysisDST(), and createHades().
|
virtual |
Reimplemented from HParCond.
Definition at line 42 of file hmagnetpar.cc.
References HParIo::getDetParIo(), and HDetParIo::write().
|
protected |
Definition at line 9 of file hmagnetpar.h.
Referenced by clear(), getCurrent(), getParams(), getScalingFactor(), and putParams().
|
protected |
Definition at line 10 of file hmagnetpar.h.
Referenced by getMaximumCurrent(), and getScalingFactor().