Viewing Trigger objects with WIRED ---------------------------------- 1) How to run the display ------------------------ A pre-built WIRED executable is located in the release /nfs/bbr-nfs03/detector/trg/Wired-14. The release is a 14.5.3 with some updated trigger tags. It includes the fix for the TC->Digi conversion of any flavor of BLT. Tags should be up to date as of now, but if more recent tags are needed, see "How to recompile" below. WIRED runs in a client/server architecture, so to run the display there are 2 steps: 1) Run the server; on a noric machine, do: cd /nfs/bbr-nfs03/detector/trg/Wired-14 srtpath ambientboot cd workdir runServer (Note: A new server/client pair needs to be started for each new XTC file to analyse) You should get standard L1TNtuple-like output, until the following lines appear: ------------------------------------------------------- HesOepOrbRunner Hep Event Server now ready for requests JPMNotify:setStatus(ready:fresh server) ------------------------------------------------------- At this point the server is idle and ready for connections from clients. 2) Run the client: This is even simpler, just use the "runClient" script in the workdir from another terminal, on any machine (literally --- it doesn't even need to be in the SLAC domain, just needs web access) You should see a window entitle "WIRED event display" popping up, split vertically in 2. If a window isn't present in the left part, create one using the "New" button (the top-left-most one). Then press the "->" button on the top row to load the next event. If all goes well, you should see some output in the server window, and after a few seconds a view of the event should appear in the client. 2) Using the Client ------------------ The view in the client can be manipulated using the buttons at the bottom of the view window and the scroll bars. A right-click in the wondow also brings up a menu. It's useful to be able to select objects using the mouse. To enable this feature, One needs to do -> "Mouse Functions" -> "PickRectangle". Then left-clicking in the view window should bring up a list of objects and properties. In the right part of the screen, there should be another window called "Event Visibility Chooser" (if it's not there, click on the icon on the top row that looks like a decay tree). It should have 2 items: the first one is the fixed detector geometry, the second one is a list of the physics objects displayed. The checked items are those currently displayed. 3) The objects -------------- Here is an incomplete list of the relevant objects: o DchHitsAtZBackwardForTrg (green circles) : This is all DCH hits, at the position of the wire on the DCH backplane, to match TSF hits. o KalmanTrk (blue helices) : the standard reco DCH/SVT tracks. o EmcCluster (green blocks) : Standard reco EMC clusters o L1DTsfSegm (blue boxes) : all TSF segments o L1DTsfSegmMask (red boxes) : TSF segments in the ZPD input mask o L1DTsfSegmNotMask (yellow boxes) : TSF segments not in ZPD input mask. o L1DTsfHit (red cross) : all TSF hits for the Old TSF (list "Default") o L1DTsfHitNew (blue cross) : all TSF hits for the New TSF (list "Debug") o L1DTsfHitOldOnly (red cross) : TSF hits for the old TSF without corresponding new TSF hits o L1DTsfHitNewOnly (blue cross) : TSF hits for the new TSF without corresponding old TSF hits o L1DTsfHitBoth (yellow cross) : TSF hits for both the old and the new TSF. o L1DPtdEnvl (purple curves) : Draws the enveloppes for A/A' tracks determined by PTD (not sure what this is for exactly, this was programmed by Mandeep Gill a long time ago) o L1DPtdSeed (purples circles) : Highlights the seed segments used by PTD o L1DBlt (red boxes outside superlayers 5 and 10) : Marks BLT A (at SL 10) and B (at SL 5) tracks for old BLT (key "Default) o L1DBltNew (blue boxes) : Same for new BLT (key "Parasite") o L1DBltOldOnly (red boxes) : Same for old BLT without new BLT equivalent o L1DBltOldOnly (blue boxes) : Same for new BLT without old BLT equivalent o L1DBltBoth (yellow boxes) : Same for matching old and new BLT information o L1DZpdTrack7 (purple tracks) : ZPD tracks with seed at SL7 o L1DZpdTrack10 (blue tracks) : ZPD tracks with seed at SL10 o L1TATrack (purple arc outside SL 10) : Marks a GLT A Track o L1TAPTrack (blue arc outside SL 10) : Marks a GLT A' Track o L1TBTrack (purple arc outside SL 5) : Marks a GLT B Track o L1TMCluster (yellow arc outside the DIRC) : Marks a GLT M cluster o L1TGCluster (orange arc outside the DIRC) : Marks a GLT G cluster o L1TXCluster (blue arc outside the DIRC) : Marks a GLT X cluster o L1TYCluster (green arc outside the DIRC) : Marks a GLT Y cluster o L1TIFRCluster (pink arc outside the EMC) : IFT trigger object How to recompile ---------------- Recompilation may be needed to 1) Update packages or 2) Change the list names (the design is such that it's not possible to have them is TCL parameters...). Compilation is the same as for any release, except that 1) Shared libraries must be used and 2) one shouldn't try to make the HepRepServer.HesXtcApp target specifically, ony HepRepServer.bin will work. The recipe is: setenv ROPT -Shared gmake clean gmake lib gmake HepRepServer.bin - Nicolas