Download presentation
Presentation is loading. Please wait.
Published byLindsay Johns Modified over 9 years ago
1
21 September 2012 GRETINA SWG 1 2012 GRETINA SWG Meeting Carl Lionberger LBNL GRETINA DAQ Implementation
2
21 September 2012 GRETINA SWG 2 Early View
3
21 September 2012 GRETINA SWG 3 Event Processing Crystal Event Builder Segment events Crystal events Signal Decomposition Interaction points Global Event Builder Tracking 37 segments per detector 1-28 crystals Global Events Data from Auxiliary Detectors Analysis & Archiving Data from Germanium Detectors Goal: Processing 20,000 Gamma rays /sec
4
21 September 2012 GRETINA SWG 4 GRETINA DAQ Processes Almost all DAQ programs both in the IOCs and on the cluster are written, at the top level, in SNL The main control structures are states and transition between states syntax is C-like and C code can be embedded or called interface to EPICS PVs is integral to language a state program can have multiple state sets, each a separate thread. Each program has.st, IF.c, and IF.h
5
21 September 2012 GRETINA SWG 5 The Basic DAQ States All the DAQ programs have these same two basic states – Setup state In setup, it is allowable to change hardware and run parameters – Run state This is the state where data is acquired, runtime-processed, and saved Transition between Setup and Run is controlled by PV Online_CS_StartStop That PV is served by the soft ioc gretClust on dogs
6
21 September 2012 GRETINA SWG 6 Processes and Communications
7
21 September 2012 GRETINA SWG 7 Digitizer Readout
8
21 September 2012 GRETINA SWG 8 Signal Decomposition
9
21 September 2012 GRETINA SWG 9 Global Event Builder
10
21 September 2012 GRETINA SWG 10 Network
11
21 September 2012 GRETINA SWG 11 As-Designed Staging
12
21 September 2012 GRETINA SWG 12 Mode 2
13
21 September 2012 GRETINA SWG 13 Mode 3
14
21 September 2012 GRETINA SWG 14 Mode 2 and 3
15
21 September 2012 GRETINA SWG 15 3 to 2
16
21 September 2012 GRETINA SWG 16 EPICS CA Universes It is possible to run several copies of an EPICS installation on the same network without the identically-named Pvs in each copy talking to each other. This is done by setting two environment variables that control IP ports EPICS uses. In GRETINA, this allows running half the cluster with a DAQ acquiring data, and the other half with a DAQ running 3to2.
17
21 September 2012 GRETINA SWG 17 GRETINA DAQ Code Layout Code units are structured as EPICS applications directories EPICS applications support multiple- architecture builds and straightforward linkage between multiple “apps” Build system based on static Makefiles / configure App/ Db/ src/ iocBoot/ st.cmd include/ bin/ lib/ db/
18
21 September 2012 GRETINA SWG 18 Revision Control and releases CVS is used for version control Releases are independent of version control tags, and include several Apps Separate releases may be used for IOC boots and for cluster; currently the former is in release 10-5 and the latter 11-1. Essential Apps in a release: gretClust, Track, Decomp, gretVME, tcDig, tcDet Releases are directories in the /global/devel/gretTop directory
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.