(UNKNOWN PRODUCT) » EXPCONF » TMrbConfig

class TMrbConfig: public TNamed

__________________________________________________[C++ CLASS IMPLEMENTATION]

 Name:            expconf/src/TMrbConfig.cxx
 Purpose:        MARaBOU configuration: base class
 Description:    Implements class methods to define a MARaBOU configuration
 Keywords:
 Author:         R. Lutter
 Mailto:         <a href=mailto:rudi.lutter@physik.uni-muenchen.de>R. Lutter</a>
 Revision:       $Id: TMrbConfig.cxx,v 1.192 2011/09/16 12:12:32 Marabou Exp $
 Date:

Function Members (Methods)

public:
TMrbConfig()
TMrbConfig(const TMrbConfig&)
TMrbConfig(const Char_t* CfgName, const Char_t* CfgTitle = "")
virtual~TMrbConfig()
voidTObject::AbstractMethod(const char* method) const
voidAddEvent(TMrbEvent* Evt)
TMrbNamedX*AddHistoToArray(const Char_t* ArrayName, const Char_t* HistoName)
voidAddModule(TMrbModule* Module)
voidAddMux(TMrbModule* Multiplexer)
voidAddScaler(TMrbModule* Scaler)
voidAddSubevent(TMrbSubevent* Sevt)
voidAddToTagList(const Char_t* CodeFile, Int_t TagIndex)
voidAddUserClass(const Char_t* Name)
voidAddUserClass(TMrbConfig::EMrbIncludeOptions Opt, const Char_t* Name, const Char_t* Path = NULL)
virtual voidTObject::AppendPad(Option_t* option = "")
Int_tAssignModuleSerial() const
Int_tAssignSevtSerial() const
Bool_tBookHistogram(const Char_t* HistoType, const Char_t* HistoName, const Char_t* HistoTitle, const Char_t* Args, const Char_t* Condition)
Bool_tBookHistogram(const Char_t* ArrayName, const Char_t* HistoType, const Char_t* HistoName, const Char_t* HistoTitle, const Char_t* Args, const Char_t* Condition)
Bool_tBookHistogram(const Char_t* HistoType, const Char_t* HistoName, const Char_t* HistoTitle, Int_t Xbin, Double_t Xlow, Double_t Xup, const Char_t* Condition = NULL)
Bool_tBookHistogram(const Char_t* ArrayName, const Char_t* HistoType, const Char_t* HistoName, const Char_t* HistoTitle, Int_t Xbin, Double_t Xlow, Double_t Xup, const Char_t* Condition = NULL)
Bool_tBookHistogram(const Char_t* HistoType, const Char_t* HistoName, const Char_t* HistoTitle, Int_t Xbin, Double_t Xlow, Double_t Xup, Int_t Ybin, Double_t Ylow, Double_t Yup, const Char_t* Condition = NULL)
Bool_tBookHistogram(const Char_t* ArrayName, const Char_t* HistoType, const Char_t* HistoName, const Char_t* HistoTitle, Int_t Xbin, Double_t Xlow, Double_t Xup, Int_t Ybin, Double_t Ylow, Double_t Yup, const Char_t* Condition = NULL)
Bool_tBookRateHistogram(const Char_t* HistoName, const Char_t* HistoTitle, Int_t Scale, Int_t Range, Bool_t Loop = kFALSE, const Char_t* Condition = NULL)
Bool_tBookRateHistogram(const Char_t* ArrayName, const Char_t* HistoName, const Char_t* HistoTitle, Int_t Scale, Int_t Range, Bool_t Loop = kFALSE, const Char_t* Condition = NULL)
virtual voidTObject::Browse(TBrowser* b)
Bool_tCallUserMacro(const Char_t* MacroName = "", Bool_t AclicFlag = kTRUE)
Int_tCheckMbsBranchSettings()
Bool_tCheckModuleAddress(TMrbModule* Module, Bool_t WrnOnly = kTRUE) const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
Bool_tCompileAnalyzeCode(Bool_t CleanFlag = kTRUE) const
Bool_tCompileReadoutCode(const Char_t* Host, Bool_t CleanFlag = kTRUE) const
virtual voidTNamed::Copy(TObject& named) const
Bool_tCreateUserEvent(ofstream& OutStrm, const Char_t* UserEvent, Bool_t CreateProto, Bool_t SystemPart)
Bool_tCreateUserMacro()
Bool_tCreateXhit(TMrbNamedX* Xhit)
Bool_tDeadTimeToBeWritten() const
Bool_tDefineFunctions(const Char_t* FctType, const Char_t* FctDefs)
Bool_tDefineVariables(const Char_t* VarType, const Char_t* VarDefs)
Bool_tDefineVariables(const Char_t* VarType, Int_t Value, const Char_t* VarDefs)
Bool_tDefineVariables(const Char_t* VarType, Double_t Value, const Char_t* VarDefs)
Bool_tDefineVariables(const Char_t* VarType, const Char_t* Value, const Char_t* VarDefs)
Bool_tDefineWindows(const Char_t* WdwType, const Char_t* WdwDefs)
Bool_tDefineWindows(const Char_t* WdwType, Int_t Xlower, Int_t Xupper, const Char_t* WdwDefs)
Bool_tDefineWindows(const Char_t* WdwType, Double_t Xlower, Double_t Xupper, const Char_t* WdwDefs)
Bool_tDefineWindows(const Char_t* WdwType, Int_t Npoints, Double_t* X, Double_t* Y, const Char_t* WdwDefs)
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
virtual voidTObject::Error(const char* method, const char* msgfmt) const
Bool_tExecRootMacro(const Char_t* Macro)
Bool_tExecUserMacro(ofstream* Strm, TObject* CfgObject, const Char_t* TagWord) 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
virtual voidTNamed::FillBuffer(char*& buffer)
Int_tFindCrate(Int_t After = -1) const
TMrbEvent*FindEvent(const Char_t* EvtName) const
TMrbEvent*FindEvent(Int_t Trigger) const
TMrbNamedX*FindHistoArray(const Char_t* HistoName, TMrbNamedX* After = NULL) const
TMrbModule*FindModule(const Char_t* ModuleName) const
TMrbModule*FindModuleByCrate(Int_t Crate, TMrbModule* After = NULL) const
TMrbModule*FindModuleByID(TMrbConfig::EMrbModuleID ModuleID, TMrbModule* After = NULL) const
TMrbModule*FindModuleBySerial(Int_t ModuleSerial) const
TMrbModule*FindModuleByType(UInt_t ModuleType, TMrbModule* After = NULL) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TMrbModuleChannel*FindParam(const Char_t* ParamName) const
TMrbModule*FindScaler(const Char_t* ScalerName) const
TMrbModule*FindScalerByCrate(Int_t Crate, TMrbModule* After = NULL) const
TMrbSubevent*FindSubevent(const Char_t* SevtName) const
TMrbSubevent*FindSubevent(Int_t SevtSerial) const
TMrbSubevent*FindSubevent(TClass* Class, TMrbSubevent* After = NULL) const
UInt_tGetAnalyzeOptions() const
const Char_t*GetAuthor()
UInt_tGetConfigOptions() const
TMrbConfig::EMrbControllerTypeGetControllerType(Int_t Crate) const
UInt_tGetCratePattern(TMrbConfig::EMrbCrateType CrateType = kCrateAny) const
TMrbConfig::EMrbCrateTypeGetCrateType(Int_t Crate) const
Int_tGetDeadTimeInterval() const
TMrbScaler*GetDeadTimeScaler() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Bool_tGetGlobal(const Char_t* Name, Int_t& IntVar) const
Bool_tGetGlobal(const Char_t* Name, Float_t& FloatVar) const
Bool_tGetGlobal(const Char_t* Name, Double_t& DblVar) const
Bool_tGetGlobal(const Char_t* Name, Bool_t& BoolVar) const
Bool_tGetGlobal(const Char_t* Name, TString& Str) const
Bool_tGetGlobB(const Char_t* Name) const
Double_tGetGlobD(const Char_t* Name) const
Float_tGetGlobF(const Char_t* Name) const
Int_tGetGlobI(const Char_t* Name) const
const Char_t*GetGlobStr(const Char_t* Name) const
virtual const char*TObject::GetIconName() const
TMrbLofNamedX*GetLofDataTypes()
TObjArray*GetLofEvents()
const Char_t*GetLofEventsAsString(TString& LofEvents) const
TMrbLofNamedX*GetLofGlobals()
TMrbLofNamedX*GetLofHistoTypes()
TMrbLofNamedX*GetLofModuleIDs()
TObjArray*GetLofModules()
const Char_t*GetLofModulesAsString(TString& LofModules) const
TMrbLofNamedX*GetLofModuleTypes()
TObjArray*GetLofMuxs()
TObjArray*GetLofRdoIncludes()
TObjArray*GetLofRdoLibs()
TObjArray*GetLofScalers()
TObjArray*GetLofSubevents()
const Char_t*GetLofSubeventsAsString(TString& LofSubevents) const
TMrbLofNamedX*GetLofUserClasses()
TObjArray*GetLofUserHistograms()
TMrbLofNamedX*GetLofUserIncludes()
TMrbLofNamedX*GetLofUserLibs()
TObjArray*GetLofXhits()
const Char_t*GetLynxVersion(Bool_t Verbose = kFALSE)
const Char_t*GetMailAddr()
const Char_t*GetMbsVersion(Bool_t Vformat = kTRUE, Bool_t Verbose = kFALSE)
TMrbLogger*GetMessageLogger() const
virtual const char*TNamed::GetName() const
Int_tGetNofCrates(TMrbConfig::EMrbCrateType CrateType = kCrateAny) const
Int_tGetNofErrors() const
Int_tGetNofEvents()
Int_tGetNofModules() const
Int_tGetNofModules(const Char_t* Pattern) const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
const Char_t*GetProcType(Bool_t Verbose = kFALSE)
UInt_tGetRcFileOptions() const
UInt_tGetReadoutOptions() const
Int_tGetSevtSize()
virtual const char*TNamed::GetTitle() const
TMrbConfig::EMrbTriggerStatusGetTriggerStatus(Int_t Trigger) const
virtual UInt_tTObject::GetUniqueID() const
Bool_tHandleMultipleTriggers(Int_t T1 = 0, Int_t T2 = 0, Int_t T3 = 0, Int_t T4 = 0, Int_t T5 = 0)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
Bool_tHasCamacModules() const
virtual ULong_tTNamed::Hash() const
Bool_tHasVMEModules() const
voidHelp()
Bool_tHistogramExists(const Char_t* HistoName) const
Bool_tIncludeUserClass(const Char_t* UserClass, Bool_t UserDefinedEvent = kFALSE)
Bool_tIncludeUserClass(const Char_t* IclPath, const Char_t* UserClass, Bool_t UserDefinedEvent = kFALSE)
Bool_tIncludeUserCode(const Char_t* UserFile, Bool_t AutoGenFlag = kFALSE)
Bool_tIncludeUserCode(const Char_t* IclPath, const Char_t* UserFile, Bool_t AutoGenFlag = kFALSE)
Bool_tIncludeUserLib(const Char_t* UserLib, Bool_t MakeIt = kFALSE)
Bool_tIncludeUserLib(const Char_t* IclPath, const Char_t* UserLib, Bool_t MakeIt = kFALSE)
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
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tIsDefined(const Char_t* Name) const
Bool_tIsDefined(const Char_t* Name, Int_t& Value) const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tIsVerbose() const
Bool_tTObject::IsZombie() const
Bool_tLongParamNamesToBeUsed() const
virtual voidTNamed::ls(Option_t* option = "") const
Bool_tMakeAnalyzeCode(const Char_t* CodeFile = "", Option_t* Options = "Subevents:byName:Histograms")
Bool_tMakeAnalyzeCode(ofstream& AnaStrm, TMrbConfig::EMrbAnalyzeTag TagIndex, UInt_t VarType, TMrbTemplate& Template, const Char_t* Prefix = NULL)
Bool_tMakeAnalyzeCode(ofstream& AnaStrm, const Char_t* ClassName, const Char_t* CodeFile, TMrbConfig::EMrbAnalyzeTag TagIndex, const Char_t* Extension)
Bool_tMakeConfigCode(const Char_t* CodeFile = "", Option_t* Options = "")
voidMakeDefined(const Char_t* Name, Int_t Value, const Char_t* Comment = "")
voidMakeDefined(const Char_t* Name, Bool_t Defined = kTRUE, const Char_t* Comment = "")
voidMakeGlobal(const Char_t* Name, Int_t* IntVar, const Char_t* Comment = "")
voidMakeGlobal(const Char_t* Name, Float_t* FloatVar, const Char_t* Comment = "")
voidMakeGlobal(const Char_t* Name, Double_t* DblVar, const Char_t* Comment = "")
voidMakeGlobal(const Char_t* Name, Bool_t* BoolVar, const Char_t* Comment = "")
voidMakeGlobal(const Char_t* Name, TString& Str, const Char_t* Comment = "")
voidMakeGlobal(const Char_t* Name, Int_t IntVal, const Char_t* Comment = "")
voidMakeGlobal(const Char_t* Name, Float_t FloatVal, const Char_t* Comment = "")
voidMakeGlobal(const Char_t* Name, Double_t DblVal, const Char_t* Comment = "")
voidMakeGlobal(const Char_t* Name, Bool_t BoolVal, const Char_t* Comment = "")
voidMakeGlobal(const Char_t* Name, const Char_t* Str, const Char_t* Comment = "")
Bool_tMakeRcFile(const Char_t* CodeFile = "", const Char_t* ResourceName = "", Option_t* Options = "byName")
Bool_tMakeReadoutCode(const Char_t* CodeFile = "", Option_t* Options = "")
voidTObject::MayNotUse(const char* method) const
Bool_tNameNotLegal(const Char_t* ObjType, const Char_t* ObjName) const
TMrbModule*NextModule(TMrbModule* After = NULL) const
TMrbSubevent*NextSubevent(TMrbSubevent* After = NULL) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
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)
TNamed&TNamed::operator=(const TNamed& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint() const
virtual voidPrint(Option_t* Option) const
voidPrint(ostream& OutStrm, const Char_t* Prefix = "") const
Int_tPrintErrors(Bool_t ErrorsOnly = kFALSE) const
voidPrintGlobals()
voidPrintGlobals(const Char_t* File)
voidPrintGlobals(ostream& Out)
voidPrintToFile(Char_t* File) const
virtual Int_tTObject::Read(const char* name)
TMrbConfig*ReadFromFile(const Char_t* ConfigFile = "", Option_t* Options = "")
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
Bool_tSetControllerType(Int_t Crate, const Char_t* Type)
Bool_tSetControllerType(const Char_t* Crate, const Char_t* Type)
voidSetControllerType(Int_t Crate, TMrbConfig::EMrbControllerType Type)
voidSetCrateType(Int_t Crate, TMrbConfig::EMrbCrateType CrateType)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetGlobalAddress()
Bool_tSetMbsBranch(TMrbNamedX& MbsBranch, Int_t MbsBranchNo, const Char_t* MbsBranchName = NULL)
voidSetMultiBorC(TMrbCNAF::EMrbCNAF MultiBorC)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetSevtSize(Int_t Size, Int_t PipeSegLength = kMbsPipeSegLength)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTagToBeProcessed(const Char_t* CodeFile, Int_t TagIndex) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
Bool_tTimeStampToBeWritten() const
Bool_tUpdateMbsSetup()
voidUpdateTriggerTable(Int_t Trigger = 0)
virtual voidTObject::UseCurrentStyle()
voidUseLongParamNames(Bool_t Flag = kTRUE)
voidUseMapFile(Bool_t MapFlag = kTRUE)
Bool_tUserClassesToBeIncluded() const
Bool_tUserCodeToBeIncluded() const
Bool_tUserLibsToBeIncluded() const
voidVersion() const
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_tWriteDeadTime(const Char_t* Scaler, Int_t Interval = 1000)
Bool_tWriteMuxConfig(const Char_t* CfgFile)
voidWriteTimeStamp()
Bool_tWriteToFile(const Char_t* ConfigFile = "", Option_t* Options = "")
protected:
Bool_tCheckConfig()
Bool_tCreateHistoArrays()
Bool_tDefineVarOrWdw(TMrbNamedX* VarType, TObject* VarProto, const Char_t* VarDefs)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
Bool_tWriteUtilityProtos()

Data Members

public:
enum EMrbReadoutTag { kRdoPath
kRdoFile
kRdoInclude
kRdoLibs
kRdoPosix
kRdoPosixLib
kRdoLynxPlatform
kRdoAlign64
kRdoDebug
kRdoNameLC
kRdoNameUC
kRdoCreationDate
kRdoAuthor
kRdoUser
kRdoTitle
kRdoSetup
kRdoCamacController
kRdoDefineTriggers
kRdoDefinePointers
kRdoDeviceTables
kRdoInitPointers
kRdoInitEnvironment
kRdoInitCommonCode
kRdoInitModules
kRdoOnStartAcquisition
kRdoOnStopAcquisition
kRdoOnTriggerXX
kRdoIgnoreTriggerXX
kRdoWriteSetup
kRdoIncludesAndDefs
kRdoUtilities
kRdoDefinePrototypes
kRdoDefineGlobals
kRdoDefineGlobalsOnce
kRdoDefineLocalVarsInit
kRdoDefineLocalVarsReadout
kRdoUserDefinedDefines
kRdoClearModule
};
enum EMrbAnalyzeTag { kAnaFile
kAnaNameLC
kAnaNameUC
kAnaTitle
kAnaCreationDate
kAnaAuthor
kAnaUser
kAnaHtmlMakeSetup
kAnaIncludeXhitDefs
kAnaIncludesAndDefs
kAnaPragmaLinkClasses
kAnaClassImp
kAnaReservedEvents
kAnaMakeClassNames
kAnaInitializeLists
kAnaModuleTimeOffset
kAnaAddUserEnv
kAnaFindVars
kAnaEventClassDef
kAnaEventClassMethods
kAnaEventUserClassMethods
kAnaEventClassInstance
kAnaEventUserClassInstance
kAnaEventDefinePointers
kAnaEventNameLC
kAnaEventNameUC
kAnaEventTitle
kAnaEventAutoSave
kAnaEventTrigger
kAnaEventIdEnum
kAnaEventPrivateData
kAnaEventUserMethods
kAnaEventUserData
kAnaEventMethodToProcessEvent
kAnaEventDispatchOverTrigger
kAnaEventIgnoreTrigger
kAnaEventTriggerStartAcq
kAnaEventTriggerStopAcq
kAnaEventReplayEvent
kAnaEventBookParams
kAnaEventBookHistograms
kAnaEventFillHistograms
kAnaEventFillRateHistograms
kAnaEventSetupSevtList
kAnaEventAllocHitBuffer
kAnaEventSetFakeMode
kAnaEventCreateTree
kAnaEventAddBranches
kAnaEventSetScaleDown
kAnaEventInitializeTree
kAnaEventSetReplayMode
kAnaEventSetWriteTree
kAnaEventInitializeBranches
kAnaEventSetBranchStatus
kAnaEventReplayTree
kAnaEventFirstSubevent
kAnaEventAnalyze
kAnaEvtResetData
kAnaEvtBaseClass
kAnaSevtNameLC
kAnaSevtNameUC
kAnaSevtTitle
kAnaSevtSetName
kAnaSevtSerial
kAnaSevtNofParams
kAnaSevtNofModules
kAnaSevtSerialEnum
kAnaSevtBitsEnum
kAnaSevtIndicesEnum
kAnaSevtClassDef
kAnaSevtClassMethods
kAnaSevtClassInstance
kAnaSevtGetAddr
kAnaSevtUserMethods
kAnaSevtUserData
kAnaSevtFriends
kAnaSevtCtor
kAnaSevtDispatchOverType
kAnaSevtDispatchOverSerial
kAnaSevtDefineAddr
kAnaSevtPrivateData
kAnaSevtPrivateHistograms
kAnaSevtFillSubevent
kAnaSevtBookParams
kAnaSevtBookHistograms
kAnaSevtFillHistograms
kAnaSevtFillHistogramsHB
kAnaSevtInitializeBranch
kAnaSevtXhitClass
kAnaSevtResetData
kAnaModuleIdEnum
kAnaModuleSerialEnum
kAnaModuleSpecialEnum
kAnaHistoDefinePointers
kAnaHistoInitializeArrays
kAnaHistoBookUserDefined
kAnaHistoFillArrays
kAnaVarDefinePointers
kAnaVarClassInstance
kAnaVarArrDefinePointers
kAnaVarArrClassInstance
kAnaWdwDefinePointers
kAnaWdwClassInstance
kAnaWdwAdjustPointers
kAnaFctClassInstance
kAnaFctDefinePointers
kAnaFctAdjustPointers
kAnaUserInitializeBeforeHB
kAnaUserInitializeAfterHB
kAnaUserReloadParams
kAnaUserFinishRun
kAnaUserBookParams
kAnaUserBookHistograms
kAnaUserGlobals
kAnaUserUtilities
kAnaUserMessages
kAnaUserDummyMethods
kAnaUsingNameSpace
kAnaUserDefinedGlobals
kAnaUserDefinedEnums
kAnaUserDefinedDefines
kAnaMakeUserCxxFlags
kAnaMakeUserHeaders
kAnaMakeUlibHeaders
kAnaMakeUserCode
kAnaMakeUserLibs
kAnaMakeUserRules
kAnaMakeUlibRules
kAnaMakeAll
kAnaMakeClean
kAnaMakeLibNew
kAnaIncludeEvtSevtModGlobals
kAnaInitializeEvtSevtMods
kAnaLoadUserLibs
};
enum EMrbConfigTag { kCfgFile
kCfgNameLC
kCfgNameUC
kCfgTitle
kCfgAuthor
kCfgCreationDate
kCfgCreateConfig
kCfgDefineEvents
kCfgDefineSubevents
kCfgDefineModules
kCfgAssignParams
kCfgConnectToEvent
kCfgWriteTimeStamp
kCfgWriteDeadTime
kCfgDefineVariables
kCfgDefineWindows
kCfgDefineFunctions
kCfgDefineScalers
kCfgMakeCode
};
enum EMrbRcFileTag { kRcExpData
kRcEvtData
kRcSevtData
kRcModuleData
kRcModuleSettings
kRcUserGlobals
};
enum EMrbUserMacroTag { kUmaFile
kUmaNameLC
kUmaNameUC
kUmaTitle
kUmaAuthor
kUmaCreationDate
};
enum EMrbUserEventTag { kUevFile
kUevNameLC
kUevNameUC
kUevConfigLC
kUevConfigUC
kUevTitle
kUevAuthor
kUevCreationDate
};
enum EMrbXhitTag { kXhitFile
kXhitNameLC
kXhitNameUC
kXhitConfigLC
kXhitConfigUC
kXhitTitle
kXhitAuthor
kXhitCreationDate
kXhitDataLength
};
enum { kNoOptionSpecified
};
enum EMrbReadoutOptions { kRdoOptOverwrite
kRdoOptVerbose
};
enum { kRdoOptDefault
};
enum EMrbAnalyzeOptions { kAnaOptSubevents
kAnaOptParamsByName
kAnaOptHistograms
kAnaOptLeaves
kAnaOptOverwrite
kAnaOptReplayMode
kAnaOptVerbose
};
enum { kAnaOptDefault
};
enum EMrbConfigOptions { kCfgOptOverwrite
kCfgOptVerbose
};
enum { kCfgOptDefault
};
enum EMrbRcFileOptions { kRcOptOverwrite
kRcOptByName
kRcOptVerbose
};
enum { kRcOptDefault
};
enum EMrbIncludeOptions { kIclOptHeaderFile
kIclOptUserMethod
kIclOptClassTMrbAnalyze
kIclOptClassTUsrEvent
kIclOptUserLib
kIclOptUserClass
kIclOptInitialize
kIclOptReloadParams
kIclOptFinishRun
kIclOptHandleMessages
kIclOptBookHistograms
kIclOptBookParams
kIclOptProcessEvent
kIclOptEventMethod
kIclOptUserDefinedEvent
kIclOptUtilities
};
enum { kNofCrates
kNofControllers
kNofTriggers
kAutoSave
};
enum EMrbTriggerStatus { kTriggerUnused
kTriggerAssigned
kTriggerPattern
kTriggerReserved
kTriggerIgnored
kTriggerOutOfRange
};
enum EMrbReservedTriggers { kTriggerStartAcq
kTriggerStopAcq
};
enum { kRdoOptEvtDefault
kAnaOptEvtDefault
kCfgOptEvtDefault
kRdoOptSevtDefault
kAnaOptSevtDefault
kCfgOptSevtDefault
};
enum EMrbModuleTag { kModuleDefs
kModuleInitCommonCode
kModuleInitModule
kModuleInitChannel
kModuleReadChannel
kModuleIncrementChannel
kModuleSkipChannels
kModuleWriteSubaddr
kModuleStoreData
kModuleClearModule
kModuleReadModule
kModuleSetupReadout
kModuleFinishReadout
kModuleStartAcquisition
kModuleStopAcquisition
kModuleStartAcquisitionGroup
kModuleStopAcquisitionGroup
kModuleUtilities
kModuleDefineGlobals
kModuleDefineGlobalsOnce
kModuleDefineLocalVarsInit
kModuleDefineLocalVarsReadout
kModuleDefinePrototypes
kModuleDefineIncludePaths
kModuleDefineLibraries
};
enum EMrbChannelStatus { kChannelSingle
kChannelArray
kChannelArrElem
};
enum EMrbDataType { kDataChar
kDataUShort
kDataUInt
kDataULong
kDataFloat
};
enum EMrbGlobalType { kGlobInt
kGlobFloat
kGlobDouble
kGlobBool
kGlobString
kGlobObject
};
enum EMrbCrateType { kCrateUnused
kCrateCamac
kCrateVME
kCrateAny
};
enum EMrbControllerType { kControllerUnused
kControllerCBV
kControllerCC32
};
enum EMrbHistoType { kHistoTH1
kHistoTH2
kHistoTHC
kHistoTHS
kHistoTHF
kHistoTHD
kHistoTHR
kHistoTH1C
kHistoTH1S
kHistoTH1F
kHistoTH1D
kHistoTH2C
kHistoTH2S
kHistoTH2F
kHistoTH2D
kHistoRate
};
enum EMrbModuleType { kModuleCamac
kModuleVME
kModuleRaw
kModuleListMode
kModuleSingleMode
kModuleMultiEvent
kModuleTimeStamp
kModuleAdc
kModuleTdc
kModuleQdc
kModulePatternUnit
kModuleScaler
kModuleIOReg
kModuleControl
};
enum EMrbManufacturers { kManufactOther
kManufactSilena
kManufactOrtec
kManufactLeCroy
kManufactSen
kManufactTUM
kManufactNE
kManufactCaen
kManufactGanelec
kManufactXia
kManufactAcromag
kManufactKinetics
kManufactMpiHD
kManufactSis
kManufactCologne
kManufactISN
kManufactMesytec
kManufactGSI
};
enum EMrbModuleID { kModuleSilena4418V
kModuleSilena4418T
kModuleUct8904
kModuleSen16P2047
kModuleSilena7420Smdw
kModuleLeCroy2228A
kModuleLeCroy4434
kModuleAdcd9701
kModuleSen2010
kModuleNE9041
kModuleCaenV260
kModuleCaenV556
kModuleCaenV785
kModuleGanelec_Q1612F
kModuleOrtec_413A
kModuleXia_DGF_4C
kModuleAcromag_IP341
kModuleLeCroy4432
kModuleLeCroy4448
kModuleKinetics3655
kModuleCaenV775
kModuleCaenV820
kModuleMpiHD_IOReg
kModuleSis_3600
kModuleSis_3801
kModuleLeCroy_1176
kModuleLeCroy_2280
kModuleCologne_CPTM
kModuleCaenV879
kModuleSis_3820
kModuleSis_3300
kModuleCaenV965
kModuleISN4481
kModuleMesytecMux16
kModuleSis_3302
kModuleMesytecMadc32
kModuleCaenV1X90
kModuleVulomTB
kModuleUserDefined
kModuleSoftModule
};
enum EMrbScalerMode { kScalerCamac
kScalerVME
kScalerListMode
kScalerSingleMode
kScalerDeadTime
kScalerExternalGate
};
enum EMrbScalerFunction { kScalerFctInit
kScalerFctClear
kScalerFctRead
kScalerFctDeadTime
kScalerFctWrite
};
enum { kNofScalerFunctions
kRdoHeaderBit
kMbsSevtSize
kMbsPipeSegLength
kMbsPipeLengthMax
kMbsPipeLengthMin
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
public:
TMrbLofNamedXfCNAFNames! ... cnaf key words
TMrbLofNamedXfLofAnalyzeTags! ... analyze tags
TMrbLofNamedXfLofConfigTags! ... config tags
TMrbLofNamedXfLofControllerTypes! ... camac controllers
TMrbLofNamedXfLofCrateTypes! ... crate types
TMrbLofNamedXfLofDataTypes! ... data types
TMrbLofNamedXfLofDefines! list of #define statements
TMrbLofNamedXfLofGlobals! list of global vars
TMrbLofNamedXfLofHistoTypes! ... histogram types
TMrbLofNamedXfLofMbsBranches! list of mbs branches
TMrbLofNamedXfLofModuleIDs! ... camac modules available
TMrbLofNamedXfLofModuleTags! ... camac tags
TMrbLofNamedXfLofModuleTypes! ... module types
TMrbLofNamedXfLofRcFileTags! ... rc file tags
TMrbLofNamedXfLofReadoutTags! ... readout tags
TMrbLofNamedXfLofUserEventTags! ... user event tags
TMrbLofNamedXfLofUserMacroTags! ... user macro tags
TMrbLofNamedXfLofXhitTags! ... special hit tags
protected:
UInt_tfAnalyzeOptions... in MakeAnalyzeCode()
TStringfAuthor...
Bool_tfConfigCheckedkTRUE if consistency check done
Bool_tfConfigOkkTRUE config consistent
UInt_tfConfigOptions... in MakeConfigCode()
TArrayIfControllerTablecontroller table (camac only)
TArrayIfCrateTablecrate table (camac and VME)
TStringfCreationDatecreation date & time
Int_tfDeadTimeIntervalnumber of events a new dead time event will be created
TMrbScaler*fDeadTimeScalerdead-time scaler
TObjArrayfLofEvents
TObjArrayfLofHistoArrayslist of histogram arrays
TObjArrayfLofHistoConditionslist of histogram booking conds
TObjArrayfLofModules
TObjArrayfLofMuxs
TObjArrayfLofOnceOnlyTagslist of tags already processed
TObjArrayfLofRdoIncludeslist of inlude paths for MBS
TObjArrayfLofRdoLibslist of special libraries for MBS
TObjArrayfLofScalers
TObjArrayfLofSubevents
TMrbLofNamedXfLofUserClasseslist of classes added by user
TObjArrayfLofUserHistogramslist of user-defined histograms
TMrbLofNamedXfLofUserIncludeslist of user-specific files to be included
TMrbLofNamedXfLofUserLibslist of user-specific libraries to be included
TObjArrayfLofXhitslist of special hit objects
Bool_tfLongParamNamesuse long param names: i.e. <subevent><param>
TStringfLynxVersionlynxOs version, format N.M
TStringfMailAddruser's mail address
TStringfMbsVVersion... format vNN
TStringfMbsVersionMBS version, format N.M
TMrbLogger*fMessageLogger! addr of message logger
UInt_tfMultiBorCmulti branch? multi crate?
TStringTNamed::fNameobject identifier
Int_tfNofEventslist of events
Int_tfNofModuleslist of modules
Int_tfNofMuxslist of multiplexers
Int_tfNofScalerslist of scalers
Int_tfNofSubeventslist of subevents
Int_tfPipeSegLengthlength of subevent pipe
TStringfProcTypeprocessor type: PPC, RIO2, or RIO3
UInt_tfRcFileOptions... in MakeRcFile()
UInt_tfReadoutOptionsoptions used in MakeReadoutCode()
Int_tfSevtSizesubevent size to be used in .mbssetup
Bool_tfSingleBitTriggersOnlytriggers 1,2,4, or 8 only
TStringTNamed::fTitleobject title
UInt_tfTriggerMasktrigger bits defined so far
TArrayIfTriggersToBeHandledtrigger patterns to be handled
Bool_tfUseMapFilekTRUE if TMap should be used
TStringfUseruser name
TStringfUserMacromacro name
TStringfUserMacroCmd... command
Bool_tfUserMacroToBeCalledcall user macro
Bool_tfVerboseModeverbose flag
Bool_tfWriteTimeStampkTRUE if user wants a time stamp to be added to each event

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TMrbConfig(const Char_t* CfgName, const Char_t* CfgTitle = "")
__________________________________________________________________[C++ CTOR]

 Name:           TMrbConfig
 Purpose:        Create a MBS configuration
 Arguments:      Char_t * CfgName   -- name of experiment
                 Char_t * CfgTitle  -- (opt.) title
 Results:        --
 Exceptions:
 Description:    Class constructor
 Keywords:

void UpdateTriggerTable(Int_t Trigger = 0)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::UpdateTriggerTable
 Purpose:        Update trigger table
 Arguments:      Int_t Trigger      -- trigger number
 Results:
 Exceptions:
 Description:    Inserts a new trigger into trigger table, then updates
                 table data.
 Keywords:

Bool_t HandleMultipleTriggers(Int_t T1 = 0, Int_t T2 = 0, Int_t T3 = 0, Int_t T4 = 0, Int_t T5 = 0)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::HandleMultipleTriggers
 Purpose:        Allow trigger patterns
 Arguments:      Int_t T'n         -- triggers patterns
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    In case of single-bit triggers: allow multiple triggers
                 to occur. Resulting code is a combination of single triggers.
 Keywords:

TMrbEvent * FindEvent(Int_t Trigger) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::FindEvent
 Purpose:        Find an event by its trigger number
 Arguments:      Int_t Trigger       -- trigger number
 Results:        TMrbEvent * Event   -- event address
 Exceptions:
 Description:    Loops thru the list of events to find specified trigger.
 Keywords:

TMrbSubevent * FindSubevent(Int_t SevtSerial) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::FindSubevent
 Purpose:        Find a subevent by its serial number
 Arguments:      Int_t SevtSerial         -- unique subevent id
 Results:        TMrbSubevent * Subevent  -- subevent address
 Exceptions:
 Description:    Loops thru the list of subevents to find specified id.
 Keywords:

TMrbSubevent * FindSubevent(TClass* Class, TMrbSubevent* After = NULL) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::FindSubevent
 Purpose:        Find a subevent by its class
 Arguments:      TClass * Class           -- class
                 TMrbSubevent * After     -- subevent addr from last call
 Results:        TMrbSubevent * Subevent  -- subevent address
 Exceptions:
 Description:    Loops thru the list of subevents to find specified class.
 Keywords:

const Char_t * GetMbsVersion(Bool_t Vformat = kTRUE, Bool_t Verbose = kFALSE)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetMbsVersion
 Purpose:        Return MBS version
 Arguments:      Bool_t Vformat       -- return old format vNN if kTRUE
                 Bool_t Verbose       -- output error message if not ok
 Results:        Char_t * MbsVersion  -- result
 Exceptions:
 Description:    Returns MBS version as vNN or N.M
                 Version is read from rootrc environment: TMbsSetup.MBsVersion
 Keywords:

const Char_t * GetLynxVersion(Bool_t Verbose = kFALSE)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetLynxVersion
 Purpose:        Return LynxOs version
 Arguments:      Bool_t Verbose        -- output error message if not ok
 Results:        Char_t * LynxVersion  -- result
 Exceptions:
 Description:    Returns LynxOs version as N.M
                 Version is read from rootrc environment: TMbsSetup.LynxVersion
 Keywords:

const Char_t * GetProcType(Bool_t Verbose = kFALSE)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetProcType
 Purpose:        Return processor type
 Arguments:      Bool_t Verbose        -- output error message if not ok
 Results:        Char_t * ProcType     -- result
 Exceptions:
 Description:    Returns ppc type: PPC (=RIO2) or RIO3
                 Type is read from rootrc environment: TMbsSetup.ProcType
 Keywords:

Bool_t CheckModuleAddress(TMrbModule* Module, Bool_t WrnOnly = kTRUE) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::CheckModuleAddress
 Purpose:        Check if module address or position is legal
 Arguments:      TMrbModule * Module  -- module address
                 Bool_t WrnOnly       -- give warning only
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Checks module address or position:
                    CAMAC:   check if B.C.N already accupied
                    VME:     check if address within other module's segment
 Keywords:

TMrbModule * FindModuleByID(TMrbConfig::EMrbModuleID ModuleID, TMrbModule* After = NULL) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::FindModuleByID
 Purpose:        Find a module by its id
 Arguments:      EMrbModuleID ModuleID     -- module id
                 TMrbModule * After        -- search to be started after this module
 Results:        TMrbModule * Module       -- module address
 Exceptions:
 Description:    Loops thru the list of modules to find
                 next module having specified id
 Keywords:

TMrbModule * FindModuleByType(UInt_t ModuleType, TMrbModule* After = NULL) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::FindModuleByType
 Purpose:        Find a module by its type
 Arguments:      UInt_t ModuleType        -- module type
                 TMrbModule * After       -- search to be started after this module
 Results:        TMrbModule * Module      -- module address
 Exceptions:
 Description:    Loops thru the list of modules to find
                 next module having specified type
 Keywords:

TMrbModule * FindModuleByCrate(Int_t Crate, TMrbModule* After = NULL) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::FindModuleByCrate
 Purpose:        Find a module by crate number
 Arguments:      Int_t Crate              -- crate number
                 TMrbModule * After       -- search to be started after this module
 Results:        TMrbModule * Module      -- module address
 Exceptions:
 Description:    Loops thru the list of modules to find
                 next module in specified crate
 Keywords:

TMrbModule * FindModuleBySerial(Int_t ModuleSerial) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::FindModuleBySerial
 Purpose:        Find a module by its unique serial number
 Arguments:      Int_t ModuleSerial       -- serial number
 Results:        TMrbModule * Module      -- module address
 Exceptions:
 Description:    Loops thru the list of modules to find
                 specified serial number
 Keywords:

TMrbModule * FindScalerByCrate(Int_t Crate, TMrbModule* After = NULL) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::FindScalerByCrate
 Purpose:        Find a scaler by crate number
 Arguments:      Int_t Crate              -- crate number
                 TMrbModule * After  -- search to be started after this module
 Results:        TMrbModule * Scaler -- scaler address
 Exceptions:
 Description:    Loops thru the list of scalers to find
                 next scaler in specified crate.
                 Returned TMrbModule object has to be casted as TMrbCamacScaler.
 Keywords:

Int_t FindCrate(Int_t After = -1) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::FindCrate
 Purpose:        Find next crate
 Arguments:      Int_t After              -- start with crate number ...
 Results:        Int_t Crate              -- crate number or -1
 Exceptions:
 Description:    Loops thru table of crates to find next crate which is active
 Keywords:

Int_t GetNofCrates(TMrbConfig::EMrbCrateType CrateType = kCrateAny) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetNofCrates
 Purpose:        Return number of crates in use
 Arguments:      EMrbCrateType CrateType -- crate type (camac, vme, any)
 Results:        Int_t NofCrates         -- number of crates in use
 Exceptions:
 Description:    Loops thru table of crates and returns number of active crates
 Keywords:

UInt_t GetCratePattern(TMrbConfig::EMrbCrateType CrateType = kCrateAny) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetCratePattern
 Purpose:        Return number of crates as bit pattern
 Arguments:      EMrbCrateType CrateType     -- crate type (camac, vme, any)
 Results:        UInt_t CratePattern         -- bit pattern
 Exceptions:
 Description:    Loops thru table of crates and returns bit pattern of active crates
 Keywords:

Bool_t SetControllerType(const Char_t* Crate, const Char_t* Type)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::SetControllerType
 Purpose:        Define type of (CAMAC) controller to be used
 Arguments:      Char_t * Crate        -- crate number (Cxx)
                 Char_t * Type         -- controller type
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Defines which CAMAC controller to be used.
 Keywords:

Bool_t SetControllerType(Int_t Crate, const Char_t* Type)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::SetControllerType
 Purpose:        Define type of (CAMAC) controller to be used
 Arguments:      Int_t Crate                 -- crate number (Cxx)
                 Char_t * Type               -- controller type
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Defines which CAMAC controller to be used.
 Keywords:

TMrbModuleChannel * FindParam(const Char_t* ParamName) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::Findparam
 Purpose:        Find a parameter thru all subevents
 Arguments:      Char_t * ParamName        -- param name
 Results:        TMrbCamacScaler * Param   -- param/channel addr
 Exceptions:
 Description:    Search for a parameter name throughout the system.
 Keywords:

Bool_t HistogramExists(const Char_t* HistoName) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::HistogramExists
 Purpose:        Check if histogram exists
 Arguments:      Char_t * HistoName   -- histo name
 Results:        TMrbNamedX * Param   -- param/channel addr
 Exceptions:
 Description:    Search for a histogram name throughout the system.
 Keywords:

Bool_t MakeReadoutCode(const Char_t* CodeFile = "", Option_t* Options = "")
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::MakeReadoutCode
 Purpose:        Generate user-defined code for MBS
 Arguments:      Char_t * CodeFile         -- name of code file to be generated
                 Option_t * Options          -- options to be used
 Results:
 Exceptions:
 Description:    Opens a file for user-defined readout code. Calls write-functions for all
                 members recursively.

                 Template file should contain tags like %%TAG_NAME%%
                 They will be expanded to real code by MakeReadoutCode and its descendants.

 Keywords:

Bool_t MakeAnalyzeCode(const Char_t* CodeFile = "", Option_t* Options = "Subevents:byName:Histograms")
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::MakeAnalyzeCode
 Purpose:        Generate user-defined code to analyze MBS data
 Arguments:      Char_t * CodeFile         -- name of code file to be generated
                 Option_t * Options        -- how to generate code: default "Subevents:byName:Histograms"
                                              Subevents: event->subevent->params
                                              byName: each param has its own name
                                              byIndex: array of params, accessed by index
                                              Histograms: generates histos for all params
                                              Overwrite: overwrite existing code files
 Results:
 Exceptions:
 Description:    Opens a file for user-defined analyzing code. Calls write-functions for all
                 members recursively.

                 Template file should contain tags like %%TAG_NAME%%
                 They will be expanded to real code by MakeAnalyzeCode and its descendants.
 Keywords:

Bool_t MakeAnalyzeCode(ofstream& AnaStrm, TMrbConfig::EMrbAnalyzeTag TagIndex, UInt_t VarType, TMrbTemplate& Template, const Char_t* Prefix = NULL)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::MakeAnalyzeCode
 Purpose:        Generate user-defined code for variables/windows
 Arguments:      ofstream & AnaStrm            -- where to output code
                 EMrbAnalyzeTag TagIndex       -- tag word index
                 UInt_t VarType                -- variable/window/function type
                 TMrbTemplate * Template       -- template
                 Char_t * Prefix               -- prefix to select template code
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Generates code for all variables/windows in specified list
 Keywords:

Bool_t MakeAnalyzeCode(ofstream& AnaStrm, const Char_t* ClassName, const Char_t* CodeFile, TMrbConfig::EMrbAnalyzeTag TagIndex, const Char_t* Extension)
________________________________________________________________[C++ METHOD]

 Name:           TMrbEvent::MakeAnalyzeCode
 Purpose:        Generate class-specific code for user's analysis
 Arguments:      ofstream & AnaStrm          -- where to output code
                 Char_t * ClassName          -- class name
                 Char_t * CodeFile           -- common code file
                 EMrbAnalyzeTag TagIndex     -- tag word index
                 Char_t * Extension          -- file extension
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Generates class-specific code.
                 Searches for following files:
                 (1)   <CodeFile>.<Extension>.code
                 (2)   <Class>_Common.<Extension>.code

                 This method is optional and doesn't generate an error
                 if no template file has been found.
                 It is also used to generate special hit objects.
 Keywords:

Bool_t MakeConfigCode(const Char_t* CodeFile = "", Option_t* Options = "")
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::MakeConfigCode
 Purpose:        Rebuild config file from objects in memory
 Arguments:      Char_t * CodeFile         -- name of code file to be generated
                 Option_t * Options          -- how to generate code: default ""
                                              Overwrite: overwrite existing config file
                                              Verbose: be verbose
 Results:
 Exceptions:
 Description:    Opens a file for user-defined config code. Rebuilds config file from
                 config objects in memory. Useful when reading config data from root file.

                 Template file should contain tags like %%TAG_NAME%%
                 They will be expanded to real code by MakeConfigCode and its descendants.
 Keywords:

Bool_t MakeRcFile(const Char_t* CodeFile = "", const Char_t* ResourceName = "", Option_t* Options = "byName")
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::MakeRcFile
 Purpose:        Create rc file
 Arguments:      Char_t * CodeFile         -- name of code file to be generated
                 Char_t * ResourceName     -- main resource
                 Option_t * Options        -- how to generate code: default ""
                                              Overwrite: overwrite existing config file
                                              Verbose: be verbose
 Results:
 Exceptions:
 Description:    Opens a file to store user's settings as environment data

                 Template file should contain tags like %%TAG_NAME%%
                 They will be expanded to real code by MakeRcFile.
 Keywords:

Bool_t CallUserMacro(const Char_t* MacroName = "", Bool_t AclicFlag = kTRUE)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::CallUserMacro
 Purpose:        Define user macro to be called
 Arguments:      Char_t * Macroname        -- name of code file to be generated
                 Bool_t AclicFlag          -- use ACliC to compile user macro
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Looks for a file <MacroName> to be called when generating code.
                 Tries to compile it by ACliC of flag set.
 Keywords:

Bool_t CreateUserMacro()
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::CreateUserMacro
 Purpose:        Create prototype of an user macro if none exists
 Arguments:      --
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Creates a prototype of an user macro.
 Keywords:

Bool_t ExecUserMacro(ofstream* Strm, TObject* CfgObject, const Char_t* TagWord) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::ExecUserMacro
 Purpose:        Execute user macro
 Arguments:      ofStream * Strm         -- output stream
                 TObject * CfgObject     -- config object (event, subevent, module)
                 Char_t * TagWord        -- tag word
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Executes user macro given by method "CallUserMacro".
 Keywords:

Bool_t WriteDeadTime(const Char_t* Scaler, Int_t Interval = 1000)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::WriteDeadTime
 Purpose:        Enable dead-time output
 Arguments:      Char_t * Scaler   -- scaler name
                 Int_t Interval    -- number of events a new dead time event will be created
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Enables dead-time information to be included in raw data.
 Keywords:

Bool_t IncludeUserCode(const Char_t* IclPath, const Char_t* UserFile, Bool_t AutoGenFlag = kFALSE)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::IncludeUserCode
 Purpose:        Specify user code to be included
 Arguments:      const Char_t * IclPath      -- where to find user's includes
                 Char_t * UserFile           -- name of user file
                 Bool_t AutoGenFlag          -- kTRUE if (header) file auto-generated
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Specifies user-definded code to be included.
 Keywords:

Bool_t WriteUtilityProtos()
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::WriteUtilityProtos
 Purpose:        Write header file for utilities
 Arguments:      --
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Creates file UtilityProtos.h
 Keywords:

Bool_t IncludeUserLib(const Char_t* IclPath, const Char_t* UserLib, Bool_t MakeIt = kFALSE)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::IncludeUserLib
 Purpose:        Specify user library to be included
 Arguments:      const Char_t * IclPath      -- where to find user's includes
                 Char_t * UserLib            -- name of user library
                 Bool_t MakeIt               -- include entry in make if kTRUE
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Specifies user-definded library to be included.
 Keywords:

Bool_t IncludeUserClass(const Char_t* IclPath, const Char_t* UserClass, Bool_t UserDefinedEvent = kFALSE)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::IncludeUserClass
 Purpose:        Specify user class to be included
 Arguments:      const Char_t * IclPath      -- where to find user's includes
                 Char_t * UserFile           -- name of user file
                 Bool_t UserDefinedEvent     -- if kTRUE: use as event class
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Specifies user-definded class to be included.
 Keywords:

Bool_t CreateUserEvent(ofstream& OutStrm, const Char_t* UserEvent, Bool_t CreateProto, Bool_t SystemPart)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::CreateUserEvent
 Purpose:        Create files/methods for a user-defined event class
 Arguments:      ofstream OutStrm    -- output stream
                 Char_t * UserEvent  -- event name
                 Bool_t CreateProto  -- create prototypes for header file
                 Bool_t SystemPart   -- kTRUE if system part is to be generated
                                        kFALSE for user part
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Creates files & methods for a user-defined event.
 Keywords:

Bool_t CreateXhit(TMrbNamedX* Xhit)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::CreateXhit
 Purpose:        Create files/methods for a user-defined hit class
 Arguments:      TMrbNamedX * Xhit   -- hit specs
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Creates files & methods for a user-defined hit.
 Keywords:

void AddEvent(TMrbEvent* Evt)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::AddEvent
 Purpose:        Add event to list
 Arguments:      TMrbEvent * Evt   -- event
 Results:        --
 Exceptions:
 Description:    Adds an event to list of events
 Keywords:

void AddSubevent(TMrbSubevent* Sevt)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::AddSubevent
 Purpose:        Add subevent to list
 Arguments:      TMrbEvent * Sevt   -- subevent
 Results:        --
 Exceptions:
 Description:    Adds a subevent to list of subevents
 Keywords:

void AddScaler(TMrbModule* Scaler)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::AddScaler
 Purpose:        Add scaler to list
 Arguments:      TMrbModule * Scaler   -- scaler
 Results:        --
 Exceptions:
 Description:    Adds a scaler to list of scalers
 Keywords:

void AddMux(TMrbModule* Multiplexer)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::AddMux
 Purpose:        Add (Mesytec) multiplexer to list
 Arguments:      TMrbMesytec_Mux16 * Multiplexer   -- multiplexer
 Results:        --
 Exceptions:
 Description:    Adds a multiplexer to list of multiplexers
 Keywords:

void AddToTagList(const Char_t* CodeFile, Int_t TagIndex)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::AddToTagList
 Purpose:        Add a tag to be processed only once
 Arguments:      Char_t * CodeFile         -- code file
                 Int_t TagIndex            -- tag index
 Results:        --
 Exceptions:
 Description:    Keeps track of once-only code files.
 Keywords:

Bool_t TagToBeProcessed(const Char_t* CodeFile, Int_t TagIndex) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::TagTobeProcessed
 Purpose:        Check if tag has to be processed
 Arguments:      Char_t * CodeFile         -- code file
                 Int_t TagIndex            -- tag index
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Searches for file in the list of once-only code files.
 Keywords:

Bool_t ExecRootMacro(const Char_t* Macro)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::ExecRootMacro
 Purpose:        Execute ROOT macro
 Arguments:      Char_t * Macro   -- macro name
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Checks if macro file is present. Execs via gROOT->Macro()
 Keywords:

void PrintToFile(Char_t* File) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::PrintToFile
 Purpose:        Output current config to file
 Arguments:      Char_t * File  -- file name
 Results:        --
 Exceptions:
 Description:    Outputs current configuration to file.
 Keywords:

void Print(ostream& OutStrm, const Char_t* Prefix = "") const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::Print
 Purpose:        Output current config
 Arguments:      ofstream & OutStrm   -- output stream
                 Char_t * Prefix  -- prefix to be output in front of text
 Results:        --
 Exceptions:
 Description:    Outputs current configuration to stdout.
 Keywords:

Int_t PrintErrors(Bool_t ErrorsOnly = kFALSE) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::PrintErrors
 Purpose:        Print error summary
 Arguments:      Bool_t ErrorsOnly   -- print error summary only
 Results:        Int_t NofErrors     -- number of errors
 Exceptions:
 Description:    Outputs logger contents
 Keywords:

Int_t GetNofErrors() const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetNofErrors
 Purpose:        Return number of errors
 Arguments:      --
 Results:        Int_t NofErrors   -- number of errors
 Exceptions:
 Description:    Returns number of errors
 Keywords:

void Version() const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::Version
 Purpose:        Output version
 Arguments:      --
 Results:
 Exceptions:
 Description:    Welcome to TMrbConfig.
 Keywords:

Bool_t DefineVariables(const Char_t* VarType, const Char_t* VarDefs)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::DefineVariables
 Purpose:        Defines a set of user variables
 Arguments:      Char_t * VarType     -- type: I(nteger), F(loat) or S(tring)
                 Char_t * VarDefs     -- definition string
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Defines a set of user variables.
                 VarDefs may be a single variable name or a set of names,
                 separated by blanks.
                 To define an indexed variable (array variable) user may
                 append the array size in [...].
 Keywords:

Bool_t DefineVariables(const Char_t* VarType, Int_t Value, const Char_t* VarDefs)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::DefineVariables
 Purpose:        Defines a set of user variables
 Arguments:      Char_t * VarType     -- type: I(nteger), F(loat) or S(tring)
                 Int_t Value          -- initial value
                 Char_t * VarDefs     -- definition string
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Defines a set of variables and initializes all with a given
                 value.
 Keywords:

Bool_t DefineVariables(const Char_t* VarType, Double_t Value, const Char_t* VarDefs)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::DefineVariables
 Purpose:        Defines a set of user variables
 Arguments:      Char_t * VarType     -- type: I(nteger), F(loat) or S(tring)
                 Float_t Value        -- initial value
                 Char_t * VarDefs     -- definition string
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Defines a set of variables and initializes all with a given
                 value.
 Keywords:

Bool_t DefineVariables(const Char_t* VarType, const Char_t* Value, const Char_t* VarDefs)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::DefineVariables
 Purpose:        Defines a set of user variables
 Arguments:      Char_t * VarType     -- type: I(nteger), F(loat) or S(tring)
                 Char_t Value         -- initial value
                 Char_t * VarDefs     -- definition string
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Defines a set of variables and initializes all with a given
                 value.
 Keywords:

Bool_t DefineWindows(const Char_t* WdwType, const Char_t* WdwDefs)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::DefineWindows
 Purpose:        Defines a set of windows (1- or 2-dim)
 Arguments:      Char_t * WdwType     -- type: I(nteger), F(loat), or C(ut)
                 Char_t * WdwDefs     -- definition string
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Defines a set of windows (1- or 2-dim).
                 WdwDefs may be a single window name or a set of names,
                 separated by blanks.
 Keywords:

Bool_t DefineWindows(const Char_t* WdwType, Int_t Xlower, Int_t Xupper, const Char_t* WdwDefs)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::DefineWindows
 Purpose:        Defines a set 1-dim windows
 Arguments:      Char_t * WdwType     -- type: I(nteger) or F(loat)
                 Int_t Xlower         -- lower limit
                 Int_t Xupper         -- upper limit
                 Char_t * WdwDefs     -- definition string
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Defines a set of 1-dim windows.
 Keywords:

Bool_t DefineWindows(const Char_t* WdwType, Double_t Xlower, Double_t Xupper, const Char_t* WdwDefs)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::DefineWindows
 Purpose:        Defines a set 1-dim windows
 Arguments:      Char_t * WdwType     -- type: I(nteger) or F(loat)
                 Double_t Xlower      -- lower limit
                 Double_t Xupper      -- upper limit
                 Char_t * WdwDefs     -- definition string
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Defines a set of 1-dim windows.
 Keywords:

Bool_t DefineWindows(const Char_t* WdwType, Int_t Npoints, Double_t* X, Double_t* Y, const Char_t* WdwDefs)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::DefineWindows
 Purpose:        Defines a set 1-dim windows
 Arguments:      Char_t * WdwType     -- type: C(ut)
                 Int_t Npoints        -- number of polygon points
                 Double_t * X         -- coordinates X
                 Double_t * Y         -- coordinates Y
                 Char_t * WdwDefs     -- definition string
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Defines a set of 2-dim windows (cuts).
 Keywords:

Bool_t DefineVarOrWdw(TMrbNamedX* VarType, TObject* VarProto, const Char_t* VarDefs)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::DefineVarOrWdw
 Purpose:        Define variables, variable arrays, and windows
 Arguments:      TMrbNamedX * VarType -- type: variable or window,
                                               array or not,
                                               integer, float, or string
                 TObject * VarProto   -- prototype
                 Char_t * VarDefs     -- definition string
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Real var/wdw definitions take place here.
 Keywords:

Bool_t DefineFunctions(const Char_t* FctType, const Char_t* FctDefs)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::DefineFunctions
 Purpose:        Defines a set of functions (1- or 2-dim)
 Arguments:      Char_t * FctType     -- type: TF1 or TF2
                 Char_t * FctDefs     -- definition string
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Defines a set of functions (1- or 2-dim).
                 FctDefs may be a single function name or a set of names,
                 separated by blanks.
 Keywords:

Bool_t BookHistogram(const Char_t* HistoType, const Char_t* HistoName, const Char_t* HistoTitle, Int_t Xbin, Double_t Xlow, Double_t Xup, const Char_t* Condition = NULL)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::BookHistogram
 Purpose:        Define a histogram to be booked
 Arguments:      Char_t * HistoType      -- histo type (TH1X, TH2X)
                 Char_t * HistoName      -- name
                 Char_t * HistoTitle     -- title
                 Int_t Xbin              -- bins in X
                 Double_t Xlow           -- lower edge X
                 Double_t Xup            -- upper edge X
                 Char_t * Condition      -- booking condition
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Books user-defined histograms.
 Keywords:

Bool_t BookHistogram(const Char_t* ArrayName, const Char_t* HistoType, const Char_t* HistoName, const Char_t* HistoTitle, Int_t Xbin, Double_t Xlow, Double_t Xup, const Char_t* Condition = NULL)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::BookHistogram
 Purpose:        Define a histogram to be booked
 Arguments:      Char_t *  ArrayName     -- name of histo array
                 Char_t * HistoType      -- histo type (TH1X, TH2X)
                 Char_t * HistoName      -- name
                 Char_t * HistoTitle     -- title
                 Int_t Xbin              -- bins in X
                 Double_t Xlow           -- lower edge X
                 Double_t Xup            -- upper edge X
                 Char_t * Condition      -- booking condition
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Books user-defined histograms.
 Keywords:

Bool_t BookHistogram(const Char_t* HistoType, const Char_t* HistoName, const Char_t* HistoTitle, Int_t Xbin, Double_t Xlow, Double_t Xup, Int_t Ybin, Double_t Ylow, Double_t Yup, const Char_t* Condition = NULL)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::BookHistogram
 Purpose:        Define a histogram to be booked
 Arguments:      Char_t * HistoType      -- histo type (TH1X, TH2X)
                 Char_t * HistoName      -- name
                 Char_t * HistoTitle     -- title
                 Int_t Xbin              -- bins in X
                 Double_t Xlow           -- lower edge X
                 Double_t Xup            -- upper edge X
                 Int_t Ybin              -- bins in Y
                 Double_t Ylow           -- lower edge Y
                 Double_t Yup            -- upper edge Y
                 Char_t * Condition      -- booking condition
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Books user-defined histograms.
 Keywords:

Bool_t BookHistogram(const Char_t* ArrayName, const Char_t* HistoType, const Char_t* HistoName, const Char_t* HistoTitle, Int_t Xbin, Double_t Xlow, Double_t Xup, Int_t Ybin, Double_t Ylow, Double_t Yup, const Char_t* Condition = NULL)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::BookHistogram
 Purpose:        Define a histogram to be booked
 Arguments:      Char_t *  ArrayName     -- name of histo array
                 Char_t * HistoType      -- histo type (TH1X, TH2X)
                 Char_t * HistoName      -- name
                 Char_t * HistoTitle     -- title
                 Int_t Xbin              -- bins in X
                 Double_t Xlow           -- lower edge X
                 Double_t Xup            -- upper edge X
                 Int_t Ybin              -- bins in Y
                 Double_t Ylow           -- lower edge Y
                 Double_t Yup            -- upper edge Y
                 Char_t * Condition      -- booking condition
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Books user-defined histograms.
 Keywords:

Bool_t BookHistogram(const Char_t* HistoType, const Char_t* HistoName, const Char_t* HistoTitle, const Char_t* Args, const Char_t* Condition)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::BookHistogram
 Purpose:        Define a histogram to be booked
 Arguments:      Char_t * HistoType      -- histo type (TH1X, TH2X)
                 Char_t * HistoName      -- name
                 Char_t * HistoTitle     -- title
                 Char_t * Args           -- arglist
                 Char_t * Condition      -- booking condition
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Books user-defined histograms.
 Keywords:

Bool_t BookHistogram(const Char_t* ArrayName, const Char_t* HistoType, const Char_t* HistoName, const Char_t* HistoTitle, const Char_t* Args, const Char_t* Condition)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::BookHistogram
 Purpose:        Define a histogram to be booked
 Arguments:      Char_t *  ArrayName     -- name of histo array
                 Char_t * HistoType      -- histo type (TH1X, TH2X)
                 Char_t * HistoName      -- name
                 Char_t * HistoTitle     -- title
                 Char_t * Args           -- arglist
                 Char_t * Condition      -- booking condition
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Books user-defined histograms.
 Keywords:

Bool_t BookRateHistogram(const Char_t* HistoName, const Char_t* HistoTitle, Int_t Scale, Int_t Range, Bool_t Loop = kFALSE, const Char_t* Condition = NULL)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::BookRateHistogram
 Purpose:        Define a rate histogram to be booked
 Arguments:      Char_t * HistoName      -- name
                 Char_t * HistoTitle     -- title
                 Int_t Scale             -- time scale in micros
                 Int_t Range             -- range
                 Bool_t Loop             -- restart at end of range if kTRUE
                 Char_t * Condition      -- booking condition
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Books rate histograms.
 Keywords:

Bool_t BookRateHistogram(const Char_t* ArrayName, const Char_t* HistoName, const Char_t* HistoTitle, Int_t Scale, Int_t Range, Bool_t Loop = kFALSE, const Char_t* Condition = NULL)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::BookRateHistogram
 Purpose:        Define a rate histogram to be booked
 Arguments:      Char_t *  ArrayName     -- name of histo array
                 Char_t * HistoName      -- name
                 Char_t * HistoTitle     -- title
                 Int_t Scale             -- time scale in micros
                 Int_t Range             -- range
                 Bool_t Loop             -- restart at end of range if kTRUE
                 Char_t * Condition      -- booking condition
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Books user-defined histograms.
 Keywords:

TMrbNamedX * AddHistoToArray(const Char_t* ArrayName, const Char_t* HistoName)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::AddHistoToArray
 Purpose:        Add a histogram to an array
 Arguments:      Char_t * ArrayName -- name of array
                 Char_t * HistoName -- name of histogram
 Results:        TMrbNamedX * Array -- array specs
 Exceptions:
 Description:    Adds a histogram to given array.
                 Creates array if not yet existing.
                 Returns array specs.
 Keywords:

TMrbNamedX * FindHistoArray(const Char_t* HistoName, TMrbNamedX* After = NULL) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::FindHistoArray
 Purpose:        Find the array a histogram belongs to
 Arguments:      Char_t * HistoName -- name of histogram
                 TMrbNamedX * After -- array to start with
 Results:        TMrbNamedX * Array -- array
 Exceptions:
 Description:    Checks if a histogram is assigned to an array.
                 Returns array specs.
 Keywords:

TMrbConfig * ReadFromFile(const Char_t* ConfigFile = "", Option_t* Options = "")
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::ReadFromFile
 Purpose:        Read config objects from root file
 Arguments:      Char_t * RootFile      -- name of root file
                 Option_t * Options       -- options
 Results:        TMrbConfig * NewConfig -- points to new config read from file
 Exceptions:     returns NULL after errors
 Description:    Restores config from root file.
 Keywords:

Bool_t WriteToFile(const Char_t* ConfigFile = "", Option_t* Options = "")
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::WriteToFile
 Purpose:        Write config objects to root file
 Arguments:      Char_t * ConfigFile    -- name of config file
                 Option_t * Options       -- options
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Saves any objects defined during the configuration pass.
 Keywords:

void SetGlobalAddress()
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::SetGlobalAddress
 Purpose:        Set global address gMrbConfig
 Arguments:
 Results:
 Exceptions:
 Description:    Sets global variable gMrbConfig to `this'.
                 May be used when reading a config from file.
 Keywords:

const Char_t * GetAuthor()
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetAuthor
 Purpose:        Get author's name from ldap database
 Arguments:
 Results:
 Exceptions:
 Description:    Reads the author's name via python-ldap.
 Keywords:

const Char_t * GetMailAddr()
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetMailAddr
 Purpose:        Get author's mail address from ldap database
 Arguments:
 Results:
 Exceptions:
 Description:    Reads the author's name via python-ldap.
 Keywords:

Bool_t NameNotLegal(const Char_t* ObjType, const Char_t* ObjName) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::NameNotLegal
 Purpose:        Check if name is legal within MARaBOU
 Arguments:      Char_t * ObjType     -- type of object to be checked
                 Char_t * ObjName     -- name to be checked
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Checks if name is pure ascii.
                 The only special char allowed is "_" (underscore)
 Keywords:

Bool_t CompileAnalyzeCode(Bool_t CleanFlag = kTRUE) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::CompileAnalyzeCode
 Purpose:        Compile code generated by MakeAnalyzeCode() method
 Arguments:      --
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Compiles analysis code
 Keywords:

Bool_t CompileReadoutCode(const Char_t* Host, Bool_t CleanFlag = kTRUE) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::CompileReadoutCode
 Purpose:        Compile code generated by MakeReadoutCode() method
 Arguments:      --
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Compiles readout code
 Keywords:

Bool_t UpdateMbsSetup()
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::UpdateMbsSetup
 Purpose:        Update .mbssetup data base
 Arguments:      --
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Updates some entries in .mbssetup
 Keywords:

void MakeGlobal(const Char_t* Name, Int_t IntVal, const Char_t* Comment = "")
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::MakeGlobal
 Purpose:        Define a global var (const)
 Arguments:      Char_t * Name     -- variable name
                 Int_t IntVal      -- value
 Results:        --
 Exceptions:
 Description:    Defines an integer const.
 Keywords:

void MakeGlobal(const Char_t* Name, Float_t FloatVal, const Char_t* Comment = "")
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::MakeGlobal
 Purpose:        Define a global var (const)
 Arguments:      Char_t * Name     -- variable name
                 Float_t FloatVal  -- value
 Results:        --
 Exceptions:
 Description:    Defines a float const.
 Keywords:

void MakeGlobal(const Char_t* Name, Double_t DblVal, const Char_t* Comment = "")
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::MakeGlobal
 Purpose:        Define a global var (const)
 Arguments:      Char_t * Name      -- variable name
                 Double_t DblVal    -- value
 Results:        --
 Exceptions:
 Description:    Defines a double const.
 Keywords:

void MakeGlobal(const Char_t* Name, Bool_t BoolVal, const Char_t* Comment = "")
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::MakeGlobal
 Purpose:        Define a global var (const)
 Arguments:      Char_t * Name      -- variable name
                 Bool_t BoolVal     -- value
 Results:        --
 Exceptions:
 Description:    Defines a boolean const.
 Keywords:

void MakeGlobal(const Char_t* Name, const Char_t* Str, const Char_t* Comment = "")
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::MakeGlobal
 Purpose:        Define a global var (const)
 Arguments:      Char_t * Name      -- variable name
                 Char_t * StrVal    -- value
 Results:        --
 Exceptions:
 Description:    Defines a string const.
 Keywords:

void PrintGlobals(const Char_t* File)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::PrintGlobals
 Purpose:        Print list of globals
 Arguments:      Char_t * File     -- file name
 Results:        --
 Exceptions:
 Description:    Writes a list of globals to file.
 Keywords:

void PrintGlobals(ostream& Out)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::PrintGlobals
 Purpose:        Print list of globals
 Arguments:      ostream & Out    -- output stream
 Results:        --
 Exceptions:
 Description:    Outputs a list of globals.
 Keywords:

Bool_t GetGlobal(const Char_t* Name, Int_t& IntVar) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetGlobal
 Purpose:        Get value of global var (Int_t)
 Arguments:      Char_t * Name     -- variable name
                 Int_t & IntVar    -- where to write int value
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Gets value of a global variable
 Keywords:

Int_t GetGlobI(const Char_t* Name) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetGlobI
 Purpose:        Get value of global var (Int_t)
 Arguments:      Char_t * Name   -- variable name
 Results:        Int_t IntVal    -- value
 Exceptions:
 Description:    Gets value of a global variable
 Keywords:

Bool_t GetGlobal(const Char_t* Name, Float_t& FloatVar) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetGlobal
 Purpose:        Get value of global var (Float_t)
 Arguments:      Char_t * Name       -- variable name
                 Float_t & FloatVar  -- where to write float value
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Gets value of a global variable
 Keywords:

Float_t GetGlobF(const Char_t* Name) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetGlobF
 Purpose:        Get value of global var (Float_t)
 Arguments:      Char_t * Name      -- variable name
 Results:        Float_t FloatVal   -- value
 Exceptions:
 Description:    Gets value of a global variable
 Keywords:

Bool_t GetGlobal(const Char_t* Name, Double_t& DblVar) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetGlobal
 Purpose:        Get value of global var (Double_t)
 Arguments:      Char_t * Name        -- variable name
                 Double_t & DblVar    -- where to write double value
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Gets value of a global variable
 Keywords:

Double_t GetGlobD(const Char_t* Name) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetGlobD
 Purpose:        Get value of global var (Double_t)
 Arguments:      Char_t * Name    -- variable name
 Results:        Double_t DblVal  -- value
 Exceptions:
 Description:    Gets value of a global variable
 Keywords:

Bool_t GetGlobal(const Char_t* Name, Bool_t& BoolVar) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetGlobal
 Purpose:        Get value of global var (Bool_t)
 Arguments:      Char_t * Name      -- variable name
                 Bool_t & BoolVar   -- where to write boolean value
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Gets value of a global variable
 Keywords:

Bool_t GetGlobB(const Char_t* Name) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetGlobB
 Purpose:        Get value of global var (Bool_t)
 Arguments:      Char_t * Name      -- variable name
 Results:        Bool_t BoolVal     -- value
 Exceptions:
 Description:    Gets value of a global variable
 Keywords:

Bool_t GetGlobal(const Char_t* Name, TString& Str) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetGlobal
 Purpose:        Get value of global var (Char_t *)
 Arguments:      Char_t * Name     -- variable name
                 TString & Str     -- where to write string
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Gets value of a global variable
 Keywords:

const Char_t * GetGlobStr(const Char_t* Name) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetGlobStr
 Purpose:        Get value of global var (Char_t *)
 Arguments:      Char_t * Name     -- variable name
 Results:        Char_t * Value    -- value
 Exceptions:
 Description:    Gets value of a global variable
 Keywords:

void MakeDefined(const Char_t* Name, Int_t Value, const Char_t* Comment = "")
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::MakeDefined
 Purpose:        Provide a #define
 Arguments:      Char_t * Name     -- variable name
                 Int_t Value       -- value
                 Char_t * Comment  -- comment
 Results:        --
 Exceptions:
 Description:    Issues a #define statement.
 Keywords:

void MakeDefined(const Char_t* Name, Bool_t Defined = kTRUE, const Char_t* Comment = "")
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::MakeDefined
 Purpose:        Provide a #define
 Arguments:      Char_t * Name     -- variable name
                 Bool_t Defined    -- kTRUE/kFALSE
                 Char_t * Comment  -- comment
 Results:        --
 Exceptions:
 Description:    Issues a #define statement.
 Keywords:

Bool_t IsDefined(const Char_t* Name) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::IsDefined
 Purpose:        Check if #defined
 Arguments:      Char_t * Name   -- name
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Checks if there is a #define.
 Keywords:

Bool_t IsDefined(const Char_t* Name, Int_t& Value) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::IsDefined
 Purpose:        Check if #defined
 Arguments:      Char_t * Name   -- name
                 Int_t & Value   -- return value
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Checks if there is a #define. Returns value if any.
 Keywords:

Int_t GetNofModules(const Char_t* Pattern) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetNofModules
 Purpose:        Get number of modules within given pattern
 Arguments:      Char_t * Pattern   -- wild card pattern
 Results:        Int NofModules     -- number of modules found
 Exceptions:
 Description:    Returns number of modules within given wild card
 Keywords:

Bool_t CheckConfig()
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::CheckConfig
 Purpose:        Check if config consistent
 Arguments:      --
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Checks if config defs are consistent.
                 Protected method called automatically.
 Keywords:

Bool_t SetMbsBranch(TMrbNamedX& MbsBranch, Int_t MbsBranchNo, const Char_t* MbsBranchName = NULL)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::SetMbsBranch
 Purpose:        Assign mbs branch to events, subevents, and modules
 Arguments:      TMrbNamedX & MbsBranch       -- mbs branch to be set
                 Int_t MbsBranchNo            -- corresponding branch number
                 Char_t * MbsBranchName       -- branch name to be used
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Sets branch data
 Keywords:

Int_t CheckMbsBranchSettings()
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::CheckMbsBranchSettings
 Purpose:        Check if branch settings are consistent
 Arguments:      --
 Results:        Int_t NofErrors       -- number of errors encountered
 Exceptions:
 Description:    Checks mbs branch settings:
                 if all modules belonging to a subevent have same branch
                 if all subevents of an event have same branch
 Keywords:

Bool_t CreateHistoArrays()
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::CreateHistoArrays
 Purpose:        Create histogram arrays if needed
 Arguments:      --
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Creates histo arrays as well .histlist files
                 for modules, subevents, and events.
 Keywords:

Bool_t WriteMuxConfig(const Char_t* CfgFile)
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::WriteMuxConfig
 Purpose:        Write multiplexer configuration to file
 Arguments:      Char_t * CfgFile   -- filename
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Writes mux config data using TEnv.
 Keywords:

const Char_t * GetLofEventsAsString(TString& LofEvents) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetLofEventsAsString
 Purpose:        Return a colon-separated string with event names
 Arguments:      TString & LofEvents    -- where to store event names
 Results:        Char_t * LofEvents     -- string containing event names
 Exceptions:
 Description:    Returns a colon-separated string with event names.
 Keywords:

const Char_t * GetLofSubeventsAsString(TString& LofSubevents) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetLofSubeventsAsString
 Purpose:        Return a colon-separated string with subevent names
 Arguments:      TString & LofSubevents    -- where to store subevent names
 Results:        Char_t * LofSubevents     -- string containing subevent names
 Exceptions:
 Description:    Returns a colon-separated string with subevent names.
 Keywords:

const Char_t * GetLofModulesAsString(TString& LofModules) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbConfig::GetLofModulesAsString
 Purpose:        Return a colon-separated string with module names
 Arguments:      TString & LofModules      -- where to store module names
 Results:        Char_t * LofModules       -- string containing module names
 Exceptions:
 Description:    Returns a colon-separated string with module names.
 Keywords:

TMrbConfig()
{}
TMrbConfig(const Char_t* CfgName, const Char_t* CfgTitle = "")
~TMrbConfig()
void SetSevtSize(Int_t Size, Int_t PipeSegLength = kMbsPipeSegLength)
{ fSevtSize = Size; fPipeSegLength = PipeSegLength; }
Int_t GetSevtSize()
{ return(fSevtSize); }
void Print(Option_t* Option) const
{ TNamed::Print(Option); }
void Print(ostream& OutStrm, const Char_t* Prefix = "") const
TMrbEvent * FindEvent(const Char_t* EvtName) const
Int_t GetNofEvents()
{ return(fNofEvents); }
TMrbSubevent * NextSubevent(TMrbSubevent* After = NULL) const
TMrbSubevent * FindSubevent(const Char_t* SevtName) const
Int_t AssignSevtSerial() const
{ return(fNofSubevents + 1); }
void AddModule(TMrbModule* Module)
TMrbModule * NextModule(TMrbModule* After = NULL) const
TMrbModule * FindModule(const Char_t* ModuleName) const
Int_t AssignModuleSerial() const
{ return(fNofModules + 1); }
Bool_t HasCamacModules() const
{ return(FindModuleByType(TMrbConfig::kModuleCamac) != NULL); }
Bool_t HasVMEModules() const
{ return(FindModuleByType(TMrbConfig::kModuleVME) != NULL); }
TMrbModule * FindScaler(const Char_t* ScalerName) const
UInt_t GetReadoutOptions() const
{ return(fReadoutOptions); }
UInt_t GetAnalyzeOptions() const
{ return(fAnalyzeOptions); }
UInt_t GetConfigOptions() const
{ return(fConfigOptions); }
UInt_t GetRcFileOptions() const
{ return(fRcFileOptions); }
Bool_t IsVerbose() const
{ return(fVerboseMode); }
Bool_t LongParamNamesToBeUsed() const
{ return(fLongParamNames); }
void UseLongParamNames(Bool_t Flag = kTRUE)
{ fLongParamNames = Flag; }
void WriteTimeStamp()
{ fWriteTimeStamp = kTRUE; }
Bool_t TimeStampToBeWritten() const
{ return(fWriteTimeStamp); }
Bool_t DeadTimeToBeWritten() const
{ return(fDeadTimeInterval > 0); }
Int_t GetDeadTimeInterval() const
{ return(fDeadTimeInterval); }
TMrbScaler * GetDeadTimeScaler() const
{ return(fDeadTimeScaler); }
Bool_t IncludeUserCode(const Char_t* IclPath, const Char_t* UserFile, Bool_t AutoGenFlag = kFALSE)
 include user-specific code
Bool_t UserCodeToBeIncluded() const
{ return(fLofUserIncludes.Last() >= 0); }
Bool_t IncludeUserLib(const Char_t* IclPath, const Char_t* UserLib, Bool_t MakeIt = kFALSE)
Bool_t UserLibsToBeIncluded() const
{ return(fLofUserLibs.Last() >= 0); }
Bool_t IncludeUserClass(const Char_t* IclPath, const Char_t* UserClass, Bool_t UserDefinedEvent = kFALSE)
Bool_t UserClassesToBeIncluded() const
{ return(fLofUserClasses.Last() >= 0); }
void AddUserClass(TMrbConfig::EMrbIncludeOptions Opt, const Char_t* Name, const Char_t* Path = NULL)
void AddUserClass(const Char_t* Name)
{ this->AddUserClass((EMrbIncludeOptions) 0, Name); }
TMrbLogger * GetMessageLogger() const
{ return(fMessageLogger); }
void UseMapFile(Bool_t MapFlag = kTRUE)
{ fUseMapFile = MapFlag; }
void SetMultiBorC(TMrbCNAF::EMrbCNAF MultiBorC)
void SetCrateType(Int_t Crate, TMrbConfig::EMrbCrateType CrateType)
{ fCrateTable[Crate] = CrateType; }
EMrbCrateType GetCrateType(Int_t Crate) const
{ return((EMrbCrateType) fCrateTable[Crate]); }
Bool_t SetControllerType(Int_t Crate, const Char_t* Type)
EMrbControllerType GetControllerType(Int_t Crate) const
 handle trigger patterns
{ return((EMrbControllerType) fControllerTable[Crate]); }
TMrbConfig::EMrbTriggerStatus GetTriggerStatus(Int_t Trigger) const
Int_t GetNofModules() const
{ return(fNofModules); }
TObjArray * GetLofEvents()
{ return(&fLofEvents); }
TObjArray * GetLofSubevents()
{ return(&fLofSubevents); }
TObjArray * GetLofModules()
{ return(&fLofModules); }
TObjArray * GetLofScalers()
{ return(&fLofScalers); }
TObjArray * GetLofMuxs()
{ return(&fLofMuxs); }
TObjArray * GetLofUserHistograms()
{ return(&fLofUserHistograms); }
TObjArray * GetLofXhits()
{ return(&fLofXhits); }
TObjArray * GetLofRdoIncludes()
{ return(&fLofRdoIncludes); }
TObjArray * GetLofRdoLibs()
{ return(&fLofRdoLibs); }
TMrbLofNamedX * GetLofModuleIDs()
{ return(&fLofModuleIDs); }
TMrbLofNamedX * GetLofModuleTypes()
{ return(&fLofModuleTypes); }
TMrbLofNamedX * GetLofDataTypes()
{ return(&fLofDataTypes); }
TMrbLofNamedX * GetLofHistoTypes()
{ return(&fLofHistoTypes); }
TMrbLofNamedX * GetLofGlobals()
{ return(&fLofGlobals); }
TMrbLofNamedX * GetLofUserIncludes()
{ return(&fLofUserIncludes); }
TMrbLofNamedX * GetLofUserClasses()
{ return(&fLofUserClasses); }
TMrbLofNamedX * GetLofUserLibs()
{ return(&fLofUserLibs); }
void MakeGlobal(const Char_t* Name, Int_t* IntVar, const Char_t* Comment = "")
{ fLofGlobals.AddNamedX(new TMrbNamedX(kGlobInt, Name, Comment, (TObject *) IntVar)); }
void MakeGlobal(const Char_t* Name, Float_t* FloatVar, const Char_t* Comment = "")
{ fLofGlobals.AddNamedX(new TMrbNamedX(kGlobFloat, Name, Comment, (TObject *) FloatVar)); }
void MakeGlobal(const Char_t* Name, Double_t* DblVar, const Char_t* Comment = "")
{ fLofGlobals.AddNamedX(new TMrbNamedX(kGlobDouble, Name, Comment, (TObject *) DblVar)); }
void MakeGlobal(const Char_t* Name, Bool_t* BoolVar, const Char_t* Comment = "")
{ fLofGlobals.AddNamedX(new TMrbNamedX(kGlobBool, Name, Comment, (TObject *) BoolVar)); }
void MakeGlobal(const Char_t* Name, TString& Str, const Char_t* Comment = "")
{ fLofGlobals.AddNamedX(new TMrbNamedX(kGlobString, Name, Comment, (TObject *) &Str)); }
void PrintGlobals(const Char_t* File)
void Help()
{ gSystem->Exec(Form("mrbHelp %s", this->ClassName())); }



Revision: $Id: TMrbConfig.h,v 1.100 2011/05/18 11:04:49 Marabou Exp $

ROOT page - Home page - Class index - Top of the page

This page has been automatically generated by use of ROOT's THtml class. If you have any comments or suggestions about the page layout send a mail to Marabou Support.