DTrigger


class description - source file - inheritance tree

class DTrigger : public TObject


    public:
DTrigger DTrigger() DTrigger DTrigger(DTrigger&) virtual void ~DTrigger() TClass* Class() void DisableAbort(Int_t abo) void DisableBBP() void DisableBusy(Int_t) void DisableFLT(Int_t tri) void DisableIBP() void DisableSDDMult(Int_t) void EnableAbort(Int_t abo) void EnableBBP() void EnableBusy(Int_t) void EnableFLT(Int_t tri) void EnableIBP() void EnableSDDMult(Int_t) Int_t GetFLTCount(Int_t) Int_t GetFLTDownscal(Int_t) Int_t GetSDDMultDownscal(Int_t) Int_t GetSDDMultThr(Int_t) void Initialize() virtual TClass* IsA() const Int_t IsBusy(Int_t) Int_t IsEnabledAbort(Int_t) Int_t IsEnabledBBP() Int_t IsEnabledBusy(Int_t) Int_t IsEnabledFLT(Int_t) Int_t IsEnabledIBP() Int_t IsEnabledSDDMult(Int_t) Int_t IsOnMTCAL(Int_t, Int_t) void Load(char* filename) void ManualAbort() void ManualFLTReset() void ReadVME() void ResetModules() void Save(char* filename) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void SwitchMTCAL(Int_t, Int_t, Int_t) void WriteFLTDownscal(Int_t, Int_t) void WriteSDDMultDownscal(Int_t, Int_t) void WriteSDDMultThr(Int_t, Int_t)

Data Members

private:
TObjArray* fModuleList list of pointers to VME modules public:
DLogic* fLogic0 logic unit (patgen) DLogic* fLogic1 logic unit (logic) DDownscaler* fDown[3] FLT downscalers (physics, MT, CAL) DDisc* fDisc discriminator (SLT SDD) DDownscaler* fDown2 downscaler (SLT SDD) DDL633* fFltinp AND/OR (FLT) DDL634* fFltout Fan-out (FLT) DDL633* fAboinp AND/OR (Abort) DDL634* fAboout Fan-out (Abort) DDL633* fBusy[2] AND/OR (Busy OR, two sections a 4 ch) DDL633* fBusyor AND/OR (Busy 1 OR 2) DDL634* fBusyout Fan-out (Busy) DDL631* fBusypat[2] Input register (Busy, two sections a 4 ch) DScaler* fScaler0 Scaler (inp + out logic1,1/2) DScaler* fScaler1 Scaler (trigger counts)

Class Description

 CERES trigger

 DTrigger describes the CERES trigger. A DTrigger object has a number
 of pointers to specific VME modules. The member functions translate
 generic commands (like "enable abort") to hardware operations (like
 "enable channel 2 in DL633 coincidence pointed to by *fAboinp").

 Nomenclature used to describe communication with hardware:

 module        - VME module
 module object - objects for communication with modules, like *fLogic0
 write         - write from the code to VME memory
 read          - copy VME memory to object
 get           - copy from object to code

 Trigger signals:

 FLT           - first level trigger
 SLT           - second level trigger
 Abort         - an abort is an alternative to SLT after a FLT
 Busy          - detectors set busy after they received a FLT; these
                 busies are OR'ed; end of this OR generates Reset
 Reset         - resets FLT level and then restores FLT gate


DTrigger() : TObject()
 Create objects corresponding to VME modules, and store the pointers
 to these objects on the object array *fModuleList.

~DTrigger()

void ResetModules()
 Call ResetModule for every VME module of fModuleList

void Initialize()
 Setup these parameters of VME modules which are fixed, i.e. not
 supposed to be changed by the end-user, and thus are not accesible
 via GUI.

void Load(char *filename)
 Load setup from file. Setup means here only the dynamic part
 of setup, i.e. the parameters which can be changed by the end-user.

void Save(char *filename)
 Save setup on file. Setup means here only the dynamic part of setup,
 i.e. the parameters which can be changed by the end-user.

void EnableBBP()
 Enable beam before-protection.

void EnableIBP()
 Enable interaction before-protection.

void DisableBBP()
 Disable beam before-protection.

void DisableIBP()
 Disable interaction before-protection.

void SwitchMTCAL(Int_t chan, Int_t inb, Int_t outb)
 Turn a MT or CAL channel on or off. The arguments inb and outb refer
 to in-burst and out-of-burst. For example, SwitchMTCAL(3, 1, 0) would
 enable 3rd MT/CAL channel in burst and disable it out of burst.

void WriteFLTDownscal(Int_t tri,Int_t val)
 Set downscaling factor for FLT channel tri to val.

Int_t GetFLTDownscal(Int_t tri)
 Get downscaling factor for FLT channel tri.

Int_t GetFLTCount(Int_t tri)
 Get count of accepted FLT signals on channel tri.

void EnableFLT(Int_t tri)
 Enable FLT channel tri.

void DisableFLT(Int_t tri)
 Disable FLT channel tri.

void ManualFLTReset()
 Reset FLT downscalers by software reset, and then generate Reset
 by flipping Busy.

void ManualAbort()
 Generate Abort by flipping the Abort line.

void EnableSDDMult(Int_t chan)
 Enable Abort by SDD multiplicity

void DisableSDDMult(Int_t chan)
 Disable Abort by SDD multiplicity

void WriteSDDMultThr(Int_t chan, Int_t thr)
 Set SDD multiplicity threshold to thr. One unit is 4 mV.

void WriteSDDMultDownscal(Int_t chan, Int_t val)
 Set SDD multiplicity downscaling factor.

void EnableBusy(Int_t bus)
 Enable busy bus in Busy-OR.

void DisableBusy(Int_t bus)
 Disable busy bus in Busy-OR.

Int_t IsEnabledBBP()

Int_t IsEnabledIBP()

Int_t IsOnMTCAL(Int_t chan, Int_t burst)

Int_t IsEnabledFLT(Int_t tri)

Int_t IsEnabledAbort(Int_t abo)

Int_t IsEnabledSDDMult(Int_t chan)

Int_t GetSDDMultThr(Int_t chan)

Int_t GetSDDMultDownscal(Int_t chan)

Int_t IsEnabledBusy(Int_t bus)

Int_t IsBusy(Int_t bus)

void ReadVME()



Inline Functions


               void EnableAbort(Int_t abo)
               void DisableAbort(Int_t abo)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
           DTrigger DTrigger(DTrigger&)


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.