DLogic
class description - source file - inheritance tree
public:
DLogic DLogic()
DLogic DLogic(Char_t* mdesc, UInt_t addr)
DLogic DLogic(DLogic&)
virtual void ~DLogic()
void AddToLogic(Int_t, Int_t, char*)
TClass* Class()
void DefineLogic(Int_t, Int_t, char*)
void DisableStop(Int_t sec)
void DisableStrobe(Int_t sec)
void DumpARAM()
void DumpBRAM()
void DumpConfReg()
void EditMode(Int_t sec)
void EnableStop(Int_t sec)
void EnableStrobe(Int_t sec)
void ExtClock()
void ExtractLogic(Int_t, Int_t, TString*)
void GenStrobe(Int_t sec)
UShort_t GetConfReg()
UShort_t GetInputReg()
UShort_t GetInputReg(Int_t sec)
UShort_t GetOutputReg()
UShort_t GetOutputReg(Int_t sec)
UShort_t* GetRAM(Int_t sec)
UShort_t GetRAM(Int_t sec, Int_t i)
void IntClock()
void IORegisterMode(Int_t sec)
virtual TClass* IsA() const
Int_t IsForcedNormal(Int_t sec)
Int_t IsInLogicMode(Int_t sec)
Int_t IsInputExt(Int_t sec)
Int_t IsInputVME(Int_t sec)
Int_t IsOutputRAM(Int_t sec)
Int_t IsOutputVME(Int_t sec)
Int_t IsPatGenStarted(Int_t sec)
Int_t LogicContains(Int_t, Int_t, char*)
void LogicMode(Int_t sec)
void PatternMode(Int_t sec)
void ReadRAM()
virtual void ReadVME()
void RemoveFromLogic(Int_t, Int_t, char*)
virtual void ResetModule()
void SelectExtInput(Int_t sec)
void SelectRAMOutput(Int_t sec)
void SelectVMEInput(Int_t sec)
void SelectVMEOutput(Int_t sec)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
void StartPatGen(Int_t sec)
void StopPatGen(Int_t sec)
virtual void Streamer(TBuffer& b)
void WriteAddrReg(Int_t, Int_t)
void WriteConfReg(UShort_t dat)
void WriteOutputReg(Int_t sec, UShort_t dat)
void WriteRAM(Int_t, UShort_t*)
void WriteRAM(Int_t, UShort_t)
void WriteRAM(Int_t, Char_t*)
private:
UShort_t fARAM[256] Section A RAM
UShort_t fBRAM[256] Section B RAM
UShort_t fOutputReg Output register
UShort_t fInputReg Input register
UShort_t fConfReg Configuration register
UShort_t fFixCodeFA fixed code (0xfa = 250)
UShort_t fFixCodeF5 fixed code (0xf5 = 245)
UShort_t fManufacturer manufacturer (0x02 = 2)
UShort_t fModType type (0x19 = 25)
UShort_t fVersion version
UShort_t fSerial serial number
DLogic handles the VME dual logic unit V495 (CAEN). This unit can work as
a logic unit, input/output register, or pattern generator.
DLogic(Char_t *mdesc, UInt_t addr) :
DModule("logic unit","CAEN V495",mdesc,addr)
~DLogic()
void WriteAddrReg(Int_t sec, Int_t addr)
void WriteRAM(Int_t sec, UShort_t *buf)
basic RAM-writing method
void WriteRAM(Int_t sec, UShort_t dat)
write same number dat into all RAM locations
void WriteRAM(Int_t sec, Char_t* flag)
Write a predefined sequence into RAM.
void ReadVME()
void ReadRAM()
Basic RAM-reading method. It is separated from ReadVME because it
affects the operation of the unit and should not be done unless
really needed.
void ResetModule()
void LogicMode(Int_t sec)
void PatternMode(Int_t sec)
void IORegisterMode(Int_t sec)
void EditMode(Int_t sec)
void DumpConfReg()
void DumpARAM()
void DumpBRAM()
void ExtractLogic(Int_t sec, Int_t outchan, TString *tbuf)
Scan the data matrix and try to figure out the logic underlying the
outchan-th output bit. The routine is intelligent enough to recognize
coincidences and anticoincidences. The result will be stored in
tbuf in the format like [0]&^[1].
void DefineLogic(Int_t sec, Int_t outchan, char *definition)
Redefine the i-th bit of the array fData cells to be equal to
definition, where definition represents a logic function of
the input bits.
outchan - which output bit (0-7)
definition - logic expression, like "([0] & [1]) | [7]"
void AddToLogic(Int_t sec, Int_t outchan, char *definition)
Append string definition to the current logic definition of chan outchan.
Int_t LogicContains(Int_t sec, Int_t outchan, char *definition)
Check if logic definition of channel outchan contains string definition.
void RemoveFromLogic(Int_t sec, Int_t outchan, char *definition)
Remove string definition from current logic definition of channel outchan.
Inline Functions
DLogic DLogic(Char_t* mdesc, UInt_t addr)
void GenStrobe(Int_t sec)
void WriteOutputReg(Int_t sec, UShort_t dat)
void WriteConfReg(UShort_t dat)
void SelectVMEInput(Int_t sec)
void SelectExtInput(Int_t sec)
void SelectRAMOutput(Int_t sec)
void SelectVMEOutput(Int_t sec)
void EnableStop(Int_t sec)
void DisableStop(Int_t sec)
void StartPatGen(Int_t sec)
void StopPatGen(Int_t sec)
void DisableStrobe(Int_t sec)
void EnableStrobe(Int_t sec)
void ExtClock()
void IntClock()
UShort_t GetConfReg()
UShort_t GetInputReg()
UShort_t GetOutputReg()
UShort_t GetInputReg(Int_t sec)
UShort_t GetOutputReg(Int_t sec)
UShort_t* GetRAM(Int_t sec)
UShort_t GetRAM(Int_t sec, Int_t i)
Int_t IsInputVME(Int_t sec)
Int_t IsInputExt(Int_t sec)
Int_t IsOutputRAM(Int_t sec)
Int_t IsOutputVME(Int_t sec)
Int_t IsPatGenStarted(Int_t sec)
Int_t IsInLogicMode(Int_t sec)
Int_t IsForcedNormal(Int_t sec)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
DLogic DLogic(DLogic&)
Author: Dariusz Miskowiec
Last update: 1999
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.