__________________________________________________[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:
| TMrbConfig() | |
| TMrbConfig(const TMrbConfig&) | |
| TMrbConfig(const Char_t* CfgName, const Char_t* CfgTitle = "") | |
| virtual | ~TMrbConfig() |
| void | TObject::AbstractMethod(const char* method) const |
| void | AddEvent(TMrbEvent* Evt) |
| TMrbNamedX* | AddHistoToArray(const Char_t* ArrayName, const Char_t* HistoName) |
| void | AddModule(TMrbModule* Module) |
| void | AddMux(TMrbModule* Multiplexer) |
| void | AddScaler(TMrbModule* Scaler) |
| void | AddSubevent(TMrbSubevent* Sevt) |
| void | AddToTagList(const Char_t* CodeFile, Int_t TagIndex) |
| void | AddUserClass(const Char_t* Name) |
| void | AddUserClass(TMrbConfig::EMrbIncludeOptions Opt, const Char_t* Name, const Char_t* Path = NULL) |
| virtual void | TObject::AppendPad(Option_t* option = "") |
| Int_t | AssignModuleSerial() const |
| Int_t | AssignSevtSerial() const |
| Bool_t | BookHistogram(const Char_t* HistoType, const Char_t* HistoName, const Char_t* HistoTitle, const Char_t* Args, const Char_t* Condition) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| 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) |
| virtual void | TObject::Browse(TBrowser* b) |
| Bool_t | CallUserMacro(const Char_t* MacroName = "", Bool_t AclicFlag = kTRUE) |
| Int_t | CheckMbsBranchSettings() |
| Bool_t | CheckModuleAddress(TMrbModule* Module, Bool_t WrnOnly = kTRUE) const |
| static TClass* | Class() |
| virtual const char* | TObject::ClassName() const |
| virtual void | TNamed::Clear(Option_t* option = "") |
| virtual TObject* | TNamed::Clone(const char* newname = "") const |
| virtual Int_t | TNamed::Compare(const TObject* obj) const |
| Bool_t | CompileAnalyzeCode(Bool_t CleanFlag = kTRUE) const |
| Bool_t | CompileReadoutCode(const Char_t* Host, Bool_t CleanFlag = kTRUE) const |
| virtual void | TNamed::Copy(TObject& named) const |
| Bool_t | CreateUserEvent(ofstream& OutStrm, const Char_t* UserEvent, Bool_t CreateProto, Bool_t SystemPart) |
| Bool_t | CreateUserMacro() |
| Bool_t | CreateXhit(TMrbNamedX* Xhit) |
| Bool_t | DeadTimeToBeWritten() const |
| Bool_t | DefineFunctions(const Char_t* FctType, const Char_t* FctDefs) |
| Bool_t | DefineVariables(const Char_t* VarType, const Char_t* VarDefs) |
| Bool_t | DefineVariables(const Char_t* VarType, Int_t Value, const Char_t* VarDefs) |
| Bool_t | DefineVariables(const Char_t* VarType, Double_t Value, const Char_t* VarDefs) |
| Bool_t | DefineVariables(const Char_t* VarType, const Char_t* Value, const Char_t* VarDefs) |
| Bool_t | DefineWindows(const Char_t* WdwType, const Char_t* WdwDefs) |
| Bool_t | DefineWindows(const Char_t* WdwType, Int_t Xlower, Int_t Xupper, const Char_t* WdwDefs) |
| Bool_t | DefineWindows(const Char_t* WdwType, Double_t Xlower, Double_t Xupper, const Char_t* WdwDefs) |
| Bool_t | DefineWindows(const Char_t* WdwType, Int_t Npoints, Double_t* X, Double_t* Y, const Char_t* WdwDefs) |
| virtual void | TObject::Delete(Option_t* option = "")MENU |
| virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
| virtual void | TObject::Draw(Option_t* option = "") |
| virtual void | TObject::DrawClass() constMENU |
| virtual TObject* | TObject::DrawClone(Option_t* option = "") constMENU |
| virtual void | TObject::Dump() constMENU |
| virtual void | TObject::Error(const char* method, const char* msgfmt) const |
| Bool_t | ExecRootMacro(const Char_t* Macro) |
| Bool_t | ExecUserMacro(ofstream* Strm, TObject* CfgObject, const Char_t* TagWord) const |
| virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
| virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
| virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
| virtual void | TObject::Fatal(const char* method, const char* msgfmt) const |
| virtual void | TNamed::FillBuffer(char*& buffer) |
| Int_t | FindCrate(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_t | GetAnalyzeOptions() const |
| const Char_t* | GetAuthor() |
| UInt_t | GetConfigOptions() const |
| TMrbConfig::EMrbControllerType | GetControllerType(Int_t Crate) const |
| UInt_t | GetCratePattern(TMrbConfig::EMrbCrateType CrateType = kCrateAny) const |
| TMrbConfig::EMrbCrateType | GetCrateType(Int_t Crate) const |
| Int_t | GetDeadTimeInterval() const |
| TMrbScaler* | GetDeadTimeScaler() const |
| virtual Option_t* | TObject::GetDrawOption() const |
| static Long_t | TObject::GetDtorOnly() |
| Bool_t | GetGlobal(const Char_t* Name, Int_t& IntVar) const |
| Bool_t | GetGlobal(const Char_t* Name, Float_t& FloatVar) const |
| Bool_t | GetGlobal(const Char_t* Name, Double_t& DblVar) const |
| Bool_t | GetGlobal(const Char_t* Name, Bool_t& BoolVar) const |
| Bool_t | GetGlobal(const Char_t* Name, TString& Str) const |
| Bool_t | GetGlobB(const Char_t* Name) const |
| Double_t | GetGlobD(const Char_t* Name) const |
| Float_t | GetGlobF(const Char_t* Name) const |
| Int_t | GetGlobI(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_t | GetNofCrates(TMrbConfig::EMrbCrateType CrateType = kCrateAny) const |
| Int_t | GetNofErrors() const |
| Int_t | GetNofEvents() |
| Int_t | GetNofModules() const |
| Int_t | GetNofModules(const Char_t* Pattern) const |
| virtual char* | TObject::GetObjectInfo(Int_t px, Int_t py) const |
| static Bool_t | TObject::GetObjectStat() |
| virtual Option_t* | TObject::GetOption() const |
| const Char_t* | GetProcType(Bool_t Verbose = kFALSE) |
| UInt_t | GetRcFileOptions() const |
| UInt_t | GetReadoutOptions() const |
| Int_t | GetSevtSize() |
| virtual const char* | TNamed::GetTitle() const |
| TMrbConfig::EMrbTriggerStatus | GetTriggerStatus(Int_t Trigger) const |
| virtual UInt_t | TObject::GetUniqueID() const |
| Bool_t | HandleMultipleTriggers(Int_t T1 = 0, Int_t T2 = 0, Int_t T3 = 0, Int_t T4 = 0, Int_t T5 = 0) |
| virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
| Bool_t | HasCamacModules() const |
| virtual ULong_t | TNamed::Hash() const |
| Bool_t | HasVMEModules() const |
| void | Help() |
| Bool_t | HistogramExists(const Char_t* HistoName) const |
| Bool_t | IncludeUserClass(const Char_t* UserClass, Bool_t UserDefinedEvent = kFALSE) |
| Bool_t | IncludeUserClass(const Char_t* IclPath, const Char_t* UserClass, Bool_t UserDefinedEvent = kFALSE) |
| Bool_t | IncludeUserCode(const Char_t* UserFile, Bool_t AutoGenFlag = kFALSE) |
| Bool_t | IncludeUserCode(const Char_t* IclPath, const Char_t* UserFile, Bool_t AutoGenFlag = kFALSE) |
| Bool_t | IncludeUserLib(const Char_t* UserLib, Bool_t MakeIt = kFALSE) |
| Bool_t | IncludeUserLib(const Char_t* IclPath, const Char_t* UserLib, Bool_t MakeIt = kFALSE) |
| virtual void | TObject::Info(const char* method, const char* msgfmt) const |
| virtual Bool_t | TObject::InheritsFrom(const char* classname) const |
| virtual Bool_t | TObject::InheritsFrom(const TClass* cl) const |
| virtual void | TObject::Inspect() constMENU |
| void | TObject::InvertBit(UInt_t f) |
| virtual TClass* | IsA() const |
| Bool_t | IsDefined(const Char_t* Name) const |
| Bool_t | IsDefined(const Char_t* Name, Int_t& Value) const |
| virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
| virtual Bool_t | TObject::IsFolder() const |
| Bool_t | TObject::IsOnHeap() const |
| virtual Bool_t | TNamed::IsSortable() const |
| Bool_t | IsVerbose() const |
| Bool_t | TObject::IsZombie() const |
| Bool_t | LongParamNamesToBeUsed() const |
| virtual void | TNamed::ls(Option_t* option = "") const |
| Bool_t | MakeAnalyzeCode(const Char_t* CodeFile = "", Option_t* Options = "Subevents:byName:Histograms") |
| Bool_t | MakeAnalyzeCode(ofstream& AnaStrm, TMrbConfig::EMrbAnalyzeTag TagIndex, UInt_t VarType, TMrbTemplate& Template, const Char_t* Prefix = NULL) |
| Bool_t | MakeAnalyzeCode(ofstream& AnaStrm, const Char_t* ClassName, const Char_t* CodeFile, TMrbConfig::EMrbAnalyzeTag TagIndex, const Char_t* Extension) |
| Bool_t | MakeConfigCode(const Char_t* CodeFile = "", Option_t* Options = "") |
| void | MakeDefined(const Char_t* Name, Int_t Value, const Char_t* Comment = "") |
| void | MakeDefined(const Char_t* Name, Bool_t Defined = kTRUE, const Char_t* Comment = "") |
| void | MakeGlobal(const Char_t* Name, Int_t* IntVar, const Char_t* Comment = "") |
| void | MakeGlobal(const Char_t* Name, Float_t* FloatVar, const Char_t* Comment = "") |
| void | MakeGlobal(const Char_t* Name, Double_t* DblVar, const Char_t* Comment = "") |
| void | MakeGlobal(const Char_t* Name, Bool_t* BoolVar, const Char_t* Comment = "") |
| void | MakeGlobal(const Char_t* Name, TString& Str, const Char_t* Comment = "") |
| void | MakeGlobal(const Char_t* Name, Int_t IntVal, const Char_t* Comment = "") |
| void | MakeGlobal(const Char_t* Name, Float_t FloatVal, const Char_t* Comment = "") |
| void | MakeGlobal(const Char_t* Name, Double_t DblVal, const Char_t* Comment = "") |
| void | MakeGlobal(const Char_t* Name, Bool_t BoolVal, const Char_t* Comment = "") |
| void | MakeGlobal(const Char_t* Name, const Char_t* Str, const Char_t* Comment = "") |
| Bool_t | MakeRcFile(const Char_t* CodeFile = "", const Char_t* ResourceName = "", Option_t* Options = "byName") |
| Bool_t | MakeReadoutCode(const Char_t* CodeFile = "", Option_t* Options = "") |
| void | TObject::MayNotUse(const char* method) const |
| Bool_t | NameNotLegal(const Char_t* ObjType, const Char_t* ObjName) const |
| TMrbModule* | NextModule(TMrbModule* After = NULL) const |
| TMrbSubevent* | NextSubevent(TMrbSubevent* After = NULL) const |
| virtual Bool_t | TObject::Notify() |
| void | TObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const |
| static void | TObject::operator delete(void* ptr) |
| static void | TObject::operator delete(void* ptr, void* vp) |
| static void | TObject::operator delete[](void* ptr) |
| static void | TObject::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 void | TObject::Paint(Option_t* option = "") |
| virtual void | TObject::Pop() |
| virtual void | Print() const |
| virtual void | Print(Option_t* Option) const |
| void | Print(ostream& OutStrm, const Char_t* Prefix = "") const |
| Int_t | PrintErrors(Bool_t ErrorsOnly = kFALSE) const |
| void | PrintGlobals() |
| void | PrintGlobals(const Char_t* File) |
| void | PrintGlobals(ostream& Out) |
| void | PrintToFile(Char_t* File) const |
| virtual Int_t | TObject::Read(const char* name) |
| TMrbConfig* | ReadFromFile(const Char_t* ConfigFile = "", Option_t* Options = "") |
| virtual void | TObject::RecursiveRemove(TObject* obj) |
| void | TObject::ResetBit(UInt_t f) |
| virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU |
| virtual void | TObject::SavePrimitive(ostream& out, Option_t* option = "") |
| void | TObject::SetBit(UInt_t f) |
| void | TObject::SetBit(UInt_t f, Bool_t set) |
| Bool_t | SetControllerType(Int_t Crate, const Char_t* Type) |
| Bool_t | SetControllerType(const Char_t* Crate, const Char_t* Type) |
| void | SetControllerType(Int_t Crate, TMrbConfig::EMrbControllerType Type) |
| void | SetCrateType(Int_t Crate, TMrbConfig::EMrbCrateType CrateType) |
| virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
| static void | TObject::SetDtorOnly(void* obj) |
| void | SetGlobalAddress() |
| Bool_t | SetMbsBranch(TMrbNamedX& MbsBranch, Int_t MbsBranchNo, const Char_t* MbsBranchName = NULL) |
| void | SetMultiBorC(TMrbCNAF::EMrbCNAF MultiBorC) |
| virtual void | TNamed::SetName(const char* name)MENU |
| virtual void | TNamed::SetNameTitle(const char* name, const char* title) |
| static void | TObject::SetObjectStat(Bool_t stat) |
| void | SetSevtSize(Int_t Size, Int_t PipeSegLength = kMbsPipeSegLength) |
| virtual void | TNamed::SetTitle(const char* title = "")MENU |
| virtual void | TObject::SetUniqueID(UInt_t uid) |
| virtual void | ShowMembers(TMemberInspector& insp) |
| virtual Int_t | TNamed::Sizeof() const |
| virtual void | Streamer(TBuffer& b) |
| void | StreamerNVirtual(TBuffer& b) |
| virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
| Bool_t | TagToBeProcessed(const Char_t* CodeFile, Int_t TagIndex) const |
| Bool_t | TObject::TestBit(UInt_t f) const |
| Int_t | TObject::TestBits(UInt_t f) const |
| Bool_t | TimeStampToBeWritten() const |
| Bool_t | UpdateMbsSetup() |
| void | UpdateTriggerTable(Int_t Trigger = 0) |
| virtual void | TObject::UseCurrentStyle() |
| void | UseLongParamNames(Bool_t Flag = kTRUE) |
| void | UseMapFile(Bool_t MapFlag = kTRUE) |
| Bool_t | UserClassesToBeIncluded() const |
| Bool_t | UserCodeToBeIncluded() const |
| Bool_t | UserLibsToBeIncluded() const |
| void | Version() const |
| virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
| virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) |
| virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const |
| Bool_t | WriteDeadTime(const Char_t* Scaler, Int_t Interval = 1000) |
| Bool_t | WriteMuxConfig(const Char_t* CfgFile) |
| void | WriteTimeStamp() |
| Bool_t | WriteToFile(const Char_t* ConfigFile = "", Option_t* Options = "") |
| Bool_t | CheckConfig() |
| Bool_t | CreateHistoArrays() |
| Bool_t | DefineVarOrWdw(TMrbNamedX* VarType, TObject* VarProto, const Char_t* VarDefs) |
| virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
| void | TObject::MakeZombie() |
| Bool_t | WriteUtilityProtos() |
| 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 | ||
| }; |
| TMrbLofNamedX | fCNAFNames | ! ... cnaf key words |
| TMrbLofNamedX | fLofAnalyzeTags | ! ... analyze tags |
| TMrbLofNamedX | fLofConfigTags | ! ... config tags |
| TMrbLofNamedX | fLofControllerTypes | ! ... camac controllers |
| TMrbLofNamedX | fLofCrateTypes | ! ... crate types |
| TMrbLofNamedX | fLofDataTypes | ! ... data types |
| TMrbLofNamedX | fLofDefines | ! list of #define statements |
| TMrbLofNamedX | fLofGlobals | ! list of global vars |
| TMrbLofNamedX | fLofHistoTypes | ! ... histogram types |
| TMrbLofNamedX | fLofMbsBranches | ! list of mbs branches |
| TMrbLofNamedX | fLofModuleIDs | ! ... camac modules available |
| TMrbLofNamedX | fLofModuleTags | ! ... camac tags |
| TMrbLofNamedX | fLofModuleTypes | ! ... module types |
| TMrbLofNamedX | fLofRcFileTags | ! ... rc file tags |
| TMrbLofNamedX | fLofReadoutTags | ! ... readout tags |
| TMrbLofNamedX | fLofUserEventTags | ! ... user event tags |
| TMrbLofNamedX | fLofUserMacroTags | ! ... user macro tags |
| TMrbLofNamedX | fLofXhitTags | ! ... special hit tags |
| UInt_t | fAnalyzeOptions | ... in MakeAnalyzeCode() |
| TString | fAuthor | ... |
| Bool_t | fConfigChecked | kTRUE if consistency check done |
| Bool_t | fConfigOk | kTRUE config consistent |
| UInt_t | fConfigOptions | ... in MakeConfigCode() |
| TArrayI | fControllerTable | controller table (camac only) |
| TArrayI | fCrateTable | crate table (camac and VME) |
| TString | fCreationDate | creation date & time |
| Int_t | fDeadTimeInterval | number of events a new dead time event will be created |
| TMrbScaler* | fDeadTimeScaler | dead-time scaler |
| TObjArray | fLofEvents | |
| TObjArray | fLofHistoArrays | list of histogram arrays |
| TObjArray | fLofHistoConditions | list of histogram booking conds |
| TObjArray | fLofModules | |
| TObjArray | fLofMuxs | |
| TObjArray | fLofOnceOnlyTags | list of tags already processed |
| TObjArray | fLofRdoIncludes | list of inlude paths for MBS |
| TObjArray | fLofRdoLibs | list of special libraries for MBS |
| TObjArray | fLofScalers | |
| TObjArray | fLofSubevents | |
| TMrbLofNamedX | fLofUserClasses | list of classes added by user |
| TObjArray | fLofUserHistograms | list of user-defined histograms |
| TMrbLofNamedX | fLofUserIncludes | list of user-specific files to be included |
| TMrbLofNamedX | fLofUserLibs | list of user-specific libraries to be included |
| TObjArray | fLofXhits | list of special hit objects |
| Bool_t | fLongParamNames | use long param names: i.e. <subevent><param> |
| TString | fLynxVersion | lynxOs version, format N.M |
| TString | fMailAddr | user's mail address |
| TString | fMbsVVersion | ... format vNN |
| TString | fMbsVersion | MBS version, format N.M |
| TMrbLogger* | fMessageLogger | ! addr of message logger |
| UInt_t | fMultiBorC | multi branch? multi crate? |
| TString | TNamed::fName | object identifier |
| Int_t | fNofEvents | list of events |
| Int_t | fNofModules | list of modules |
| Int_t | fNofMuxs | list of multiplexers |
| Int_t | fNofScalers | list of scalers |
| Int_t | fNofSubevents | list of subevents |
| Int_t | fPipeSegLength | length of subevent pipe |
| TString | fProcType | processor type: PPC, RIO2, or RIO3 |
| UInt_t | fRcFileOptions | ... in MakeRcFile() |
| UInt_t | fReadoutOptions | options used in MakeReadoutCode() |
| Int_t | fSevtSize | subevent size to be used in .mbssetup |
| Bool_t | fSingleBitTriggersOnly | triggers 1,2,4, or 8 only |
| TString | TNamed::fTitle | object title |
| UInt_t | fTriggerMask | trigger bits defined so far |
| TArrayI | fTriggersToBeHandled | trigger patterns to be handled |
| Bool_t | fUseMapFile | kTRUE if TMap should be used |
| TString | fUser | user name |
| TString | fUserMacro | macro name |
| TString | fUserMacroCmd | ... command |
| Bool_t | fUserMacroToBeCalled | call user macro |
| Bool_t | fVerboseMode | verbose flag |
| Bool_t | fWriteTimeStamp | kTRUE if user wants a time stamp to be added to each event |

__________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[C++ METHOD] Name: TMrbConfig::WriteUtilityProtos Purpose: Write header file for utilities Arguments: -- Results: kTRUE/kFALSE Exceptions: Description: Creates file UtilityProtos.h Keywords:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[C++ METHOD] Name: TMrbConfig::Version Purpose: Output version Arguments: -- Results: Exceptions: Description: Welcome to TMrbConfig. Keywords:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[C++ METHOD] Name: TMrbConfig::CompileAnalyzeCode Purpose: Compile code generated by MakeAnalyzeCode() method Arguments: -- Results: kTRUE/kFALSE Exceptions: Description: Compiles analysis code Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbConfig::CompileReadoutCode Purpose: Compile code generated by MakeReadoutCode() method Arguments: -- Results: kTRUE/kFALSE Exceptions: Description: Compiles readout code Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbConfig::UpdateMbsSetup Purpose: Update .mbssetup data base Arguments: -- Results: kTRUE/kFALSE Exceptions: Description: Updates some entries in .mbssetup Keywords:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[C++ METHOD] Name: TMrbConfig::PrintGlobals Purpose: Print list of globals Arguments: ostream & Out -- output stream Results: -- Exceptions: Description: Outputs a list of globals. Keywords:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
________________________________________________________________[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:
{ fSevtSize = Size; fPipeSegLength = PipeSegLength; }include user-specific code
{ fCrateTable[Crate] = CrateType; }handle trigger patterns
{ return((EMrbControllerType) fControllerTable[Crate]); }{ fLofGlobals.AddNamedX(new TMrbNamedX(kGlobInt, Name, Comment, (TObject *) IntVar)); }{ fLofGlobals.AddNamedX(new TMrbNamedX(kGlobFloat, Name, Comment, (TObject *) FloatVar)); }{ fLofGlobals.AddNamedX(new TMrbNamedX(kGlobDouble, Name, Comment, (TObject *) DblVar)); }{ fLofGlobals.AddNamedX(new TMrbNamedX(kGlobBool, Name, Comment, (TObject *) BoolVar)); }{ fLofGlobals.AddNamedX(new TMrbNamedX(kGlobString, Name, Comment, (TObject *) &Str)); }