(UNKNOWN PRODUCT) » EXPCONF » TMrbMesytec_Madc32

class TMrbMesytec_Madc32: public TMrbVMEModule

__________________________________________________[C++ CLASS IMPLEMENTATION]

 Name:           expconf/src/TMrbMesytec_Madc32.cxx
 Purpose:        MARaBOU configuration: Mesytec modules
 Description:    Implements class methods to handle a Mesytec ADC type MADC32
 Keywords:
 Author:         R. Lutter
 Mailto:         <a href=mailto:rudi.lutter@physik.uni-muenchen.de>R. Lutter</a>
 Revision:       $Id: TMrbMesytec_Madc32.cxx,v 1.25 2011/05/18 11:04:49 Marabou Exp $
 Date:

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_tTMrbModule::CheckID(TMrbConfig::EMrbModuleID ModuleID) const
Bool_tTMrbModule::CheckIfPatternIsContiguous() const
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 = NULL)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
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
TMrbModuleChannel*TMrbModule::GetChannel(Int_t) const
virtual const Char_t*TMrbModule::GetCommonCodeFile() const
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_tGetEclFclOrRts()
Int_tGetEclG1OrOsc()
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()
virtual const Char_t*GetMnemonic() const
Int_tGetModuleId()
TMrbNamedX*TMrbModule::GetModuleID()
Int_tGetMultiEvent()
virtual const char*TNamed::GetName() const
Int_tGetNimBusy()
Int_tGetNimFclOrRts()
Int_tGetNimG1OrOsc()
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_tTMrbModule::GetRange()
Int_tTMrbVMEModule::GetSegmentSize() const
Int_tTMrbModule::GetSerial() const
Int_tTMrbModule::GetSubDevice() const
Int_tGetTestPulser()
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
Int_tGetUpdateInterval()
Int_tGetXferData()
Int_tTMrbModule::GetXmax()
Int_tTMrbModule::GetXmin()
virtual Bool_tTObject::HandleTimer(TTimer* timer)
Bool_tTMrbModule::HasBlockReadout() const
virtual ULong_tTNamed::Hash() const
virtual Bool_tHasPrivateCode() const
virtual Bool_tTMrbModule::HasRandomReadout() const
Bool_tTMrbModule::HasRegisters() const
voidHelp()
Bool_tTMrbModule::HistoArrayToBeCreated()
Bool_tTMrbModule::HistosToBeAllocated() const
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::IsCamac() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
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
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)
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
Bool_tSaveSettings(const Char_t* SettingsFile = NULL)
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)
Bool_tSetDataWidth(Int_t Format)
Bool_tSetDataWidth(Char_t* Format)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
Bool_tSetEclFclOrRts(Int_t FR)
Bool_tSetEclFclOrRts(Char_t* FR)
Bool_tSetEclG1OrOsc(Int_t GO)
Bool_tSetEclG1OrOsc(Char_t* GO)
Bool_tSetEclTerm(Int_t Term)
Bool_tSetEclTerm(Char_t* Term)
Bool_tSetHoldDelay(Int_t Delay, Int_t GG)
Bool_tSetHoldWidth(Int_t Width, Int_t GG)
Bool_tSetInputRange(Int_t Range)
Bool_tSetInputRange(Char_t* Range)
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 = NULL)
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_tSetNimFclOrRts(Int_t FR)
Bool_tSetNimFclOrRts(Char_t* FR)
Bool_tSetNimG1OrOsc(Int_t GO)
Bool_tSetNimG1OrOsc(Char_t* GO)
static voidTObject::SetObjectStat(Bool_t stat)
Bool_tSetOutputFormat(Int_t Format)
Bool_tSetOutputFormat(Char_t* Format)
voidTMrbVMEModule::SetSegmentSize(Int_t SegSize)
voidSetSkipOutOfRange(Bool_t Flag)
voidSetSlidingScaleOff(Bool_t Flag)
Bool_tSetTestPulser(Int_t Mode)
Bool_tSetTestPulser(Char_t* Mode)
Bool_tSetThreshold(Int_t Thresh, Int_t Channel = -1)
voidTMrbModule::SetTimeOffset(Int_t TimeOffset)
Bool_tSettingsToBeUpdated()
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)
voidSetUpdateInterval(Int_t Interval)
Bool_tSetXferData(Int_t Length)
Bool_tTMrbModule::SetXmax(Int_t Xmax = 0)
Bool_tTMrbModule::SetXmin(Int_t Xmin = 0)
virtual voidShowMembers(TMemberInspector& insp)
virtual Int_tTNamed::Sizeof() const
Bool_tSkipOutOfRange()
Bool_tSlidingScaleIsOff()
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& 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
voidUpdateSettings(Bool_t Flag = kTRUE)
virtual voidTObject::UseCurrentStyle()
Bool_tUseGG(Int_t GG)
Int_tUseGG(Char_t* GG)
virtual Bool_tTMrbVMEModule::UseLVME() const
Bool_tUseSettings(const Char_t* SettingsFile = NULL)
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()

Data Members

public:
enum { kSegSize
kAddrMod
kNofChannels
kGGDefaultDelay
kGGDefaultWidth
};
enum EMrbRegisters { kRegAddrSource
kRegAddrReg
kRegModuleId
kRegDataWidth
kRegMultiEvent
kRegXferData
kRegMarkingType
kRegBankOperation
kRegAdcResolution
kRegOutputFormat
kRegAdcOverride
kRegSlidingScaleOff
kRegSkipOutOfRange
kRegHoldDelay
kRegHoldWidth
kRegUseGG
kRegInputRange
kRegEclTerm
kRegEclG1OrOsc
kRegEclFclOrRts
kRegEclBusy
kRegNimG1OrOsc
kRegNimFclOrRts
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 EMrbEclG1OrOsc { kEclG1
kEclOsc
};
enum EMrbEclFclOrRes { kEclFcl
kEclRts
};
enum EMrbNimG1OrOsc { kNimG1
kNimOsc
};
enum EMrbNimFclOrRts { kNimFcl
kNimRts
};
enum EMrbNimBusy { kNimBusy
kNimG0Out
kNimG1Out
kNimCbusOut
};
enum EMrbTestPulser { kPulserOff
kPulserAmpl
kPulserAmplLow
kPulserAmplHigh
kPulserAmplToggle
};
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
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
TStringTMrbModule::fHistoArrayNamename of histo array / .histlist file
Bool_tTMrbModule::fHistosToBeAllocatedkTRUE if histograms to be allocated for each channel
Bool_tTMrbModule::fIsActivekTRUE if module active
TMrbLofNamedXTMrbModule::fLofRegisterslist of registers
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
Int_tTMrbVMEModule::fSegmentSizesegment size
Int_tTMrbModule::fSerialunique serial number
TStringfSettingsFile
Bool_tfSkipOutOfRange
Bool_tfSlidingScaleOff
Int_tTMrbModule::fSubDevicesubdevice
Int_tTMrbModule::fTimeOffsettime offset
TStringTNamed::fTitleobject title
Int_tfUpdateInterval
Bool_tfUpdateSettings
Int_tTMrbModule::fXmax
Int_tTMrbModule::fXminxmin / xmax

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TMrbMesytec_Madc32(const Char_t* ModuleName, UInt_t BaseAddr)
__________________________________________________________________[C++ CTOR]

 Name:           TMrbMesytec_Madc32
 Purpose:        Create a digitizing adc of type Mesytec MADC-32
 Arguments:      Char_t * ModuleName      -- name of camac module
                 UInt_t BaseAddr          -- base addr
 Results:        --
 Exceptions:
 Description:    Creates a vme module of type Mesytec MADC-32.
 Keywords:

void DefineRegisters()
________________________________________________________________[C++ METHOD]

 Name:           TMrbMesytec_Madc32::DefineRegisters
 Purpose:        Define module registers
 Arguments:      --
 Results:        --
 Exceptions:
 Description:    Defines special registers
 Keywords:

Bool_t UseSettings(const Char_t* SettingsFile = NULL)
________________________________________________________________[C++ METHOD]

 Name:           TMrbMesytec_Madc32::UseSettings
 Purpose:        Read settings from file
 Arguments:      Char_t * SettingsFile   -- settings file
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Load settings to be used from env file
 Keywords:

Bool_t SaveSettings(const Char_t* SettingsFile = NULL)
________________________________________________________________[C++ METHOD]

 Name:           TMrbMesytec_Madc32::SaveSettings
 Purpose:        Write settings to file
 Arguments:      Char_t * SettingsFile   -- settings file
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Write env data to file.
 Keywords:

Bool_t MakeReadoutCode(ofstream& RdoStrm, TMrbConfig::EMrbModuleTag TagIndex)
________________________________________________________________[C++ METHOD]

 Name:           TMrbMesytec_Madc32::MakeReadoutCode
 Purpose:        Write a piece of code for a Mesytec MADC-32
 Arguments:      ofstream & RdoStrm         -- file output stream
                 EMrbModuleTag TagIndex     -- index of tag word taken from template file
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Writes code for readout of a Mesytec MADC-32.
 Keywords:

Bool_t MakeReadoutCode(ofstream& RdoStrm, TMrbConfig::EMrbModuleTag TagIndex, TMrbVMEChannel* Channel, Int_t Value = 0)
________________________________________________________________[C++ METHOD]

 Name:           TMrbMesytec_Madc32::MakeReadoutCode
 Purpose:        Write a piece of code for a Mesytec MADC-32
 Arguments:      ofstream & RdoStrm           -- file output stream
                 EMrbModuleTag TagIndex       -- index of tag word taken from template file
                 TMrbVMEChannel * Channel     -- channel
                 Int_t Value                  -- value to be set
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Writes code for readout of a Mesytec MADC-32.
 Keywords:

Bool_t CheckSubeventType(TMrbSubevent* Subevent) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbMesytec_Madc32::CheckSubeventType
 Purpose:        Check if calling subevent is applicable
 Arguments:
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Makes sure that a subevent of type [10,8x] (CAEN)
                 is calling.
 Keywords:

void PrintSettings(ostream& OutStrm)
________________________________________________________________[C++ METHOD]

 Name:           TMrbMesytec_Madc32::PrintSettings
 Purpose:        Print settings
 Arguments:      ostream & Out           -- where to print
 Results:        --
 Exceptions:
 Description:    Prints settings to stream.
 Keywords:

const Char_t * FormatValue(TString& Value, Int_t Index, Int_t SubIndex = -1, Int_t Base = 10)
________________________________________________________________[C++ METHOD]

 Name:           TMrbMesytec_Madc32::FormatValue
 Purpose:        Prepare for printing
 Arguments:      TString & Value    -- where to put formatted value
                 Int_t Index        -- register index
                 Int_t SubIndex     -- subregister
                 Int_t Base         -- numerical base
 Results:        Char_t * Value     -- formatted string
 Exceptions:
 Description:    Formats a value: number and text
 Keywords:

TMrbMesytec_Madc32()
{}
~TMrbMesytec_Madc32()
{}
const Char_t * GetMnemonic() const
{ return("madc32"); }
void SetBlockXfer(Bool_t Flag = kTRUE)
{ fBlockXfer = Flag; }
Bool_t BlockXferEnabled()
{ return(fBlockXfer); }
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()
{ return(this->Get(TMrbMesytec_Madc32::kRegAddrSource)); }
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()
{ return(this->Get(TMrbMesytec_Madc32::kRegMultiEvent)); }
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()
{ return(this->Get(TMrbMesytec_Madc32::kRegMarkingType)); }
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()
{ return(this->Get(TMrbMesytec_Madc32::kRegBankOperation)); }
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()
{ return(this->Get(TMrbMesytec_Madc32::kRegAdcResolution)); }
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()
{ return(this->Get(TMrbMesytec_Madc32::kRegOutputFormat)); }
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()
{ return(this->Get(TMrbMesytec_Madc32::kRegAdcOverride)); }
void SetSlidingScaleOff(Bool_t Flag)
{ fSlidingScaleOff = Flag; }
Bool_t SlidingScaleIsOff()
{ return(fSlidingScaleOff); }
void SetSkipOutOfRange(Bool_t Flag)
{ fSkipOutOfRange = Flag; }
Bool_t SkipOutOfRange()
{ return(fSkipOutOfRange); }
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()
{ return(this->Get(TMrbMesytec_Madc32::kRegInputRange)); }
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 SetEclG1OrOsc(Int_t GO)
{ return(this->Set(TMrbMesytec_Madc32::kRegEclG1OrOsc, GO)); }
Bool_t SetEclG1OrOsc(Char_t* GO)
{ return(this->Set(TMrbMesytec_Madc32::kRegEclG1OrOsc, GO)); }
Int_t GetEclG1OrOsc()
{ return(this->Get(TMrbMesytec_Madc32::kRegEclG1OrOsc)); }
Bool_t SetEclFclOrRts(Int_t FR)
{ return(this->Set(TMrbMesytec_Madc32::kRegEclFclOrRts, FR)); }
Bool_t SetEclFclOrRts(Char_t* FR)
{ return(this->Set(TMrbMesytec_Madc32::kRegEclFclOrRts, FR)); }
Int_t GetEclFclOrRts()
{ return(this->Get(TMrbMesytec_Madc32::kRegEclFclOrRts)); }
Bool_t SetNimG1OrOsc(Int_t GO)
{ return(this->Set(TMrbMesytec_Madc32::kRegNimG1OrOsc, GO)); }
Bool_t SetNimG1OrOsc(Char_t* GO)
{ return(this->Set(TMrbMesytec_Madc32::kRegNimG1OrOsc, GO)); }
Int_t GetNimG1OrOsc()
{ return(this->Get(TMrbMesytec_Madc32::kRegNimG1OrOsc)); }
Bool_t SetNimFclOrRts(Int_t FR)
{ return(this->Set(TMrbMesytec_Madc32::kRegNimFclOrRts, FR)); }
Bool_t SetNimFclOrRts(Char_t* FR)
{ return(this->Set(TMrbMesytec_Madc32::kRegNimFclOrRts, FR)); }
Int_t GetNimFclOrRts()
{ return(this->Get(TMrbMesytec_Madc32::kRegNimFclOrRts)); }
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)); }
Bool_t SetTestPulser(Int_t Mode)
{ return(this->Set(TMrbMesytec_Madc32::kRegPulserStatus, Mode)); }
Bool_t SetTestPulser(Char_t* Mode)
{ return(this->Set(TMrbMesytec_Madc32::kRegPulserStatus, Mode)); }
Int_t GetTestPulser()
{ return(this->Get(TMrbMesytec_Madc32::kRegPulserStatus)); }
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)); }
void UpdateSettings(Bool_t Flag = kTRUE)
{ fUpdateSettings = Flag; }
Bool_t SettingsToBeUpdated()
{ return(fUpdateSettings); }
void SetUpdateInterval(Int_t Interval)
{ fUpdateInterval = Interval; }
Int_t GetUpdateInterval()
{ return(fUpdateInterval); }
void PrintSettings(ostream& OutStrm)
Bool_t HasPrivateCode() const
{ return(kTRUE); }
const Char_t * GetPrivateCodeFile() const
{ return("Module_Madc"); }
Char_t * GetDeviceStruct()
{ return(Form("s_%s", this->GetName())); }
void Help()
{ gSystem->Exec(Form("mrbHelp %s", this->ClassName())); }



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

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

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