__________________________________________________[C++ CLASS IMPLEMENTATION] Name: esone/src/TMrbEsone.cxx Purpose: ESONE client class Description: Implements class methods to interface the ESONE client library Keywords: Author: R. Lutter Mailto: <a href=mailto:rudi.lutter@physik.uni-muenchen.de>R. Lutter</a> Revision: $Id: TMrbEsone.cxx,v 1.18 2010/03/10 12:08:10 Rudolf.Lutter Exp $ Date:
| TMrbEsone(Bool_t Offline = kFALSE) | |
| TMrbEsone(const Char_t* HostName, Bool_t Offline = kFALSE) | |
| virtual | ~TMrbEsone() |
| void | Abort() |
| void | TObject::AbstractMethod(const char* method) const |
| Int_t | AddressScan(const Char_t* Start, const Char_t* Stop, TArrayI& Data, TObjArray& Results, Bool_t D16Flag = kFALSE) |
| Int_t | AddressScan(TMrbEsoneCnaf& Start, TMrbEsoneCnaf& Stop, TArrayI& Data, TObjArray& Results, Bool_t D16Flag = kFALSE) |
| Int_t | AddressScan(Int_t Crate, Int_t Start, Int_t Stop, Int_t Function, TArrayI& Data, TObjArray& Results, Bool_t D16Flag = kFALSE) |
| Bool_t | AddToBroadCast(Int_t Crate, Int_t Station) |
| virtual void | TObject::AppendPad(Option_t* option = "") |
| Int_t | BlockXfer(const Char_t* Cnaf, TArrayI& Data, Int_t Start = 0, Int_t NofWords = -1, Bool_t D16Flag = kFALSE, Bool_t QXfer = kFALSE) |
| Int_t | BlockXfer(TMrbEsoneCnaf& Cnaf, TArrayI& Data, Int_t Start = 0, Int_t NofWords = -1, Bool_t D16Flag = kFALSE, Bool_t QXfer = kFALSE) |
| Int_t | BlockXfer(Int_t Crate, Int_t Station, Int_t Subaddr, Int_t Function, TArrayI& Data, Int_t Start = 0, Int_t NofWords = -1, Bool_t D16Flag = kFALSE, Bool_t QXfer = kFALSE) |
| virtual void | TObject::Browse(TBrowser* b) |
| static TClass* | Class() |
| virtual const char* | TObject::ClassName() const |
| virtual void | TObject::Clear(Option_t* = "") |
| Bool_t | ClearBroadCast(Int_t Crate) |
| Bool_t | ClearDW(Int_t Crate) |
| void | ClearStatus() |
| virtual TObject* | TObject::Clone(const char* newname = "") const |
| virtual Int_t | TObject::Compare(const TObject* obj) const |
| UInt_t | ConnectToHost(const Char_t* HostName, Bool_t Reconnect = kFALSE) |
| virtual void | TObject::Copy(TObject& object) const |
| 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 |
| Bool_t | DWIsInhibited(Int_t Crate) |
| virtual void | TObject::Error(const char* method, const char* msgfmt) const |
| Bool_t | ExecCnaf(const Char_t* Cnaf, Bool_t D16Flag = kFALSE) |
| Bool_t | ExecCnaf(TMrbEsoneCnaf& Cnaf, Bool_t D16Flag = kFALSE) |
| Bool_t | ExecCnaf(const Char_t* Cnaf, Int_t& Data, Bool_t D16Flag = kFALSE) |
| Bool_t | ExecCnaf(Int_t Crate, Int_t Station, Int_t Subaddr, Int_t Function, Bool_t D16Flag = kFALSE) |
| Bool_t | ExecCnaf(Int_t Crate, Int_t Station, Int_t Subaddr, Int_t Function, Int_t& Data, Bool_t D16Flag = kFALSE) |
| Int_t | ExecCnafList(TObjArray& CnafList, Bool_t D16Flag = kFALSE) |
| 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 TObject* | TObject::FindObject(const char* name) const |
| virtual TObject* | TObject::FindObject(const TObject* obj) const |
| TMrbNamedX* | GetAction() |
| UInt_t | GetBroadCast(Int_t Crate) |
| Int_t | GetControllerIndex() |
| const Char_t* | GetControllerName() |
| virtual Option_t* | TObject::GetDrawOption() const |
| static Long_t | TObject::GetDtorOnly() |
| const Char_t* | GetError(TString& Error) |
| TMrbNamedX* | GetHost(UInt_t HostAddr) |
| TMrbNamedX* | GetHost(const Char_t* HostName) |
| virtual const char* | TObject::GetIconName() const |
| virtual const char* | TObject::GetName() const |
| virtual char* | TObject::GetObjectInfo(Int_t px, Int_t py) const |
| static Bool_t | TObject::GetObjectStat() |
| virtual Option_t* | TObject::GetOption() const |
| Bool_t | GetQ() |
| Int_t | GetServerIndex() |
| const Char_t* | GetServerName() |
| TSocket* | GetSocket() |
| UInt_t | GetStatus(Bool_t& XFlag, Bool_t& QFlag, Int_t& ErrorCode, TString& Error) |
| virtual const char* | TObject::GetTitle() const |
| virtual UInt_t | TObject::GetUniqueID() const |
| Bool_t | GetX() |
| virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
| Bool_t | HasBroadCast() |
| Bool_t | HasBroadCast(Int_t& NsetMask, Int_t& NexecCmd) |
| Bool_t | HasFastCamac() |
| virtual ULong_t | TObject::Hash() const |
| void | Help() |
| 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 |
| Bool_t | InitDW(Int_t Crate) |
| virtual void | TObject::Inspect() constMENU |
| void | TObject::InvertBit(UInt_t f) |
| virtual TClass* | IsA() const |
| Bool_t | IsAborted() |
| Bool_t | IsConnected() |
| virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
| Bool_t | IsError() |
| virtual Bool_t | TObject::IsFolder() const |
| Bool_t | IsMarabouServer() |
| Bool_t | IsMbsServer() |
| Bool_t | IsOffline() |
| Bool_t | TObject::IsOnHeap() const |
| Bool_t | IsSingleStep() |
| virtual Bool_t | TObject::IsSortable() const |
| Bool_t | IsVerbose() |
| Bool_t | TObject::IsZombie() const |
| virtual void | TObject::ls(Option_t* option = "") const |
| void | TObject::MayNotUse(const char* method) 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) |
| TObject& | TObject::operator=(const TObject& rhs) |
| virtual void | TObject::Paint(Option_t* option = "") |
| virtual void | TObject::Pop() |
| virtual void | Print(Option_t* Option) const |
| void | Print(TMrbEsoneCnaf& Cnaf) |
| void | Print(TObjArray& CnafList, Int_t From = 0, Int_t To = -1) |
| void | PrintError(const Char_t* EsoneCall, const Char_t* Method) |
| void | PrintStatus(const Char_t* Method) |
| virtual Int_t | TObject::Read(const char* name) |
| Bool_t | ReadDoubleWord(Int_t Crate, Bool_t ReadDW = kTRUE) |
| Bool_t | ReadFromFile(const Char_t* FileName) |
| virtual void | TObject::RecursiveRemove(TObject* obj) |
| Bool_t | RemoveFromBroadCast(Int_t Crate, Int_t Station) |
| 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 | SetAction(EMrbEsoneCamacAction Action) |
| Bool_t | SetAutoRead(Int_t Crate, Bool_t AutoRead = kTRUE) |
| void | TObject::SetBit(UInt_t f) |
| void | TObject::SetBit(UInt_t f, Bool_t set) |
| Bool_t | SetBroadCast(Int_t Crate, UInt_t BroadCast) |
| virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
| static void | TObject::SetDtorOnly(void* obj) |
| Bool_t | SetDWInhibit(Int_t Crate, Bool_t Flag = kTRUE) |
| void | SetError() |
| static void | TObject::SetObjectStat(Bool_t stat) |
| void | SetOffline(Bool_t Offline = kTRUE) |
| void | SetQ() |
| void | SetSingleStep(Bool_t Flag = kTRUE) |
| virtual void | TObject::SetUniqueID(UInt_t uid) |
| void | SetVerboseMode(Bool_t VerboseFlag = kTRUE) |
| void | SetX() |
| void | SetXQ() |
| virtual void | ShowMembers(TMemberInspector& insp) |
| Bool_t | StartServer(const Char_t* HostName) |
| virtual void | Streamer(TBuffer& b) |
| void | StreamerNVirtual(TBuffer& b) |
| virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
| Bool_t | TObject::TestBit(UInt_t f) const |
| Int_t | TObject::TestBits(UInt_t f) const |
| void | UseBroadCast(Bool_t Flag) |
| virtual void | TObject::UseCurrentStyle() |
| 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 | CheckConnection(const Char_t* Method) |
| Bool_t | CheckCrate(Int_t Crate, const Char_t* Method) |
| virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
| Bool_t | EsoneCCCC(Int_t Crate) |
| Bool_t | EsoneCCCI(Int_t Crate, Bool_t Inhibit = kTRUE) |
| Bool_t | EsoneCCCZ(Int_t Crate) |
| Bool_t | EsoneCCOPEN(const Char_t* HostName, UInt_t& HostAddress) |
| Bool_t | EsoneCDCTRL() |
| Bool_t | EsoneCDREG(UInt_t& Handle, TMrbEsoneCnaf& Cnaf) |
| Bool_t | EsoneCDREG(UInt_t& Handle, Int_t Crate, Int_t Station = 0, Int_t SubAddr = 0) |
| const Char_t* | EsoneCERROR(TString& ErrMsg, Int_t ErrorCode, Bool_t DateFlag) |
| Bool_t | EsoneCTCI(Int_t Crate) |
| UInt_t | EsoneCTSTAT() |
| Int_t | EsoneCXGA(TObjArray& CnafList, Bool_t D16Flag) |
| Int_t | EsoneCXMAD(TMrbEsoneCnaf& Start, TMrbEsoneCnaf& Stop, TArrayI& Data, TObjArray& Results, Bool_t D16Flag) |
| Bool_t | EsoneCXSA(TMrbEsoneCnaf& Cnaf, Bool_t D16Flag) |
| Int_t | EsoneCXUBX(TMrbEsoneCnaf& Cnaf, TArrayI& Data, Int_t First, Int_t Last, Bool_t D16Flag, Bool_t QXfer) |
| Bool_t | EsoneSpecial(EMrbEsoneCnafType Type, Int_t Crate, Int_t Station, Int_t Subaddr, Int_t Function, Int_t& Data, Bool_t D16Flag) |
| void | TObject::MakeZombie() |
| void | PrintResults(const Char_t* Method, TMrbEsoneCnaf& Cnaf) |
| void | PrintResults(const Char_t* Method, TObjArray& CnafList) |
| Bool_t | Reset(Bool_t Offline = kFALSE) |
| void | SetCB(TArrayI& CB, Int_t Repeat = 0, Int_t Tally = 0, Int_t Lam = 0, Int_t DMA = 0) |
| Bool_t | StartMarabouServer(const Char_t* HostName) |
| Bool_t | StartMbsServer(const Char_t* HostName) |
| enum EMrbEsoneServer { | kES_MBS | |
| kES_MARABOU | ||
| }; | ||
| enum EMrbCamacController { | kCC_CBV | |
| kCC_CC32 | ||
| }; | ||
| enum { | kBroadCastSetMask_N_CC32 | |
| kBroadCastExecCmd_N_CC32 | ||
| kFastCamac_F | ||
| kAutoRead_CC32 | ||
| kLastError | ||
| }; | ||
| enum TObject::EStatusBits { | kCanDelete | |
| kMustCleanup | ||
| kObjInCanvas | ||
| kIsReferenced | ||
| kHasUUID | ||
| kCannotPick | ||
| kNoContextMenu | ||
| kInvalidObject | ||
| }; | ||
| enum TObject::[unnamed] { | kIsOnHeap | |
| kNotDeleted | ||
| kZombie | ||
| kBitMask | ||
| kSingleKey | ||
| kOverwrite | ||
| kWriteDelete | ||
| }; |
| TMrbLofNamedX | fLofCamacActions | list of camac actions |
| TMrbLofNamedX | fLofCamacFunctions | list of camac function types |
| TMrbLofNamedX | fLofCnafNames | list of camac registers |
| TMrbLofNamedX | fLofCnafTypes | list of cnaf types |
| TMrbLofNamedX | fLofControllers | list of camac controllers available |
| TMrbLofNamedX | fLofEsoneServers | list of esone servers available |
| Bool_t | fAborted | kTRUE if operation aborted |
| TMrbNamedX* | fAction | last camac action |
| Int_t | fBufferSize | tcp buffer size |
| Int_t | fCC32Base | base address (CC32 only) |
| TMrbNamedX | fController | camac controller used (name+index) |
| TString | fHost | host name |
| Int_t | fHostAddr | ESONE host address |
| TString | fHostInet | full inet address |
| TMrbC2Lynx* | fLynxClient | client to lynxos/vme |
| Int_t | fNofCrates | number of crates in use |
| Bool_t | fOffline | access camac hardware? |
| Int_t | fPort | port number |
| TString | fServerPath | where to start server from |
| TString | fServerProg | server program |
| TMrbNamedX | fServerType | server type (name+index) |
| TString | fSetupPath | where to fond setup files |
| Bool_t | fSingleStep | kTRUE if in single step mode |
| TSocket* | fSocket | ! connection to server |
| UInt_t | fStatus | status of last camac action |
| Bool_t | fUseBroadCast | kTRUE if broadcast mode is to be used |
| Bool_t | fVerboseMode | kTRUE if verbose mode on |

________________________________________________________________[C++ METHOD] Name: TMrbEsone::CheckConnection Purpose: Check if connected to camac host Arguments: Char_t * Method -- calling method Results: kTRUE/kFALSe Exceptions: Description: Checks if there is a valid connection to camac. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::CheckCrate Purpose: Check if crate number is legal Arguments: Int_t Crate -- crate number Char_t * Method -- calling method Results: kTRUE/kFALSE Exceptions: Description: Checks if crate number is ok. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::StartServer Purpose: Try to start esone server on host Arguments: Char_t * HostName -- host name Results: kTRUE/kFALSE Exceptions: Description: Start server depending on type. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::StartMbsServer Purpose: Try to start esone server on host Arguments: Char_t * HostName -- host name Results: kTRUE/kFALSE Exceptions: Description: Tries to start mbs. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::StartMarabouServer Purpose: Connect to MARaBOU server Arguments: Char_t * HostName -- server addr Results: kTRUE/kFALSE Exceptions: Description: Establishes a server connection. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::ConnectToHost Purpose: Establish connection to camac host Arguments: Char_t * HostName -- host name Bool_t Reconnect -- kTRUE -> try to reconnect Results: UInt_t -- host address, 0 if error Exceptions: Description: ESONE ccopen. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::ExecCnaf Purpose: Exec a single control CNAF Arguments: Char_t * Cnaf -- cnaf (ascii representation) Bool_t D16Flag -- kTRUE if 16 bits only Results: kTRUE/kFALSE Exceptions: Description: ESONE cfsa / cssa. Control cnafs only. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::ExecCnaf Purpose: Exec a single CNAF Arguments: Char_t * Cnaf -- cnaf (ascii representation) Int_t & Data -- data Bool_t D16Flag -- kTRUE if 16 bits only Results: kTRUE/kFALSE Exceptions: Description: ESONE cfsa / cssa. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::ExecCnaf Purpose: Exec a single control CNAF Arguments: Int_t Crate -- crate number Int_t Station -- station Int_t Subaddr -- subaddress Int_t Function -- function Bool_t D16Flag -- kTRUE if 16 bits only Results: kTRUE/kFALSE Exceptions: Description: ESONE cfsa / cssa. Control cnafs only. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::ExecCnaf Purpose: Exec a single CNAF Arguments: Int_t Crate -- crate number Int_t Station -- station Int_t Subaddr -- subaddress Int_t Function -- function Int_t & Data -- data Bool_t D16Flag -- kTRUE if 16 bits only Results: kTRUE/kFALSE Exceptions: Description: ESONE cfsa / cssa. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::ExecCnafList Purpose: Exec a list of CNAFs Arguments: TObjArray & CnafList -- cnafs to be executed Bool_t D16Flag -- kTRUE if 16 bits only Results: Int_t NofCnafs -- number of cnafs executed Exceptions: Returns kEsoneError on error. Description: ESONE cfga / csga. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::AddressScan Purpose: Exec cnafs between N(start) and N(Stop) Arguments: Char_t * Start -- C.N.F to start with Char_t * Stop -- C.N.F to stop with TArrayI & Data -- data (read/write) TObjArray & Results -- where to store resulting data Bool_t D16Flag -- kTRUE if 16 bits only Results: Int_t NofData -- resulting number of data words Exceptions: Returns kEsoneError on error. Description: ESONE cfmad / csmad. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::AddressScan Purpose: Exec cnafs between N(start) and N(Stop) Arguments: Int_t Crate -- crate number Int_t Start -- station to start with Int_t Stop -- station to stop with Int_t Function -- function code TArrayI & Data -- data (read/write) TObjArray & Results -- where to store resulting data Bool_t D16Flag -- kTRUE if 16 bits only Results: Int_t NofData -- resulting number of data words Exceptions: Returns kEsoneError on error. Description: ESONE cfmad / csmad. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::AddressScan Purpose: Exec cnafs between N(start) and N(Stop) Arguments: TMrbEsoneCnaf & Start -- C.N.F to start with TMrbEsoneCnaf & Stop -- C.N.F to stop with TArrayI & Data -- data (read/write) TObjArray & Results -- where to store resulting data Bool_t D16Flag -- kTRUE if 16 bits only Results: Int_t NofData -- resulting number of data words Exceptions: Returns kEsoneError on error. Description: ESONE cfmad / csmad. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::BlockXfer Purpose: Start block transfer Arguments: Char_t * Cnaf -- C.N.F to be executed TArrayI & Data -- data Int_t Start -- data index to start with Int_t NofWords -- number of words to xfer Bool_t D16Flag -- kTRUE if 16 bits only Bool_t QXfer -- kTRUE if Q-driven Results: Int_t NofData -- resulting number of data words Exceptions: Returns kEsoneError on error. Description: ESONE cfubc / csubc / cfubr / csubr. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::BlockXfer Purpose: Start block transfer Arguments: Int_t Crate -- crate number Int_t Station -- station Int_t SubAddr -- subaddress Int_t Function -- function code TArrayI & Data -- data Int_t Start -- data index to start with Int_t NofWords -- number of words to xfer Bool_t D16Flag -- kTRUE if 16 bits only Bool_t QXfer -- kTRUE if Q-driven Results: Int_t NofData -- resulting number of data words Exceptions: Returns kEsoneError on error. Description: ESONE cfubc / csubc / cfubr / csubr. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::BlockXfer Purpose: Start block transfer Arguments: TMrbEsoneCnaf & Cnaf -- C.N.F to be executed TArrayI & Data -- data Int_t Start -- data index to start with Int_t NofWords -- number of words to xfer Bool_t D16Flag -- kTRUE if 16 bits only Bool_t QXfer -- kTRUE if Q-driven Results: Int_t NofData -- resulting number of data words Exceptions: Returns kEsoneError on error. Description: ESONE cfubc / csubc / cfubr / csubr. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::GetStatus Purpose: Get ESONE status of prev camac action Arguments: Bool_t & XFlag -- CAMAC X Bool_t & QFlag -- CAMAC Q Int_t ErrorCode -- error code TString & Error -- error message Results: CamacStatus_t Status -- status word Exceptions: Description: Reads and decodes the ESONE status register. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::GetHost Purpose: Get host by ESONE address Arguments: UInt_t HostAddr -- ESONE address Results: TMrbNamedX * HostKey -- host name / address Exceptions: Description: Finds host by its address. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::GetHost Purpose: Get host by name Arguments: Char_t * HostName -- host name Results: TMrbNamedX * HostKey -- host name / address Exceptions: Description: Finds host by its name. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::Print Purpose: Print cnafs & data Arguments: TMrbEsoneCnaf & Cnaf -- cnaf Results: -- Exceptions: Description: Outputs cnaf, data, flags. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::Print Purpose: Print cnafs & data Arguments: TObjArray & CnafList -- list of cnafs Int_t From -- cnaf to start with Int_t To -- cnaf to end with Results: -- Exceptions: Description: Outputs cnaf, data, flags. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::GetError Purpose: Get error of prev cnaf action Arguments: TString & Error -- where to put the error message Results: Char_t * Error -- error string Exceptions: Description: Returns an error message. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::PrintError Purpose: Print error message Arguments: Char_t * EsoneCall -- ESONE call Char_t * Method -- calling method Results: -- Exceptions:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::PrintStatus Purpose: Print status message Arguments: Char_t * Method -- calling method Results: -- Exceptions: Description: Status. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::PrintResults Purpose: Print results Arguments: Char_t * Method -- calling method TMrbEsoneCnaf & Cnaf -- cnaf Results: -- Exceptions: Description: Outputs cnaf results. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::PrintResults Purpose: Print results Arguments: Char_t * Method -- calling method TObjArray & CnafList -- list of cnafs Results: -- Exceptions: Description: Outputs cnaf results. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::HasFastCamac Purpose: Test for fast camac capability Arguments: -- Results: kTRUE/kFALSE Exceptions: Description: Tests if controller has fast camac Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::HasBroadCast Purpose: Test for broadcast capability Arguments: Int_t & NsetMask -- station N to set broadcast mask Int_t & NexecCmd -- station N to exec bc commands Results: kTRUE/kFALSE Exceptions: Description: Tests if controller has broadcast capability. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::HasBroadCast Purpose: Test for broadcast capability Arguments: -- Results: kTRUE/kFALSE Exceptions: Description: Tests if controller has broadcast capability. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::SetBroadCast Purpose: Set broadcast register Arguments: Int_t Crate -- crate number UInt_t BroadCast -- bits to be set Results: kTRUE/kFALSE Exceptions: Description: Writes the broadcast mask register. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::SetBroadCast Purpose: Read broadcast register Arguments: Int_t Crate -- crate number Results: UInt_t BroadCast -- bits on bc mask Exceptions: Returns kEsoneError on error. Description: Reads the broadcast mask register. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::AddBroadCast Purpose: Add station to broadcast mask Arguments: Int_t Crate -- crate number Int_t Station -- camac station Results: kTRUE/kFALSE Exceptions: Description: Adds a bit to the broadcast mask register. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::RemoveFromBroadCast Purpose: Remove station from broadcast mask Arguments: Int_t Crate -- crate number Int_t Station -- camac station Results: kTRUE/kFALSE Exceptions: Description: Removes a bit to the broadcast mask register. Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::SetAutoRead Purpose: Enable/disable AutoRead mode Arguments: Int_t Crate -- crate number Bool_t AutoRead -- on/off flag Results: kTRUE/kFALSE Exceptions: Description: Enables/disable auto read mode (CC32 only). Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::ReadDoubleWord Purpose: Enable/disable 32 bit mode Arguments: Int_t Crate -- crate number Bool_t ReadDW -- on/off flag Results: kTRUE/kFALSE Exceptions: Description: Enables/disable 32 bit mode (CC32 only). Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::EsoneCDREG Purpose: Encode C, N, A Arguments: Int_t & Handle -- identifier Int_t Crate -- crate C Int_t Station -- station N Int_t SubAddr -- subaddr A Results: kTRUE/kFALSE Exceptions: Description: Encodes ESONE-stype camac addr from C,N,A. Returns unique identifier (handle). Esone call: cdreg() >>> protected method <<< Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::EsoneCDREG Purpose: Encode C, N, A Arguments: Int_t & Handle -- identifier TMrbEsoneCnaf & Cnaf -- CNAF specs Results: kTRUE/kFALSE Exceptions: Description: Encodes ESONE-stype camac addr from C,N,A. Returns unique identifier (handle). Esone call: cdreg() >>> protected method <<< Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::EsoneCDCTRL Purpose: Define controller Arguments: -- Results: kTRUE/kFALSE Exceptions: Description: Defines type of controller to be used (CBV or CC32) Esone call: cdctrl() >>> protected method <<< Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::EsoneCCOPEN Purpose: Open connection to CAMAC Arguments: Char_t * HostName -- name of camac host UInt_t HostAddress -- ... address Results: kTRUE/kFALSE Exceptions: Description: Connects to camac. Esone call: ccopen() >>> protected method <<< Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::EsoneCCCI Purpose: Set/clear dataway inhibit Arguments: Int_t Crate -- crate C Bool_t Inhibit -- inhibit flag Results: kTRUE/kFALSE Exceptions: Description: Inhibit/enable camac dataway Esone call: ccci() >>> protected method <<< Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::EsoneCTCI Purpose: Test dataway inhibit Arguments: Int_t Crate -- crate C Results: Bool_t Inhibit -- inhibit flag Exceptions: Description: Tests dataway inhibit Esone call: ctci() >>> protected method <<< Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::EsoneCTSTAT Purpose: Test controller status Arguments: -- Results: UInt_t Status -- status information Exceptions: Description: Tests controller status Esone call: ctstat() >>> protected method <<< Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::EsoneCXSA Purpose: Execute single cnaf Arguments: TMrbEsoneCnaf & Cnaf -- cnaf (+data) Bool_t D16Flag -- 16 bit data if kTRUE Results: kTRUE/kFALSE Exceptions: Description: Executes a single camac cnaf, 16 or 24 bit Esone call: cssa(), cfsa() >>> protected method <<< Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::EsoneCXGA Purpose: Execute cnaf list Arguments: TObjArray & CnafList -- list of cnafs (+data) Bool_t D16Flag -- 16 bit data if kTRUE Results: Int_t NofCnafs -- number of cnafs executed Exceptions: NofCnafs = kEsoneError on error Description: Executes cnafs in the list, 16 or 24 bit Esone call: csga(), cfga() >>> protected method <<< Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::EsoneCXMAD Purpose: Perform an address scan Arguments: TMrbEsoneCnaf & Start -- start cnaf TMrbEsoneCnaf & Stop -- stop cnaf TArrayI & Data -- data (read/write) TObjArray & Results -- resulting cnafs (+data) Bool_t D16Flag -- 16 bit data if kTRUE Results: Int_t NofWords -- number of data words Exceptions: NofWords = kEsoneError on error Description: Address scan: Executes cnafs starting with 'start', ending with 'stop', stops whenever Q=0 Esone call: csmad(), cfmad() >>> protected method <<< Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::EsoneCXUBX Purpose: Block transfer Arguments: TMrbEsoneCnaf & Cnaf -- cnaf TArrayI & Data -- data Int_t Start -- data index to start with Int_t NofWords -- number of words to xfer Bool_t D16Flag -- 16 bit data if kTRUE Bool_t QXfer -- if xfer is to be controlled by Q Results: Int_t NofWords -- number of data words Exceptions: NofWords = kEsoneError on error Description: Executes a block transfer Esone call: csubr(), cfubr(), csubc(), cfubc() >>> protected method <<< Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::EsoneSpecial Purpose: Excecute special cnaf Arguments: EMrbEsoneCnafType Type -- cnaf type Int_t Crate -- crate C Int_t Station -- station N Int_t Subaddr -- subaddress A Int_t Function -- function F Int_t & Data -- data i/o Bool_t D16Flag -- 16 bit data if kTRUE Results: kTRUE/kFALSE Exceptions: Description: Executes a special cnaf, 16 or 24 bit Esone call: cssa(), cfsa() >>> protected method <<< Keywords:
________________________________________________________________[C++ METHOD] Name: TMrbEsone::EsoneCERROR Purpose: Report error Arguments: TString & ErrMsg -- error message Int_t ErrorCode -- error code Bool_t DateFlag -- include date if kTRUE Results: Char_t * ErrMsg -- pointer to error message Exceptions: Description: Reports any error recently produced by a esone call Esone call: cerror() >>> protected method <<< Keywords: