ROOT logo
(UNKNOWN PRODUCT) » INCLUDE » TMrbAnalyze

class TMrbAnalyze: public TObject

_________________________________________________[C++ CLASS DEFINITION FILE]

 Name:           TMrbAnalyze.h
 Purpose:        Base class for user's analyze process
 Description:
 Author:         R. Lutter
 Revision:       $Id: TMrbAnalyze.h,v 1.59 2011-03-11 10:14:50 Otto.Schaile Exp $
 Date:
 URL:
 Keywords:

Function Members (Methods)

public:
TMrbAnalyze()
TMrbAnalyze(TMrbIOSpec* IOSpec)
TMrbAnalyze(const TMrbAnalyze&)
virtual~TMrbAnalyze()
voidTObject::AbstractMethod(const char* method) const
Bool_tAddCalibrationToList(TF1* CalibrationAddr, Int_t AbsParamIndex)
Bool_tAddCalibrationToList(TF1* CalibrationAddr, Int_t ModuleIndex, Int_t RelParamIndex)
TF1*AddCalibrationToList(const Char_t* Name, const Char_t* Formula, Double_t Xmin, Double_t Xmax, Int_t ModuleIndex, Int_t RelParamIndex)
Bool_tAddDCorrToList(TF1* DCorrAddr, Int_t AbsParamIndex)
Bool_tAddDCorrToList(TF1* DCorrAddr, Int_t ModuleIndex, Int_t RelParamIndex)
TF1*AddDCorrToList(const Char_t* Name, const Char_t* Formula, Double_t Xmin, Double_t Xmax, Int_t ModuleIndex, Int_t RelParamIndex)
Bool_tAddHistoToList(TH1* HistoAddr, Int_t ModuleIndex, Int_t RelParamIndex)
voidAddIOSpec(TMrbIOSpec* IOSpec)
Bool_tAddModuleToList(const Char_t* ModuleName, const Char_t* ModuleTitle, Int_t ModuleIndex, Int_t AbsParamIndex, Int_t NofParams, Int_t TimeOffset = 0)
Bool_tAddParamToList(const Char_t* ParamName, TObject* ParamAddr, Int_t ModuleIndex, Int_t RelParamIndex)
Bool_tAddResourcesFromFile(const Char_t* ResourceFile)
Bool_tAdjustFunctionPointers()
Bool_tAdjustWindowPointers()
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
Double_tCalibrate(Int_t Energy, Int_t ModuleNumber, Int_t Channel, Bool_t Randomize = kFALSE, Bool_t WithinLimits = kFALSE)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
Int_tClearHistograms(const Char_t* Pattern, TMrbIOSpec* IOSpec = 0)
virtual TObject*TObject::Clone(const char* newname = "") const
Bool_tCloseRootTree(TMrbIOSpec* IOSpec = 0)
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
Bool_tDumpData(const Char_t* Prefix, Int_t Index, const Char_t* CallingClass, const Char_t* CallingMethod, const Char_t* Msg, const UShort_t* DataPtr, Int_t DataWC)
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
TMrbNamedX*FindHisto(const Char_t* HistoName, Bool_t SingleFlag = kFALSE) const
TMrbNamedX*FindModule(const Char_t* ModuleName) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TMrbNamedX*FindParam(const Char_t* ParamName) const
Bool_tFinishRun(TMrbIOSpec* IOSpec, Bool_t BeforeSH = kTRUE)
Int_tGetBranchSize() const
TF1*GetCalibration(const Char_t* CalibrationName) const
TF1*GetCalibration(Int_t AbsParamIndex) const
TF1*GetCalibration(Int_t ModuleIndex, Int_t RelParamIndex) const
TF1*GetCalibration(Int_t AbsParamIndex, TArrayD& Coeffs) const
TF1*GetCalibration(Int_t AbsParamIndex, Double_t& Gain, Double_t& Offset) const
TF1*GetCalibration(Int_t ModuleIndex, Int_t RelParamIndex, TArrayD& Coeffs) const
TF1*GetCalibration(Int_t ModuleIndex, Int_t RelParamIndex, Double_t& Gain, Double_t& Offset) const
TMrbCalibrationListEntry*GetCalibrationListEntry(Int_t AbsParamIndex) const
TMrbCalibrationListEntry*GetCalibrationListEntry(Int_t ModuleIndex, Int_t RelParamIndex) const
TMrbIOSpec*GetCurIOSpec()
TF1*GetDCorr(const Char_t* DCorrName) const
TF1*GetDCorr(Int_t AbsParamIndex) const
TF1*GetDCorr(Int_t ModuleIndex, Int_t RelParamIndex) const
TF1*GetDCorr(Int_t AbsParamIndex, Double_t& Factor) const
TF1*GetDCorr(Int_t ModuleIndex, Int_t RelParamIndex, Double_t& Factor) const
TF1*GetDCorr(Int_t AbsParamIndex, Double_t& Beta, Double_t& Angle) const
TF1*GetDCorr(Int_t ModuleIndex, Int_t RelParamIndex, Double_t& Beta, Double_t& Angle) const
TMrbDCorrListEntry*GetDCorrListEntry(Int_t AbsParamIndex) const
TMrbDCorrListEntry*GetDCorrListEntry(Int_t ModuleIndex, Int_t RelParamIndex) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tGetDumpCount() const
Int_tGetEventsProcessed() const
TH1*GetHistoAddr(const Char_t* HistoName) const
TH1*GetHistoAddr(Int_t AbsParamIndex) const
TH1*GetHistoAddr(Int_t ModuleIndex, Int_t RelParamIndex) const
TH1*GetHistoFromList(TObjArray& HistoList, Int_t AbsParamIndex) const
TH1*GetHistoFromList(TObjArray& HistoList, Int_t ModuleNumber, Int_t RelParamIndex) const
Int_tGetHistoIndex(Int_t ModuleIndex, Int_t RelParamIndex) const
TMrbHistoListEntry*GetHistoListEntry(const Char_t* HistoName) const
virtual const char*TObject::GetIconName() const
TMrbLofNamedX*GetListOfHistos()
TMrbLofNamedX*GetListOfModules()
TMrbLofNamedX*GetListOfParams()
TMrbLofNamedX*GetLofHistos()
TList*GetLofIOSpecs()
TMrbLogger*GetMessageLogger() const
Int_tGetModuleIndex(const Char_t* ModuleName) const
Int_tGetModuleIndexByParam(const Char_t* ParamName) const
TMrbModuleListEntry*GetModuleListEntry(Int_t ModuleIndex) const
TMrbModuleListEntry*GetModuleListEntry(const Char_t* ModuleName) const
const Char_t*GetModuleName(Int_t ModuleIndex) const
const Char_t*GetModuleTitle(Int_t ModuleIndex) const
virtual const char*TObject::GetName() const
TMrbIOSpec*GetNextIOSpec(TMrbIOSpec* IOSpec)
Int_tGetNofHistos() const
Int_tGetNofModules() const
Int_tGetNofParams() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TObject*GetParamAddr(const Char_t* ParamName) const
TObject*GetParamAddr(Int_t AbsParamIndex) const
TObject*GetParamAddr(Int_t ModuleIndex, Int_t RelParamIndex) const
Int_tGetParamIndex(const Char_t* ParamName, Bool_t AbsFlag = kTRUE) const
Int_tGetParamIndex(Int_t ModuleIndex, Int_t RelParamIndex) const
const Char_t*GetParamName(Int_t AbsParamIndex) const
const Char_t*GetParamName(Int_t ModuleIndex, Int_t RelParamIndex) const
const Char_t*GetResource(const Char_t* Resource)
Int_tGetRunId() const
TMrbAnalyze::EMrbRunStatusGetRunStatus() const
Int_tGetScaleDown() const
Int_tGetSplitLevel() const
Int_tGetTimeOffset(Int_t ModuleNumber) const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Bool_tHandleMessage(const Char_t* ArgList)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
voidHelp()
voidIncrEventCount()
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
Bool_tInitialize(TMrbIOSpec* IOSpec)
voidInitializeLists(Int_t NofModules, Int_t NofParams)
Bool_tInitializeUserCode(TMrbIOSpec* IOSpec, Bool_t BeforeHB = kFALSE)
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
Bool_tIsFakeMode() const
virtual Bool_tTObject::IsFolder() const
Bool_tIsModScaleDown() const
Bool_tTObject::IsOnHeap() const
Bool_tIsReplayMode() const
virtual Bool_tTObject::IsSortable() const
Int_tIsToBeUpdated()
Bool_tIsVerbose() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidMarkHistogramsWithTime()
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
Int_tOpenFileList(TString&, TMrbIOSpec*)
Bool_tOpenRootFile(const Char_t* FileName)
Bool_tOpenRootFile(TMrbIOSpec* IOSpec)
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TObject&TObject::operator=(const TObject& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
voidPrintCalibration() const
voidPrintCalibration(ostream& Out) const
voidPrintCalibration(Int_t AbsParamIndex) const
voidPrintCalibration(const Char_t* CalibrationName) const
voidPrintCalibration(ostream& Out, Int_t AbsParamIndex) const
voidPrintCalibration(ostream& Out, const Char_t* CalibrationName) const
voidPrintCalibration(ostream& Out, TMrbNamedX* CalX) const
voidPrintCalibration(Int_t ModuleIndex, Int_t RelParamIndex) const
voidPrintCalibration(ostream& Out, Int_t ModuleIndex, Int_t RelParamIndex) const
voidPrintLists(ostream& out = cout) const
voidPrintLists(const Char_t* FileName) const
voidPrintStartStop(TUsrEvtStart* Start = 0, TUsrEvtStop* StopEvent = 0) const
voidPrintStartStop(UInt_t StartTime, UInt_t StopTime) const
Int_tProcessFileList()
virtual Int_tTObject::Read(const char* name)
Int_tReadCalibrationFromFile(const Char_t* CalibrationFile)
Int_tReadDCorrFromFile(const Char_t* DCorrFile)
virtual voidTObject::RecursiveRemove(TObject* obj)
Bool_tReloadMultipleFiles(TString& ParamFileString)
Bool_tReloadParams(const Char_t* ParamFile)
Bool_tReloadParams(TMrbIOSpec* IOSpec)
Bool_tReloadVarsAndWdws(const Char_t* ParamFile)
Bool_tReloadVarsAndWdws(TMrbIOSpec* IOSpec)
Bool_tReplayEvents(TMrbIOSpec* IOSpec)
voidTObject::ResetBit(UInt_t f)
voidResetEventCount()
voidResetEventsPerTrigger()
voidResetModuleHits(Int_t StartIndex = 0, Int_t StopIndex = 0)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
Int_tSaveHistograms(const Char_t* Pattern, const Char_t* HistFile)
Int_tSaveHistograms(const Char_t* Pattern, TMrbIOSpec* IOSpec)
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetBranchSize(Int_t BranchSize = TMrbAnalyze::kBranchBufferSize)
voidSetCurIOSpec(TMrbIOSpec* IOSpec)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetDumpCount(Int_t Count)
voidSetFakeMode(Bool_t FakeMode = kTRUE)
voidSetFileSize(Int_t FileSize = 0)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetReplayMode(Bool_t Flag = kTRUE)
voidSetRunId(Int_t RunId)
voidSetRunStatus(TMrbAnalyze::EMrbRunStatus RunStatus)
voidSetScaleDown(Int_t ScaleDown = 1)
voidSetSplitLevel(Bool_t SplitLevel = TMrbAnalyze::kBranchSplitLevel)
Bool_tSetTimeOffset()
Bool_tSetTimeOffset(Int_t ModuleNumber, Int_t Offset)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetUpdateFlag()
voidSetVerboseMode(Bool_t VerboseFlag = kTRUE)
voidSetWriteTreeFlag(Bool_t Flag = kTRUE)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTerminate()
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
Bool_tTestRunStatus()
Bool_tTreeToBeWritten() const
TH1F*UpdateDTimeHistory()
TH1F*UpdateRateHistory()
virtual voidTObject::UseCurrentStyle()
voidWaitForLock(const Char_t* LockFile, const Char_t* Msg = 0)
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
Bool_tWriteRootTree(const Char_t* FileName)
Bool_tWriteRootTree(TMrbIOSpec* IOSpec)
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum { kMB
kTimeUnitsPerSec
kTimeNsecsPerUnit
kBranchSplitLevel
kBranchBufferSize
kUpdateTime
kMaxPolyDegree
};
enum EMrbRunStatus { M_ABSENT
M_STARTING
M_RUNNING
M_PAUSING
M_STOPPING
M_STOPPED
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Int_tfBranchSizebuffer size for branches
TMrbLofNamedXfCalibrationListlist of calibrations, indexed by param number
TMrbIOSpec*fCurIOSpeccurrent i/o spec
TMrbLofNamedXfDCorrListlist of doppler corrections, indexed by param number
Int_tfDumpCountnumber of data records to be dumped: 0 -> never, N -> N times, -1 -> always
Int_tfEventsProcPrevevent count of last update
Int_tfEventsProcessedevents processed so far
Bool_tfFakeModekTRUE if fake mode
Int_tfFileSizefile size in MB
Int_tfHistFileVersionversion number of (autosaved) hist file
TMrbLofNamedXfHistoListlist of histograms, indexed by param number
TListfLofIOSpecslist of i/o specs
TMrbLogger*fMessageLogger! addr of message logger
TMrbLofNamedXfModuleListlist of modules, indexed by serial number
Int_tfNofModulesnumber of modules
Int_tfNofParamsnumber of parameters
TMrbLofNamedXfParamListlist of params, indexed by param number
Bool_tfReplayModekTRUE if replay mode
TStringfResourceFileuser's resource defs
TStringfResourceName
TStringfResourceString
TFile*fRootFileInroot file to read tree data from (replay mode only)
TFile*fRootFileOutroot file to store data trees
Int_tfRunIdcurrent run id
TMrbAnalyze::EMrbRunStatusfRunStatuskTRUE: program is to be terminated (after ^C)
Int_tfScaleDownglobal scale-down factor
TMrbLofNamedXfSingleListlist of single histograms, indexed by param number
Int_tfSplitLevelsplit mode
Int_tfTimeOfLastUpdateupdate time is stored here
Int_tfUpdateFlag> 0: mmap objects are to be updated
Bool_tfVerboseModekTRUE if verbose mode
Bool_tfWriteRootTreekTRUE if root data are to be written

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TMrbAnalyze()
{}
TMrbAnalyze(TMrbIOSpec* IOSpec)
~TMrbAnalyze()
TMrbAnalyze(const TMrbAnalyze& )
{}
void SetScaleDown(Int_t ScaleDown = 1)
TH1F * UpdateRateHistory()
TH1F * UpdateDTimeHistory()
Bool_t TestRunStatus()
Bool_t Initialize(TMrbIOSpec* IOSpec)
Bool_t InitializeUserCode(TMrbIOSpec* IOSpec, Bool_t BeforeHB = kFALSE)
Bool_t AdjustWindowPointers()
Bool_t AdjustFunctionPointers()
Bool_t HandleMessage(const Char_t* ArgList)
Bool_t OpenRootFile(const Char_t* FileName)
Bool_t OpenRootFile(TMrbIOSpec* IOSpec)
Bool_t ReplayEvents(TMrbIOSpec* IOSpec)
Bool_t WriteRootTree(const Char_t* FileName)
Bool_t WriteRootTree(TMrbIOSpec* IOSpec)
void SetFileSize(Int_t FileSize = 0)
Bool_t CloseRootTree(TMrbIOSpec* IOSpec = 0)
Int_t GetScaleDown() const
{ return(fScaleDown); }
void SetRunId(Int_t RunId)
{ fRunId = RunId; }
Int_t GetRunId() const
{ return(fRunId); }
void SetBranchSize(Int_t BranchSize = TMrbAnalyze::kBranchBufferSize)
{ fBranchSize = BranchSize; }
void SetSplitLevel(Bool_t SplitLevel = TMrbAnalyze::kBranchSplitLevel)
{ fSplitLevel = SplitLevel; }
Int_t GetBranchSize() const
{ return(fBranchSize); }
Int_t GetSplitLevel() const
{ return(fSplitLevel); }
void SetRunStatus(TMrbAnalyze::EMrbRunStatus RunStatus)
{ fRunStatus = RunStatus; }
EMrbRunStatus GetRunStatus() const
{ return(fRunStatus); }
Int_t IsToBeUpdated()
void SetUpdateFlag()
Int_t GetEventsProcessed() const
{ return(fEventsProcessed); }
void SetReplayMode(Bool_t Flag = kTRUE)
{ fReplayMode = Flag; }
Bool_t IsReplayMode() const
{ return(fReplayMode); }
void IncrEventCount()
void ResetEventCount()
Bool_t IsModScaleDown() const
{ return((fEventsProcessed % fScaleDown) == 0); }
void SetWriteTreeFlag(Bool_t Flag = kTRUE)
{ fWriteRootTree = Flag; }
Bool_t TreeToBeWritten() const
{ return(fWriteRootTree); }
void MarkHistogramsWithTime()
Int_t OpenFileList(TString& , TMrbIOSpec* )
Int_t ProcessFileList()
Bool_t ReloadParams(const Char_t* ParamFile)
Bool_t ReloadParams(TMrbIOSpec* IOSpec)
Bool_t ReloadVarsAndWdws(const Char_t* ParamFile)
Bool_t ReloadVarsAndWdws(TMrbIOSpec* IOSpec)
Bool_t ReloadMultipleFiles(TString& ParamFileString)
Bool_t Terminate()
Bool_t FinishRun(TMrbIOSpec* IOSpec, Bool_t BeforeSH = kTRUE)
void AddIOSpec(TMrbIOSpec* IOSpec)
{ fLofIOSpecs.Add(IOSpec); }
TMrbIOSpec * GetNextIOSpec(TMrbIOSpec* IOSpec)
Int_t SaveHistograms(const Char_t* Pattern, const Char_t* HistFile)
Int_t SaveHistograms(const Char_t* Pattern, TMrbIOSpec* IOSpec)
Int_t ClearHistograms(const Char_t* Pattern, TMrbIOSpec* IOSpec = 0)
void SetCurIOSpec(TMrbIOSpec* IOSpec)
{ fCurIOSpec = IOSpec; }
TMrbIOSpec * GetCurIOSpec()
{ return(fCurIOSpec); }
TList * GetLofIOSpecs()
{ return(&fLofIOSpecs); }
void InitializeLists(Int_t NofModules, Int_t NofParams)
const Char_t * GetModuleName(Int_t ModuleIndex) const
const Char_t * GetModuleTitle(Int_t ModuleIndex) const
Int_t GetModuleIndex(const Char_t* ModuleName) const
Int_t GetModuleIndexByParam(const Char_t* ParamName) const
const Char_t * GetParamName(Int_t ModuleIndex, Int_t RelParamIndex) const
const Char_t * GetParamName(Int_t AbsParamIndex) const
Int_t GetParamIndex(const Char_t* ParamName, Bool_t AbsFlag = kTRUE) const
Int_t GetParamIndex(Int_t ModuleIndex, Int_t RelParamIndex) const
TH1 * GetHistoAddr(const Char_t* HistoName) const
TH1 * GetHistoAddr(Int_t ModuleIndex, Int_t RelParamIndex) const
TH1 * GetHistoAddr(Int_t AbsParamIndex) const
TH1 * GetHistoFromList(TObjArray& HistoList, Int_t ModuleNumber, Int_t RelParamIndex) const
TH1 * GetHistoFromList(TObjArray& HistoList, Int_t AbsParamIndex) const
TMrbHistoListEntry * GetHistoListEntry(const Char_t* HistoName) const
TObject * GetParamAddr(const Char_t* ParamName) const
TObject * GetParamAddr(Int_t ModuleIndex, Int_t RelParamIndex) const
TObject * GetParamAddr(Int_t AbsParamIndex) const
Bool_t AddModuleToList(const Char_t* ModuleName, const Char_t* ModuleTitle, Int_t ModuleIndex, Int_t AbsParamIndex, Int_t NofParams, Int_t TimeOffset = 0)
Bool_t AddHistoToList(TH1* HistoAddr, Int_t ModuleIndex, Int_t RelParamIndex)
Int_t GetHistoIndex(Int_t ModuleIndex, Int_t RelParamIndex) const
TMrbModuleListEntry * GetModuleListEntry(Int_t ModuleIndex) const
TMrbModuleListEntry * GetModuleListEntry(const Char_t* ModuleName) const
void ResetModuleHits(Int_t StartIndex = 0, Int_t StopIndex = 0)
Int_t ReadCalibrationFromFile(const Char_t* CalibrationFile)
Bool_t AddCalibrationToList(TF1* CalibrationAddr, Int_t ModuleIndex, Int_t RelParamIndex)
Bool_t AddCalibrationToList(TF1* CalibrationAddr, Int_t AbsParamIndex)
TF1 * AddCalibrationToList(const Char_t* Name, const Char_t* Formula, Double_t Xmin, Double_t Xmax, Int_t ModuleIndex, Int_t RelParamIndex)
TF1 * GetCalibration(const Char_t* CalibrationName) const
TF1 * GetCalibration(Int_t ModuleIndex, Int_t RelParamIndex) const
TF1 * GetCalibration(Int_t AbsParamIndex) const
TF1 * GetCalibration(Int_t ModuleIndex, Int_t RelParamIndex, Double_t& Gain, Double_t& Offset) const
TF1 * GetCalibration(Int_t AbsParamIndex, Double_t& Gain, Double_t& Offset) const
TF1 * GetCalibration(Int_t ModuleIndex, Int_t RelParamIndex, TArrayD& Coeffs) const
TF1 * GetCalibration(Int_t AbsParamIndex, TArrayD& Coeffs) const
TMrbCalibrationListEntry * GetCalibrationListEntry(Int_t ModuleIndex, Int_t RelParamIndex) const
TMrbCalibrationListEntry * GetCalibrationListEntry(Int_t AbsParamIndex) const
void PrintCalibration(ostream& Out) const
void PrintCalibration(ostream& Out, Int_t ModuleIndex, Int_t RelParamIndex) const
void PrintCalibration(ostream& Out, Int_t AbsParamIndex) const
void PrintCalibration(ostream& Out, const Char_t* CalibrationName) const
void PrintCalibration(ostream& Out, TMrbNamedX* CalX) const
void PrintCalibration() const
void PrintCalibration(Int_t ModuleIndex, Int_t RelParamIndex) const
{ this->PrintCalibration(cout, ModuleIndex, RelParamIndex); }
void PrintCalibration(Int_t AbsParamIndex) const
{ this->PrintCalibration(cout, AbsParamIndex); }
void PrintCalibration(const Char_t* CalibrationName) const
{ this->PrintCalibration(cout, CalibrationName); }
Double_t Calibrate(Int_t Energy, Int_t ModuleNumber, Int_t Channel, Bool_t Randomize = kFALSE, Bool_t WithinLimits = kFALSE)
Int_t ReadDCorrFromFile(const Char_t* DCorrFile)
Bool_t AddDCorrToList(TF1* DCorrAddr, Int_t ModuleIndex, Int_t RelParamIndex)
Bool_t AddDCorrToList(TF1* DCorrAddr, Int_t AbsParamIndex)
TF1 * AddDCorrToList(const Char_t* Name, const Char_t* Formula, Double_t Xmin, Double_t Xmax, Int_t ModuleIndex, Int_t RelParamIndex)
TF1 * GetDCorr(const Char_t* DCorrName) const
TF1 * GetDCorr(Int_t ModuleIndex, Int_t RelParamIndex) const
TF1 * GetDCorr(Int_t AbsParamIndex) const
TF1 * GetDCorr(Int_t ModuleIndex, Int_t RelParamIndex, Double_t& Factor) const
TF1 * GetDCorr(Int_t ModuleIndex, Int_t RelParamIndex, Double_t& Beta, Double_t& Angle) const
TF1 * GetDCorr(Int_t AbsParamIndex, Double_t& Factor) const
TF1 * GetDCorr(Int_t AbsParamIndex, Double_t& Beta, Double_t& Angle) const
TMrbDCorrListEntry * GetDCorrListEntry(Int_t ModuleIndex, Int_t RelParamIndex) const
TMrbDCorrListEntry * GetDCorrListEntry(Int_t AbsParamIndex) const
Int_t GetNofModules() const
{ return(fNofModules); }
Int_t GetNofParams() const
{ return(fNofParams); }
Int_t GetNofHistos() const
{ return(fHistoList.GetEntriesFast()); }
TMrbLofNamedX * GetLofHistos()
{ return(&fHistoList); }
Bool_t SetTimeOffset()
Bool_t SetTimeOffset(Int_t ModuleNumber, Int_t Offset)
Int_t GetTimeOffset(Int_t ModuleNumber) const
void SetDumpCount(Int_t Count)
{ fDumpCount = Count; }
Int_t GetDumpCount() const
{ return(fDumpCount); }
Bool_t DumpData(const Char_t* Prefix, Int_t Index, const Char_t* CallingClass, const Char_t* CallingMethod, const Char_t* Msg, const UShort_t* DataPtr, Int_t DataWC)
const Char_t * GetResource(const Char_t* Resource)
void SetVerboseMode(Bool_t VerboseFlag = kTRUE)
{ fVerboseMode = VerboseFlag; }
Bool_t IsVerbose() const
{ return(fVerboseMode); }
void SetFakeMode(Bool_t FakeMode = kTRUE)
{ fFakeMode = FakeMode; }
Bool_t IsFakeMode() const
{ return(fFakeMode); }
TMrbNamedX * FindModule(const Char_t* ModuleName) const
{ return(fModuleList.FindByName(ModuleName)); }
TMrbNamedX * FindParam(const Char_t* ParamName) const
{ return(fParamList.FindByName(ParamName)); }
TMrbNamedX * FindHisto(const Char_t* HistoName, Bool_t SingleFlag = kFALSE) const
TMrbLofNamedX * GetListOfParams()
{ return(&fParamList); }
TMrbLofNamedX * GetListOfModules()
{ return(&fModuleList); }
TMrbLofNamedX * GetListOfHistos()
{ return(&fHistoList); }
void ResetEventsPerTrigger()
void PrintLists(ostream& out = cout) const
void PrintLists(const Char_t* FileName) const
void PrintStartStop(TUsrEvtStart* Start = 0, TUsrEvtStop* StopEvent = 0) const
void PrintStartStop(UInt_t StartTime, UInt_t StopTime) const
TMrbLogger * GetMessageLogger() const
{ return(fMessageLogger); }
void WaitForLock(const Char_t* LockFile, const Char_t* Msg = 0)
void Help()
{ gSystem->Exec(Form("mrbHelp %s", this->ClassName())); }