#include "hmdcwirestat.h" |
HMdcWireStat
class description - source file - inheritance tree (.pdf)
public:
HMdcWireStat(const char* name = "MdcWireStat", const char* title = "Mdc lookup table for wire stat", const char* context = "MdcWireStatProduction")
HMdcWireStat(const HMdcWireStat&)
~HMdcWireStat()
static TClass* Class()
virtual void clear()
Int_t getDeadWires()
Int_t getDeadWires(Int_t, Int_t)
Float_t getEfficiency(Int_t sec, Int_t mod, Int_t lay, Int_t cell)
Int_t getMbo(Int_t sec, Int_t mod, Int_t lay, Int_t cell)
virtual Bool_t getParams(HParamList*)
Int_t getStatus(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)
virtual Bool_t init(HParIo*, Int_t*)
virtual TClass* IsA() const
HMdcWireStat& operator=(const HMdcWireStat&)
TCanvas* plotEfficiency(Int_t, Int_t)
TCanvas* plotEfficiencyMbVsTdc()
TCanvas* plotStatus(Int_t, Int_t)
TCanvas* plotStatusMbVsTdc()
void printParam()
void printStats()
void printStatsSum()
virtual void putParams(HParamList*)
void setEfficiency(Int_t sec, Int_t mod, Int_t lay, Int_t cell, Int_t eff)
void setMbo(Int_t sec, Int_t mod, Int_t lay, Int_t cell, Int_t mbo)
void setStatus(Int_t sec, Int_t mod, Int_t lay, Int_t cell, Int_t stat)
void setTdc(Int_t sec, Int_t mod, Int_t lay, Int_t cell, Int_t t)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void unsetDirectory()
virtual Int_t write(HParIo*)
protected:
TH2F* mb[6][4] mapping sector,module,layer,wire to mother board
TH2F* tdc[6][4] mapping sector,module,layer,wire to tdc
TH2F* statusmap[6][4] status of the wire: 1=working,-1=not connected, -3=no correct offset, -7=dead, -10=init
TH2F* efficiency[6][4] efficiency of the wire: 0-1
*-- AUTHOR : J. Markert
HMdcWireStat
Container class for lookup parameters of the status of the
wire (working or dead + noise + efficiency).
The parameters are stored in TH2F histograms which can be plotted.
This container is needed by HMdcDigitizer and HMdcTrackFinder
THe Status value is coded in the following way
status of the wire: 1=working,
-1=not connected,
-3=no correct offset,
-7=dead,
-10=init
HMdcWireStat(const char* name,const char* title,
const char* context)
: HParCond(name,title,context)
~HMdcWireStat()
destructor
void clear()
void printStats()
void printStatsSum()
Int_t getDeadWires()
Int_t getDeadWires(Int_t sec,Int_t mod)
void printParam(void)
prints the parameters of HMdcWireStat to the screen.
Bool_t init(HParIo* inp,Int_t* set)
intitializes the container from an input
Int_t write(HParIo* output)
writes the container to an output
void putParams(HParamList* l)
Puts all params of HMdcWireStat to the parameter list of
HParamList (which ist used by the io);
Bool_t getParams(HParamList* l)
TCanvas* plotStatusMbVsTdc()
TCanvas* plotEfficiencyMbVsTdc()
TCanvas* plotStatus(Int_t sec,Int_t mod)
TCanvas* plotEfficiency(Int_t sec,Int_t mod)
void unsetDirectory()
void Streamer(TBuffer &R__b)
Stream an object of class HMdcWireStat.
Inline Functions
Int_t getStatus(Int_t sec, Int_t mod, Int_t lay, Int_t cell)
void setStatus(Int_t sec, Int_t mod, Int_t lay, Int_t cell, Int_t stat)
Float_t getEfficiency(Int_t sec, Int_t mod, Int_t lay, Int_t cell)
void setEfficiency(Int_t sec, Int_t mod, Int_t lay, Int_t cell, Int_t eff)
Int_t getMbo(Int_t sec, Int_t mod, Int_t lay, Int_t cell)
void setMbo(Int_t sec, Int_t mod, Int_t lay, Int_t cell, Int_t mbo)
Int_t getTdc(Int_t sec, Int_t mod, Int_t lay, Int_t cell)
void setTdc(Int_t sec, Int_t mod, Int_t lay, Int_t cell, Int_t t)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void StreamerNVirtual(TBuffer& b)
HMdcWireStat HMdcWireStat(const HMdcWireStat&)
HMdcWireStat& operator=(const HMdcWireStat&)
Last update: Fri Jan 26 12:19:02 2007
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.