HYDRA_development_version
|
#include <hmdcwirestat.h>
Public Member Functions | |
HMdcWireStat (const Char_t *name="MdcWireStat", const Char_t *title="Mdc lookup table for wire stat", const Char_t *context="MdcWireStatProduction") | |
~HMdcWireStat () | |
void | setMbo (Int_t sec, Int_t mod, Int_t lay, Int_t cell, Int_t mbo) |
void | setTdc (Int_t sec, Int_t mod, Int_t lay, Int_t cell, Int_t t) |
void | setStatus (Int_t sec, Int_t mod, Int_t lay, Int_t cell, Int_t stat) |
void | setEfficiency (Int_t sec, Int_t mod, Int_t lay, Int_t cell, Float_t eff) |
void | setOffset (Int_t sec, Int_t mod, Int_t lay, Int_t cell, Float_t off) |
Int_t | getMbo (Int_t sec, Int_t mod, Int_t lay, Int_t cell) |
Int_t | getTdc (Int_t sec, Int_t mod, Int_t lay, Int_t cell) |
Int_t | getStatus (Int_t sec, Int_t mod, Int_t lay, Int_t cell) |
Float_t | getEfficiency (Int_t sec, Int_t mod, Int_t lay, Int_t cell) |
Float_t | getOffset (Int_t sec, Int_t mod, Int_t lay, Int_t cell) |
Int_t | getDeadWires () |
Int_t | getDeadWires (Int_t, Int_t) |
TCanvas * | plotStatusMbVsTdc () |
TCanvas * | plotEfficiencyMbVsTdc () |
TCanvas * | plotOffsetMbVsTdc () |
TCanvas * | plotStatus (Int_t, Int_t) |
TCanvas * | plotEfficiency (Int_t, Int_t) |
TCanvas * | plotOffset (Int_t, Int_t) |
void | printStats () |
void | printStatsSum () |
void | putParams (HParamList *) |
Bool_t | getParams (HParamList *) |
void | clear () |
void | printParam (void) |
![]() | |
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 Member Functions | |
Int_t | index (Int_t s, Int_t m, Int_t l, Int_t c) |
![]() | |
HParCond () | |
Protected Attributes | |
TArrayI | mb |
TArrayI | tdc |
TArrayI | statusmap |
TArrayF | efficiency |
TArrayF | offset |
![]() | |
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 |
Definition at line 11 of file hmdcwirestat.h.
HMdcWireStat::HMdcWireStat | ( | const Char_t * | name = "MdcWireStat" , |
const Char_t * | title = "Mdc lookup table for wire stat" , |
||
const Char_t * | context = "MdcWireStatProduction" |
||
) |
HMdcWireStat::~HMdcWireStat | ( | ) |
Definition at line 48 of file hmdcwirestat.cc.
|
virtual |
Reimplemented from HParSet.
Definition at line 52 of file hmdcwirestat.cc.
References HParSet::changed, efficiency, mb, offset, HParSet::resetInputVersions(), HParSet::status, statusmap, and tdc.
Int_t HMdcWireStat::getDeadWires | ( | ) |
Definition at line 166 of file hmdcwirestat.cc.
Int_t HMdcWireStat::getDeadWires | ( | Int_t | sec, |
Int_t | mod | ||
) |
Definition at line 202 of file hmdcwirestat.cc.
|
inline |
Definition at line 41 of file hmdcwirestat.h.
References index().
Referenced by HMdcDigitizer::setEfficiencyFlags().
|
inline |
Definition at line 38 of file hmdcwirestat.h.
References index().
|
inline |
Definition at line 42 of file hmdcwirestat.h.
References index().
Referenced by HMdcDigitizer::reinit().
|
virtual |
Implements HParCond.
Definition at line 255 of file hmdcwirestat.cc.
References efficiency, HParamList::fill(), mb, offset, statusmap, and tdc.
|
inline |
Definition at line 40 of file hmdcwirestat.h.
References index().
Referenced by HMdcDigitizer::evalWireStat(), and HMdcCalibrater1::testTimeCuts().
|
inline |
Definition at line 39 of file hmdcwirestat.h.
References index().
|
inlineprotected |
Definition at line 21 of file hmdcwirestat.h.
Referenced by getDeadWires(), getEfficiency(), getMbo(), getOffset(), getStatus(), getTdc(), plotEfficiency(), plotEfficiencyMbVsTdc(), plotOffset(), plotOffsetMbVsTdc(), plotStatus(), plotStatusMbVsTdc(), printParam(), printStats(), printStatsSum(), setEfficiency(), setMbo(), setOffset(), setStatus(), and setTdc().
TCanvas * HMdcWireStat::plotEfficiency | ( | Int_t | sec, |
Int_t | mod | ||
) |
Definition at line 410 of file hmdcwirestat.cc.
References efficiency, and index().
TCanvas * HMdcWireStat::plotEfficiencyMbVsTdc | ( | ) |
Definition at line 305 of file hmdcwirestat.cc.
References efficiency, index(), mb, and tdc.
TCanvas * HMdcWireStat::plotOffset | ( | Int_t | sec, |
Int_t | mod | ||
) |
Definition at line 435 of file hmdcwirestat.cc.
TCanvas * HMdcWireStat::plotOffsetMbVsTdc | ( | ) |
TCanvas * HMdcWireStat::plotStatus | ( | Int_t | sec, |
Int_t | mod | ||
) |
Definition at line 384 of file hmdcwirestat.cc.
TCanvas * HMdcWireStat::plotStatusMbVsTdc | ( | ) |
void HMdcWireStat::printParam | ( | void | ) |
Definition at line 223 of file hmdcwirestat.cc.
References HMessageMgr::DET_MDC, efficiency, Hades::getMsg(), gHades, index(), HMessageMgr::info(), INFO_msg, mb, offset, SEPERATOR_msg, statusmap, and tdc.
void HMdcWireStat::printStats | ( | ) |
Definition at line 64 of file hmdcwirestat.cc.
void HMdcWireStat::printStatsSum | ( | ) |
Definition at line 118 of file hmdcwirestat.cc.
|
virtual |
Implements HParCond.
Definition at line 243 of file hmdcwirestat.cc.
References HParamList::add(), efficiency, mb, offset, statusmap, and tdc.
|
inline |
Definition at line 35 of file hmdcwirestat.h.
References index().
|
inline |
Definition at line 32 of file hmdcwirestat.h.
References index().
|
inline |
Definition at line 36 of file hmdcwirestat.h.
References index().
|
inline |
Definition at line 34 of file hmdcwirestat.h.
References index().
|
inline |
Definition at line 33 of file hmdcwirestat.h.
References index().
|
protected |
Definition at line 17 of file hmdcwirestat.h.
Referenced by clear(), getParams(), plotEfficiency(), plotEfficiencyMbVsTdc(), printParam(), and putParams().
|
protected |
Definition at line 14 of file hmdcwirestat.h.
Referenced by clear(), getParams(), plotEfficiencyMbVsTdc(), plotOffsetMbVsTdc(), plotStatusMbVsTdc(), printParam(), and putParams().
|
protected |
Definition at line 18 of file hmdcwirestat.h.
Referenced by clear(), getParams(), plotOffset(), plotOffsetMbVsTdc(), printParam(), and putParams().
|
protected |
Definition at line 16 of file hmdcwirestat.h.
Referenced by clear(), getDeadWires(), getParams(), plotStatus(), plotStatusMbVsTdc(), printParam(), printStats(), printStatsSum(), and putParams().
|
protected |
Definition at line 15 of file hmdcwirestat.h.
Referenced by clear(), getParams(), plotEfficiencyMbVsTdc(), plotOffsetMbVsTdc(), plotStatusMbVsTdc(), printParam(), and putParams().