ROOT logo
(UNKNOWN PRODUCT) » INCLUDE » TMrbMesytec_Madc32

class TMrbMesytec_Madc32: public TMrbVMEModule

_________________________________________________[C++ CLASS DEFINITION FILE]

 Name:           expconf/inc/TMrbMesytec_Madc32.h
 Purpose:        Define experimental configuration for MARaBOU
 Class:          TMrbMesytec_Madc32        -- VME adc
 Description:    Class definitions to implement a configuration front-end for MARaBOU
 Author:         R. Lutter
 Revision:       $Id: TMrbMesytec_Madc32.h,v 1.17 2012-01-18 11:11:32 Marabou Exp $
 Date:
 Keywords:

Function Members (Methods)

public:
TMrbMesytec_Madc32()
TMrbMesytec_Madc32(const Char_t* ModuleName, UInt_t BaseAddr)
virtual~TMrbMesytec_Madc32()
voidTObject::AbstractMethod(const char* method) const
Bool_tTMrbModule::AllocateHistograms(Bool_t Flag = kTRUE)
virtual voidTObject::AppendPad(Option_t* option = "")
Bool_tBlockXferEnabled()
virtual voidTObject::Browse(TBrowser* b)
Bool_tCbltEnabled()
Bool_tTMrbModule::CheckID(TMrbConfig::EMrbModuleID ModuleID) const
Bool_tTMrbModule::CheckIfPatternIsContiguous() const
virtual Bool_tTMrbModule::CheckProcType()
virtual Bool_tCheckSubeventType(TMrbSubevent* Subevent) 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_tTMrbModule::ConvertToInt() const
virtual voidTNamed::Copy(TObject& named) const
voidTMrbModule::CreateHistoArray(const Char_t* ArrayName = 0)
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
voidEnableCBLT(UInt_t Signature, Bool_t FirstInChain = kFALSE, Bool_t LastInChain = kFALSE)
voidEnableMCST(UInt_t Signature, Bool_t FirstInChain = kFALSE, Bool_t LastInChain = kFALSE)
virtual voidTObject::Error(const char* method, const char* msgfmt) const
voidTMrbModule::ExcludeFromReadout(Bool_t ExcludeFlag = kTRUE)
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)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TMrbNamedX*TMrbModule::FindRegister(const Char_t* RegName) const
TMrbNamedX*TMrbModule::FindRegister(Int_t RegIndex) const
const Char_t*FormatValue(TString& Value, Int_t Index, Int_t SubIndex = -1, Int_t Base = 10)
Int_tTMrbModule::Get(const Char_t* RegName, Int_t Channel = -1) const
Int_tTMrbModule::Get(Int_t RegIndex, Int_t Channel = -1) const
Int_tGetAdcOverride()
Int_tGetAdcResolution()
Int_tGetAddressRegister()
Int_tGetAddressSource()
Int_tTMrbVMEModule::GetAddrModifier() const
Int_tGetBankOperation()
UInt_tTMrbVMEModule::GetBaseAddr() const
Int_tTMrbModule::GetBinning() const
Int_tTMrbModule::GetBinRange() const
Int_tGetBufferThresh()
TMrbModuleChannel*TMrbModule::GetChannel(Int_t) const
virtual const Char_t*TMrbModule::GetCommonCodeFile()
Int_tTMrbModule::GetCrate() const
TMrbNamedX*TMrbModule::GetDataType() const
Int_tGetDataWidth()
virtual Char_t*GetDeviceStruct()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tGetEclFclRts()
Int_tGetEclG1Osc()
Int_tGetEclTerm()
Int_tGetGGUsed()
const Char_t*TMrbModule::GetHistoArrayName()
Int_tGetHoldDelay(Int_t GG)
Int_tGetHoldWidth(Int_t GG)
virtual const char*TObject::GetIconName() const
Int_tGetInputRange()
TObjArray*TMrbModule::GetLofChannels()
const Char_t*TMrbModule::GetLofChannelsAsString(TString& LofChannels) const
TMrbLofNamedX*TMrbModule::GetLofRegisters()
Int_tGetMarkingType()
TMrbNamedX*TMrbModule::GetMbsBranch()
Int_tTMrbModule::GetMbsBranchNo()
const Char_t*TMrbModule::GetMbsFctName(TString& FctName, TMrbConfig::EMrbModuleFunction Fct)
virtual const Char_t*GetMnemonic() const
Int_tGetModuleId()
TMrbNamedX*TMrbModule::GetModuleID()
Int_tGetMultiEvent()
virtual const char*TNamed::GetName() const
Int_tGetNimBusy()
Int_tGetNimFclRts()
Int_tGetNimG1Osc()
Int_tTMrbModule::GetNofChannels() const
Int_tTMrbModule::GetNofChannelsUsed() const
Int_tTMrbModule::GetNofDataBits() const
Int_tTMrbModule::GetNofShortsPerChannel() const
Int_tTMrbModule::GetNofShortsPerDatum() const
virtual Int_tTMrbModule::GetNofSubDevices() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Int_tGetOutputFormat()
UInt_tTMrbModule::GetPatternOfChannelsUsed() const
const Char_t*TMrbModule::GetPosition() const
virtual const Char_t*GetPrivateCodeFile() const
Int_tGetPulserStatus()
Int_tTMrbModule::GetRange()
Int_tTMrbVMEModule::GetSegmentSize() const
Int_tTMrbModule::GetSerial() const
Int_tTMrbModule::GetSubDevice() const
Int_tGetThreshold(Int_t Channel)
Int_tTMrbModule::GetTimeOffset() const
virtual const char*TNamed::GetTitle() const
Int_tGetTsDivisor()
Int_tGetTsSource()
TMrbNamedX*TMrbModule::GetType()
virtual UInt_tTObject::GetUniqueID() const
UInt_tTMrbVMEModule::GetVMEMapping() const
UInt_tTMrbVMEModule::GetVMEMapping()
Int_tGetXferData()
Int_tTMrbModule::GetXmax()
Int_tTMrbModule::GetXmin()
virtual Bool_tTObject::HandleTimer(TTimer* timer)
Bool_tTMrbModule::HasBlockReadout() const
virtual Bool_tHasBlockXfer() const
virtual ULong_tTNamed::Hash() const
virtual Bool_tTMrbVMEModule::HasOwnMapping() const
virtual Bool_tHasPrivateCode() const
virtual Bool_tTMrbModule::HasRandomReadout() const
Bool_tTMrbModule::HasRegisters() const
voidHelp()
Bool_tTMrbModule::HistoArrayToBeCreated()
Bool_tTMrbModule::HistosToBeAllocated() const
Bool_tIgnoreThresholds()
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_tTMrbModule::IsActive() const
Bool_tTMrbModule::IsAssignedToBranch()
Bool_tTMrbModule::IsCamac() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
Bool_tIsFirstInChain()
virtual Bool_tTObject::IsFolder() const
Bool_tIsLastInChain()
Bool_tTObject::IsOnHeap() const
virtual Bool_tTMrbModule::IsRaw() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTMrbModule::IsVME() const
Bool_tTObject::IsZombie() const
Bool_tTMrbModule::LoadCodeTemplates(const Char_t* TemplateFile)
virtual voidTNamed::ls(Option_t* option = "") const
virtual Bool_tTMrbModule::MakeAnalyzeCode(ofstream& AnaStrm, TMrbConfig::EMrbAnalyzeTag TagIndex, const Char_t* Extension)
virtual Bool_tTMrbModule::MakeRcFile(ofstream& RcStrm, TMrbConfig::EMrbRcFileTag TagIndex, const Char_t* ResourceName)
virtual Bool_tMakeReadoutCode(ofstream& RdoStrm, TMrbConfig::EMrbModuleTag TagIndex)
Bool_tMakeReadoutCode(ofstream& RdoStrm, TMrbConfig::EMrbModuleTag TagIndex, TMrbVMEChannel* Channel, Int_t Value = 0)
voidTObject::MayNotUse(const char* method) const
Bool_tMcstEnabled()
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 voidTMrbVMEModule::Print() const
virtual voidTMrbVMEModule::Print(Option_t* Option) const
voidTMrbVMEModule::Print(ostream& OutStrm, const Char_t* Prefix = "") const
voidTMrbModule::PrintRegister(const Char_t* RegName) const
voidTMrbModule::PrintRegister(ostream& OutStrm, const Char_t* RegName, const Char_t* Prefix = "") const
voidPrintSettings()
voidPrintSettings(ostream& OutStrm)
Bool_tRawDataToBeRepaired()
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidRepairRawData(Bool_t Flag = kTRUE)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
Bool_tSaveSettings(const Char_t* SettingsFile = 0)
Bool_tTMrbModule::Set(const Char_t* RegName, Int_t Value, Int_t Channel = -1)
Bool_tTMrbModule::Set(Int_t RegIndex, Int_t Value, Int_t Channel = -1)
Bool_tTMrbModule::Set(const Char_t* RegName, const Char_t* Value, Int_t Channel = -1)
Bool_tTMrbModule::Set(Int_t RegIndex, const Char_t* Value, Int_t Channel = -1)
voidTMrbModule::SetActive(Bool_t ActiveFlag = kTRUE)
Bool_tSetAdcOverride(Int_t Over)
Bool_tSetAdcOverride(Char_t* Over)
Bool_tSetAdcResolution(Int_t Res)
Bool_tSetAdcResolution(Char_t* Res)
Bool_tSetAddressRegister(Int_t Address)
Bool_tSetAddressSource(Int_t AddrSource)
Bool_tSetAddressSource(Char_t* AddrSource)
voidTMrbVMEModule::SetAddrModifier(Int_t AddrMod)
Bool_tSetBankOperation(Int_t Oper)
Bool_tSetBankOperation(Char_t* Oper)
voidTMrbVMEModule::SetBaseAddr(UInt_t Base)
voidTMrbModule::SetBinning(Int_t ChansPerBin = 1)
voidTMrbModule::SetBinRange(Int_t BinRange)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
Bool_tTMrbModule::SetBlockReadout(Bool_t Flag = kTRUE)
voidSetBlockXfer(Bool_t Flag = kTRUE)
voidSetBufferThresh(Int_t Thresh)
voidSetCbltSignature(UInt_t Signature)
Bool_tSetDataWidth(Int_t Format)
Bool_tSetDataWidth(Char_t* Format)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
Bool_tSetEclFclRts(Int_t FR)
Bool_tSetEclFclRts(Char_t* FR)
Bool_tSetEclG1Osc(Int_t GO)
Bool_tSetEclG1Osc(Char_t* GO)
Bool_tSetEclTerm(Int_t Term)
Bool_tSetEclTerm(Char_t* Term)
voidSetFirstInChain(Bool_t Flag)
Bool_tSetHoldDelay(Int_t Delay, Int_t GG)
Bool_tSetHoldWidth(Int_t Width, Int_t GG)
voidSetIgnoreThresholds(Bool_t Flag)
Bool_tSetInputRange(Int_t Range)
Bool_tSetInputRange(Char_t* Range)
voidSetLastInChain(Bool_t Flag)
Bool_tSetMarkingType(Int_t Mtype)
Bool_tSetMarkingType(Char_t* Mtype)
Bool_tTMrbModule::SetMbsBranch(TMrbNamedX* MbsBranch)
Bool_tTMrbModule::SetMbsBranch(Int_t MbsBranchNo, const Char_t* MbsBranchName = 0)
Bool_tTMrbModule::SetMbsFctName(const Char_t* FctName, TMrbConfig::EMrbModuleFunction Fct)
voidSetMcstSignature(UInt_t Signature)
Bool_tSetModuleId(Int_t ModuleId)
Bool_tSetMultiEvent(Int_t Mode)
Bool_tSetMultiEvent(Char_t* Mode)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
Bool_tSetNimBusy(Int_t Busy)
Bool_tSetNimBusy(Char_t* Busy)
Bool_tSetNimFclRts(Int_t FR)
Bool_tSetNimFclRts(Char_t* FR)
Bool_tSetNimG1Osc(Int_t GO)
Bool_tSetNimG1Osc(Char_t* GO)
static voidTObject::SetObjectStat(Bool_t stat)
Bool_tSetOutputFormat(Int_t Format)
Bool_tSetOutputFormat(Char_t* Format)
Bool_tSetPulserStatus(Int_t Mode)
Bool_tSetPulserStatus(Char_t* Mode)
voidTMrbVMEModule::SetSegmentSize(Int_t SegSize)
voidSetSkipOutOfRange(Bool_t Flag)
voidSetSlidingScaleOff(Bool_t Flag)
Bool_tSetThreshold(Int_t Thresh, Int_t Channel = -1)
voidTMrbModule::SetTimeOffset(Int_t TimeOffset)
TEnv*Settings()
virtual voidTNamed::SetTitle(const char* title = "")MENU
Bool_tSetTsDivisor(Int_t Divisor)
Bool_tSetTsSource(Int_t Source)
Bool_tSetTsSource(Char_t* Source)
voidTMrbModule::SetType(UInt_t ModuleType, Bool_t OrFlag = kTRUE)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidTMrbVMEModule::SetVMEMapping(UInt_t Mapping)
Bool_tSetXferData(Int_t Length)
Bool_tTMrbModule::SetXmax(Int_t Xmax = 0)
Bool_tTMrbModule::SetXmin(Int_t Xmin = 0)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
Bool_tSkipOutOfRange()
Bool_tSlidingScaleIsOff()
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
Bool_tTMrbModule::ToBeExcludedFromReadout() const
virtual Bool_tUseA32Addressing() const
virtual voidTObject::UseCurrentStyle()
Bool_tUseGG(Int_t GG)
Int_tUseGG(Char_t* GG)
virtual Bool_tTMrbVMEModule::UseLVME() const
TEnv*UseSettings(const Char_t* SettingsFile = 0)
voidTMrbVMEModule::UseVMEMapping(UInt_t Mapping)
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
protected:
virtual voidDefineRegisters()
voidTMrbModule::DeleteRegisters()
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
Bool_tUpdateSettings()

Data Members

public:
enum { kSegSize
kAddrMod
kNofChannels
kGGDefaultDelay
kGGDefaultWidth
};
enum EMrbRegisters { kRegAddrSource
kRegAddrReg
kRegModuleId
kRegDataWidth
kRegMultiEvent
kRegXferData
kRegMarkingType
kRegBankOperation
kRegAdcResolution
kRegOutputFormat
kRegAdcOverride
kRegSlidingScaleOff
kRegSkipOutOfRange
kRegIgnoreThresh
kRegHoldDelay
kRegHoldWidth
kRegUseGG
kRegInputRange
kRegEclTerm
kRegEclG1Osc
kRegEclFclRts
kRegEclBusy
kRegNimG1Osc
kRegNimFclRts
kRegNimBusy
kRegPulserStatus
kRegTsSource
kRegTsDivisor
kRegThreshold
};
enum EMrbAddressSource { kAddressBoard
kAddressRegister
};
enum EMrbDataWidth { kDataWidth8
kDataWidth16
kDataWidth32
kDataWidth64
};
enum EMrbMultiEvent { kMultiEvtNo
kMultiEvtYes
kMultiEvt1By1
kMultiEvtNoBerr
};
enum EMrbMarkingType { kMarkingTypeEvent
kMarkingTypeTs
kMarkingTypeXts
};
enum EMrbBankOperation { kBankOprConnected
kBankOprIndependent
kBankOprZeroDeadTime
};
enum EMrbAdcResolution { kAdcRes2k
kAdcRes4k
kAdcRes4kHiRes
kAdcRes8k
kAdcRes8kHiRes
kAdcDontOverride
};
enum EMrbOutputFormat { kOutFmtAddr
kOutFmtCompact
};
enum EMrbUseGG { kUseGGnone
kUseGG0
kUseGG1
kUseGGboth
};
enum EMrbInputRange { kInpRng4V
kInpRng8V
kInpRng10V
};
enum EMrbEclTerm { kEclTermOff
kEclTermG0
kEclTermG1
kEclTermBusy
kEclTermFcl
kEclTermOn
};
enum EMrbEclG1Osc { kEclG1
kEclOsc
};
enum EMrbEclFclRts { kEclFcl
kEclRts
};
enum EMrbNimG1Osc { kNimG1
kNimOsc
};
enum EMrbNimFclRts { kNimFcl
kNimRts
};
enum EMrbNimBusy { kNimBusy
kNimG0Out
kNimG1Out
kNimCbusOut
kNimBufferFull
kNimOverThresh
};
enum EMrbPulserStatus { kPulserOff
kPulserAmpl
kPulserAmplLow
kPulserAmplHigh
kPulserAmplToggle
};
enum EMrbPulserDac { kPulserDacDefault
};
enum EMrbTsSource { kTstampVME
kTstampExtern
kTstampReset
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Bool_tTMrbModule::UtilitiesLoadedkTRUE if some utility procedures already loaded
Bool_tfAdcOverride
UInt_tTMrbVMEModule::fAddrModifieraddress modifier
UInt_tTMrbVMEModule::fBaseAddrbase address
Int_tTMrbModule::fBinRangenumber of bins
Bool_tTMrbModule::fBlockReadoutkTRUE if block readout;
Bool_tfBlockXfer
Int_tfBufferThresh
UInt_tfCBLTSignature
TObjArrayTMrbModule::fChannelSpecchannel specifications (type TMrbModuleChannel *)
Int_tTMrbModule::fChansPerBinchannels per bin
TMrbTemplateTMrbModule::fCodeTemplatesstore template code
Int_tTMrbModule::fCratecrate number
Bool_tTMrbModule::fCreateHistoArraykTRUE if histo array / .histlist file is to be created
TMrbNamedX*TMrbModule::fDataTypedata type
Bool_tTMrbModule::fExcludeFromReadoutkTRUE if to be EXcluded from readout
Bool_tfFirstInChain
TStringTMrbModule::fHistoArrayNamename of histo array / .histlist file
Bool_tTMrbModule::fHistosToBeAllocatedkTRUE if histograms to be allocated for each channel
Bool_tfIgnoreThresh
Bool_tTMrbModule::fIsActivekTRUE if module active
Bool_tfLastInChain
TObjArrayTMrbModule::fLofMbsFctNamesdefine indiviual function names to be used with MBS
TMrbLofNamedXTMrbModule::fLofRegisterslist of registers
UInt_tfMCSTSignature
TMrbNamedXTMrbModule::fMbsBranchbranch within MBS
TMrbNamedXTMrbModule::fModuleIDmodule id
TMrbNamedXTMrbModule::fModuleTypemodule type
TStringTNamed::fNameobject identifier
Int_tTMrbModule::fNofChannelsnumber of channels available
Int_tTMrbModule::fNofDataBitslength of data
Int_tTMrbModule::fNofShortsPerChannelnumber of 16 bit words per channel
Int_tTMrbModule::fNofShortsPerDatumnumber of 16 bit words per datum
TStringTMrbModule::fPositioncrate & addr
Int_tTMrbModule::fRangenumber of data points
Bool_tfRepairRawData
Int_tTMrbVMEModule::fSegmentSizesegment size
Int_tTMrbModule::fSerialunique serial number
TEnv*fSettings
TStringfSettingsFile
Bool_tfSkipOutOfRange
Bool_tfSlidingScaleOff
Int_tTMrbModule::fSubDevicesubdevice
Int_tTMrbModule::fTimeOffsettime offset
TStringTNamed::fTitleobject title
UInt_tTMrbVMEModule::fVMEMappingVME mapping
Int_tTMrbModule::fXmax
Int_tTMrbModule::fXminxmin / xmax

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TMrbMesytec_Madc32()
{}
TMrbMesytec_Madc32(const Char_t* ModuleName, UInt_t BaseAddr)
~TMrbMesytec_Madc32()
{}
Bool_t MakeReadoutCode(ofstream& RdoStrm, TMrbConfig::EMrbModuleTag TagIndex)
Bool_t MakeReadoutCode(ofstream& RdoStrm, TMrbConfig::EMrbModuleTag TagIndex, TMrbVMEChannel* Channel, Int_t Value = 0)
const Char_t * GetMnemonic() const
{ return("madc32"); }
void SetBlockXfer(Bool_t Flag = kTRUE)
{ fBlockXfer = Flag; }
Bool_t BlockXferEnabled()
{ return(fBlockXfer); }
void RepairRawData(Bool_t Flag = kTRUE)
{ fRepairRawData = Flag; }
Bool_t RawDataToBeRepaired()
{ return(fRepairRawData); }
Bool_t SetThreshold(Int_t Thresh, Int_t Channel = -1)
{ return(this->Set(TMrbMesytec_Madc32::kRegThreshold, Thresh, Channel)); }
Int_t GetThreshold(Int_t Channel)
{ return(this->Get(TMrbMesytec_Madc32::kRegThreshold, Channel)); }
Bool_t SetAddressSource(Int_t AddrSource)
{ return(this->Set(TMrbMesytec_Madc32::kRegAddrSource, AddrSource)); }
Bool_t SetAddressSource(Char_t* AddrSource)
{ return(this->Set(TMrbMesytec_Madc32::kRegAddrSource, AddrSource)); }
Int_t GetAddressSource()
Bool_t SetAddressRegister(Int_t Address)
{ return(this->Set(TMrbMesytec_Madc32::kRegAddrReg, Address)); }
Int_t GetAddressRegister()
{ return(this->Get(TMrbMesytec_Madc32::kRegAddrReg)); }
Bool_t SetModuleId(Int_t ModuleId)
{ return(this->Set(TMrbMesytec_Madc32::kRegModuleId, ModuleId)); }
Int_t GetModuleId()
{ return(this->Get(TMrbMesytec_Madc32::kRegModuleId)); }
Bool_t SetXferData(Int_t Length)
{ return(this->Set(TMrbMesytec_Madc32::kRegXferData, Length)); }
Int_t GetXferData()
{ return(this->Get(TMrbMesytec_Madc32::kRegXferData)); }
Bool_t SetDataWidth(Int_t Format)
{ return(this->Set(TMrbMesytec_Madc32::kRegDataWidth, Format)); }
Bool_t SetDataWidth(Char_t* Format)
{ return(this->Set(TMrbMesytec_Madc32::kRegDataWidth, Format)); }
Int_t GetDataWidth()
{ return(this->Get(TMrbMesytec_Madc32::kRegDataWidth)); }
Bool_t SetMultiEvent(Int_t Mode)
{ return(this->Set(TMrbMesytec_Madc32::kRegMultiEvent, Mode)); }
Bool_t SetMultiEvent(Char_t* Mode)
{ return(this->Set(TMrbMesytec_Madc32::kRegMultiEvent, Mode)); }
Int_t GetMultiEvent()
Bool_t SetMarkingType(Int_t Mtype)
{ return(this->Set(TMrbMesytec_Madc32::kRegMarkingType, Mtype)); }
Bool_t SetMarkingType(Char_t* Mtype)
{ return(this->Set(TMrbMesytec_Madc32::kRegMarkingType, Mtype)); }
Int_t GetMarkingType()
Bool_t SetBankOperation(Int_t Oper)
{ return(this->Set(TMrbMesytec_Madc32::kRegBankOperation, Oper)); }
Bool_t SetBankOperation(Char_t* Oper)
{ return(this->Set(TMrbMesytec_Madc32::kRegBankOperation, Oper)); }
Int_t GetBankOperation()
Bool_t SetAdcResolution(Int_t Res)
{ return(this->Set(TMrbMesytec_Madc32::kRegAdcResolution, Res)); }
Bool_t SetAdcResolution(Char_t* Res)
{ return(this->Set(TMrbMesytec_Madc32::kRegAdcResolution, Res)); }
Int_t GetAdcResolution()
Bool_t SetOutputFormat(Int_t Format)
{ return(this->Set(TMrbMesytec_Madc32::kRegOutputFormat, Format)); }
Bool_t SetOutputFormat(Char_t* Format)
{ return(this->Set(TMrbMesytec_Madc32::kRegOutputFormat, Format)); }
Int_t GetOutputFormat()
Bool_t SetAdcOverride(Int_t Over)
{ return(this->Set(TMrbMesytec_Madc32::kRegAdcOverride, Over)); }
Bool_t SetAdcOverride(Char_t* Over)
{ return(this->Set(TMrbMesytec_Madc32::kRegAdcOverride, Over)); }
Int_t GetAdcOverride()
void SetSlidingScaleOff(Bool_t Flag)
{ fSlidingScaleOff = Flag; }
Bool_t SlidingScaleIsOff()
{ return(fSlidingScaleOff); }
void SetSkipOutOfRange(Bool_t Flag)
{ fSkipOutOfRange = Flag; }
Bool_t SkipOutOfRange()
{ return(fSkipOutOfRange); }
void SetIgnoreThresholds(Bool_t Flag)
{ fIgnoreThresh = Flag; }
Bool_t IgnoreThresholds()
{ return(fIgnoreThresh); }
Bool_t SetHoldDelay(Int_t Delay, Int_t GG)
{ return(this->Set(TMrbMesytec_Madc32::kRegHoldDelay, Delay, GG)); }
Int_t GetHoldDelay(Int_t GG)
{ return(this->Get(TMrbMesytec_Madc32::kRegHoldDelay, GG)); }
Bool_t SetHoldWidth(Int_t Width, Int_t GG)
{ return(this->Set(TMrbMesytec_Madc32::kRegHoldWidth, Width, GG)); }
Int_t GetHoldWidth(Int_t GG)
{ return(this->Get(TMrbMesytec_Madc32::kRegHoldWidth, GG)); }
Bool_t UseGG(Int_t GG)
{ return(this->Set(TMrbMesytec_Madc32::kRegUseGG, GG)); }
Int_t UseGG(Char_t* GG)
{ return(this->Set(TMrbMesytec_Madc32::kRegUseGG, GG)); }
Int_t GetGGUsed()
{ return(this->Get(TMrbMesytec_Madc32::kRegUseGG)); }
Bool_t SetInputRange(Int_t Range)
{ return(this->Set(TMrbMesytec_Madc32::kRegInputRange, Range)); }
Bool_t SetInputRange(Char_t* Range)
{ return(this->Set(TMrbMesytec_Madc32::kRegInputRange, Range)); }
Int_t GetInputRange()
Bool_t SetEclTerm(Int_t Term)
{ return(this->Set(TMrbMesytec_Madc32::kRegEclTerm, Term)); }
Bool_t SetEclTerm(Char_t* Term)
{ return(this->Set(TMrbMesytec_Madc32::kRegEclTerm, Term)); }
Int_t GetEclTerm()
{ return(this->Get(TMrbMesytec_Madc32::kRegEclTerm)); }
Bool_t SetEclG1Osc(Int_t GO)
{ return(this->Set(TMrbMesytec_Madc32::kRegEclG1Osc, GO)); }
Bool_t SetEclG1Osc(Char_t* GO)
{ return(this->Set(TMrbMesytec_Madc32::kRegEclG1Osc, GO)); }
Int_t GetEclG1Osc()
{ return(this->Get(TMrbMesytec_Madc32::kRegEclG1Osc)); }
Bool_t SetEclFclRts(Int_t FR)
{ return(this->Set(TMrbMesytec_Madc32::kRegEclFclRts, FR)); }
Bool_t SetEclFclRts(Char_t* FR)
{ return(this->Set(TMrbMesytec_Madc32::kRegEclFclRts, FR)); }
Int_t GetEclFclRts()
{ return(this->Get(TMrbMesytec_Madc32::kRegEclFclRts)); }
Bool_t SetNimG1Osc(Int_t GO)
{ return(this->Set(TMrbMesytec_Madc32::kRegNimG1Osc, GO)); }
Bool_t SetNimG1Osc(Char_t* GO)
{ return(this->Set(TMrbMesytec_Madc32::kRegNimG1Osc, GO)); }
Int_t GetNimG1Osc()
{ return(this->Get(TMrbMesytec_Madc32::kRegNimG1Osc)); }
Bool_t SetNimFclRts(Int_t FR)
{ return(this->Set(TMrbMesytec_Madc32::kRegNimFclRts, FR)); }
Bool_t SetNimFclRts(Char_t* FR)
{ return(this->Set(TMrbMesytec_Madc32::kRegNimFclRts, FR)); }
Int_t GetNimFclRts()
{ return(this->Get(TMrbMesytec_Madc32::kRegNimFclRts)); }
Bool_t SetNimBusy(Int_t Busy)
{ return(this->Set(TMrbMesytec_Madc32::kRegNimBusy, Busy)); }
Bool_t SetNimBusy(Char_t* Busy)
{ return(this->Set(TMrbMesytec_Madc32::kRegNimBusy, Busy)); }
Int_t GetNimBusy()
{ return(this->Get(TMrbMesytec_Madc32::kRegNimBusy)); }
void SetBufferThresh(Int_t Thresh)
{ fBufferThresh = Thresh; }
Int_t GetBufferThresh()
{ return(fBufferThresh); }
Bool_t SetPulserStatus(Int_t Mode)
{ return(this->Set(TMrbMesytec_Madc32::kRegPulserStatus, Mode)); }
Bool_t SetPulserStatus(Char_t* Mode)
{ return(this->Set(TMrbMesytec_Madc32::kRegPulserStatus, Mode)); }
Int_t GetPulserStatus()
Bool_t SetTsSource(Int_t Source)
{ return(this->Set(TMrbMesytec_Madc32::kRegTsSource, Source)); }
Bool_t SetTsSource(Char_t* Source)
{ return(this->Set(TMrbMesytec_Madc32::kRegTsSource, Source)); }
Int_t GetTsSource()
{ return(this->Get(TMrbMesytec_Madc32::kRegTsSource)); }
Bool_t SetTsDivisor(Int_t Divisor)
{ return(this->Set(TMrbMesytec_Madc32::kRegTsDivisor, Divisor)); }
Int_t GetTsDivisor()
{ return(this->Get(TMrbMesytec_Madc32::kRegTsDivisor)); }
TEnv * UseSettings(const Char_t* SettingsFile = 0)
Bool_t SaveSettings(const Char_t* SettingsFile = 0)
TEnv * Settings()
{ return fSettings; }
void EnableMCST(UInt_t Signature, Bool_t FirstInChain = kFALSE, Bool_t LastInChain = kFALSE)
{ fMCSTSignature = Signature; fFirstInChain = FirstInChain; fLastInChain = LastInChain; }
void EnableCBLT(UInt_t Signature, Bool_t FirstInChain = kFALSE, Bool_t LastInChain = kFALSE)
{ fCBLTSignature = Signature; fFirstInChain = FirstInChain; fLastInChain = LastInChain; }
void SetMcstSignature(UInt_t Signature)
{ fMCSTSignature = Signature; }
void SetCbltSignature(UInt_t Signature)
{ fCBLTSignature = Signature; }
void SetFirstInChain(Bool_t Flag)
{ fFirstInChain = Flag; }
void SetLastInChain(Bool_t Flag)
{ fLastInChain = Flag; }
Bool_t McstEnabled()
{ return (fMCSTSignature != 0); }
Bool_t CbltEnabled()
{ return (fCBLTSignature != 0); }
Bool_t IsFirstInChain()
{ return fFirstInChain; }
Bool_t IsLastInChain()
{ return fLastInChain; }
void PrintSettings(ostream& OutStrm)
void PrintSettings()
{ this->PrintSettings(cout); }
const Char_t * FormatValue(TString& Value, Int_t Index, Int_t SubIndex = -1, Int_t Base = 10)
Bool_t HasPrivateCode() const
{ return(kTRUE); }
const Char_t * GetPrivateCodeFile() const
{ return("Module_Mesytec"); }
Bool_t HasBlockXfer() const
{ return(kTRUE); }
Bool_t UseA32Addressing() const
{ return(kTRUE); }
Bool_t CheckSubeventType(TMrbSubevent* Subevent) const
Char_t * GetDeviceStruct()
{ return(Form("s_%s", this->GetName())); }
void Help()
{ gSystem->Exec(Form("mrbHelp %s", this->ClassName())); }
void DefineRegisters()
Bool_t UpdateSettings()