Pool Timing Statusdayabay · DB-BNL Status talk by Brett Viren on measuring LED-to-PMT timing delays in the Daya Bay pool from LED calibration runs. The method flashes the LED and triggers on the same signal, then subtracts light time-of-flight. The talk describes the run and hit selection, and a blocking matrix that exposed cable map, geometry and LED position problems.pool timing led pmt calibration daya bay time-of-flight
Cable Map Statusdayabay · US/CN Offline Status update by Brett Viren on the cable map that links electronics boards and connectors to PMT IDs, and how it relates to the offline geometry. It restates the offline coordinate system convention and covers the AD and pool cable map problems discussed at a February 2012 workshop, followed by the status and to-do list.cable map pmt geometry coordinate system daya bay ad problems offline
2011
Experience with Filling a DBI Tabledayabay · Offline Workshop, IHEP Brett Viren's 17-slide talk at the IHEP offline workshop on converting Daya Bay's static cable map text files into DBI database tables. It describes the starting schema problems and the steps taken: refactoring into CableMap and HardwareID table pairs, a new DybCableSvc, loading the converted files, and a static/dbi service switch in nuwa.py. It also covers the standard operating procedure for filling the tables.dbi database cable map static services nuwa daya bay sop
Event Building with Chunks and Framesdayabay · Offline Workshop, IHEP Slides on event building for Daya Bay, given at the IHEP offline workshop. Readout headers are grouped into chunks separated by quiet gaps, and each chunk forms frames that act as raw events, with derived headers attached to make calibrated or reconstructed events. It also compares framing algorithms such as fixed window and time since last. The goal is event-based analysis and filtering of raw data.event building chunks frames readout daq framing daya bay
Killing the Static Data Servicesdayabay · LBL Analysis Workshop Brett Viren's 5-slide talk at the LBL analysis workshop on replacing the static data services of Daya Bay offline software. It lists the tables behind the CableSvc, CalibDataSvc and SimDataSvc services with their row counts. It then focuses on the feeCableMap tables across versions and formats, and how the map is held in the database.static data services cable map calibration database daya bay offline software dbi
2010
New Event Display Support in NuWadayabay · Offline Phone Meeting Short slides on what NuWa needs to support event displays. A display needs one loop for GUI events and another for data events, so that clicking 'next' does not freeze it. It also needs to jump straight to an interesting data event instead of processing every uninteresting one first, as batch processing does.event display nuwa gui event loop batch processing data stream offline
Opening up the Black Box Inside the NuWa Frameworkdayabay · UW DB Ana WS Brett Viren's 19-slide talk at the UW DB analysis workshop that aims to open up the NuWa framework. It compares ad-hoc code, toolkits and frameworks as software design strategies, then explains how Gaudi's cooperating roles are formalized as abstract interface classes. Later sections cover the NuWa layers, C++ versus Python and links to more information.nuwa gaudi software framework daya bay c++ python interface classes
Offline Software Documentation Action Itemsdayabay · UW DB Ana WS Short follow-up slides from the UW DB analysis workshop on documentation action items. They report that a wiki-oriented documentation organization was presented, that some howtos and FAQs were written during the week with little wiki editing by others, and that Trac tickets saw churn. The next steps are to work through the notes, add FAQs and address the documentation tickets.documentation action items workshop wiki trac faq howto
Offline Software Documentationdayabay · UW DB Ana WS Brett Viren's 12-slide talk at the UW DB analysis workshop on why Daya Bay offline software documentation is poor. It lists perceived causes, such as focus on fast development, scattered sources and questions asked privately instead of on the mailing list. It then tours the existing sources, including the wiki, mailing list, tech note, Doxygen pages, Trac and tutorials, and asks the audience to start improving them that week.documentation offline software daya bay wiki mailing list trac doxygen
Experience Adopting Gaudi for Daya Bay and LBNEdayabay · Software Frameworks For New Experiments Brett Viren's 27-slide talk on adopting the Gaudi software framework for Daya Bay and the LBNE water Cherenkov detector. It opens with a neutrino oscillation primer and a description of the Daya Bay experiment and its computing model. It then covers framework selection, installation issues, the adoption strategy and the GARPI installation.gaudi daya bay lbne software framework neutrino computing model installation
2009
Streamlining Production Processingdayabay · Daya Bay Offline Workshop Proposes streamlining mock data challenge simulation production by replacing per-cluster batch submission scripts with one Python application. It describes a central database of run assignments, job submissions and status, with failed jobs rerun, and notes that the ATLAS PanDA system already offers this on PBS and Condor.batch processing simulation production mock data challenge panda pbs condor nuwa.py
What I understand about the Raw Data Modeldayabay Explains design issues in the Daya Bay raw data model as seen from real DAQ data, covering the raw data file format with its high-level metadata and low-level DAQ-specific records. It argues that calibrated per-PMT hit times and charges should be the interface, so that calibration absorbs raw format changes.raw data model daq data format calibration file format daya bay design
Proposal for Raw Data Classesdayabay Proposes offline raw data classes that keep packed raw blocks unmodified, with a base class for each level of the CBLT data format (module head, data head and channel head). Polymorphic subclasses unpack specific data, based on the MINOS RawData suite, so format changes do not change the data model.raw data data model daq cblt minos rawdata data classes daya bay
Antineutrino Disappearance at Daya Baydayabay · NDM09 Presents the Daya Bay reactor antineutrino experiment, which looks for a deficit of electron antineutrinos to measure or limit theta13. It sets this in the context of current neutrino oscillation data from Super-Kamiokande, CHOOZ, KamLAND, MINOS and solar experiments, then covers the experiment, the theta13 analysis and the status and schedule.neutrino oscillation theta13 reactor antineutrino disappearance daya bay status schedule
PerfToolsdayabay A talk on CPU profiling with the MinosSoft PerfTools and google-perftools. It explains how these sampling profilers build weighted call graphs for GraphViz, and how to use the graphs to find CPU hot spots by following callers of frequently called procedures.profiling perftools google-perftools cpu call graph graphviz hot spots
GenDecay: Data Driven, General Radioactive Decay Generator and GenTooldayabay · Daya Bay Simulation Workshop Presents GenDecay, a data driven generator for general radioactive decay chains and a GenTool for Gaudi/GenTools. It contrasts this with existing stand-alone U/Th generators and explains how ENSDF nuclear decay data, parsed with libmore, define the decay chains without hard coding.radioactive decay event generator ensdf libmore gentools geant4 radioactivity background
Proposal for Managing Future Releasesdayabay · Daya Bay US Offline Reviews the problems of the last software release, including an unstable trunk, late scope expansion and trunk and release branches diverging. It proposes a process with feature freeze on trunk, no release candidates, releasing directly from trunk and every production cluster running bitten.release management trunk release branch bitten feature freeze software process
April 2009 Offline Software Upgradedayabay · Daya Bay US Offline Describes the April 2009 upgrade of Daya Bay offline software to support GCC 4.3 and newer distributions. It covers the upgrade branches tested on nine platforms, how to install and test the upgrade with dybinst, and the move to LCG_Builders for externals.software upgrade dybinst gcc lcg platforms installation testing
Issues About Next LCG Upgradesdayabay · Daya Bay US Offline Discusses issues with the next LCG upgrades for Daya Bay's external software builds. It covers the LCG_Settings platform tags that rely on implicit CMT tags, the LCG_Builders build system from LCG/AA, and the CMTUSERCONTEXT mechanism for overriding requirements.lcg lcgcmt cmt externals platform build system dybinst
Gaudi Framework Overview and The Daya Bay Experiencedayabay · Future Neutrino Software, FNAL Gives an overview of the Gaudi software framework, including its context, components, job configuration and software management. It then describes the Daya Bay experience with Gaudi, including the offline software strategy, compilations and a walk through the software.gaudi software framework daya bay offline software job configuration software management fnal
2008
Working In Pythondayabay · Daya Bay 2nd Offline Tutorial A tutorial lesson on working in Python within the Daya Bay offline framework. It covers basic Python for interactive and batch use, the difference between configure-time and run-time code, CMT packages that use Python, and what nuwa.py provides.python gaudi nuwa.py cmt configurables tutorial daya bay
Simulation Data Model and File Input/Outputdayabay · Daya Bay 2nd Offline Tutorial A longer tutorial talk on the simulation data model and its file input/output in Daya Bay. It covers transient base classes, the RegistrationSequence linking TES and AES, the DetSim data model, converters and the persistent file format, and configuration.data model simulation file i/o event store converters root tutorial
Job Configuration and nuwa.pydayabay · Daya Bay 2nd Offline Tutorial A tutorial lesson on how Daya Bay jobs are configured and run with the nuwa.py script. It explains the stages of job configuration, Job Option Scripts and Modules, default package configuration and helpers, generated Configurables, and C++ properties.nuwa.py job configuration job options configurables gaudi properties tutorial
Detector Simulationdayabay · Daya Bay 2nd Offline Tutorial A tutorial lesson on the Daya Bay detector simulation, which runs Geant4 inside the Gaudi framework through GiGaSvc and GiGaCnv. It covers how DetSim fits into the framework, its physics lists and action classes, and the SimEvent data it produces.detector simulation geant4 gaudi detsim gigasvc tutorial daya bay
Improving Security and Convenience with SSH Tunnelsdayabay Explains the security and convenience problems of using web and email from untrusted networks while moving between BNL, home and hotels. It proposes routing web traffic through an SSH tunnel to the BNL HTTP proxy and then automating tunnel setup with SSH tunnel managers on Linux, Mac and Windows.ssh tunnel http proxy security mobile computing gstm putty
Organization of Configurationdayabay · Daya Bay CN/US Offline Describes a layered organization for Daya Bay job configuration, from Gaudi Configurables generated at build time, through per-package Configure classes and helper classes, to user-written job option Python files and the nuwa.py main script. It is a follow-up to the earlier configuration cleanup talk.configuration gaudi configurables nuwa.py job options python daya bay
Progress on Configuration Cleanupdayabay · Daya Bay US Offline Reports progress on cleaning up Daya Bay offline job configuration using Gaudi Configurables. It covers a Gaudi bug fix for tools owning tools, the problem of proliferating and fragile main scripts, and the plan for a tiny nuwa.py wrapper with per-package Python configure helpers.configuration gaudi configurables nuwa.py python daya bay offline software
Daya Bay I/O using RootIOSvcdayabay · Daya Bay CN/US Offline meeting Overview of Daya Bay I/O with RootIOSvc in the dybgaudi RootIO area. Covers the transient and persistent data models, with a one to one mapping between DataObjects at TES paths and ROOT TObjects in trees, the converter structure, data streams, output and input mechanisms, the conversion service and event selector, Daya Bay specifics, and next steps.rootiosvc root io gaudi dybgaudi data model conversion event selector
File Output Using RootIOSvcdayabay · Daya Bay US Offline meeting Reports on the file output services for Daya Bay that Brett Viren has been developing in the dybgaudi RootIO area. Describes the RootIOSvc conversion service and its configuration of output file mapping, the TObject versions of the BaseEvent data model in TBaseEvent, the converter base classes, and the RootIOAddress used to write objects to ROOT trees. Notes that output works and input is less far along.rootiosvc root io gaudi dybgaudi conversion service tobject output
Generating Initial Particle Kinematics with GenToolsdayabay · Daya Bay Offline Workshop at BNL Describes generation of initial particle kinematics for Daya Bay, meaning the vertex, particle types and momenta of interactions not left to Geant4. Presents the GenTools design as a factory of tools chained along an assembly line, with existing tools for HepEvt, gun, positioner and timerator, the GtGenerator and GtHepMCDumper algorithms, example configurations, and how to write a new tool.gentools kinematics event generator gaudi hepmc hepevt simulation daya bay
Debugging with NuWadayabay · Daya Bay Offline Workshop at BNL Guide to debugging NuWa programs with gdb. Covers compiling with -ggdb and the trade-offs of optimization, the state of debug builds for externals and projects via CMTEXTRATAGS, starting a process under gdb with arguments, inspecting program state, controlling and stepping through execution, and debugging dynamically loaded libraries.gdb debugging nuwa gcc ggdb cmt dynamic libraries offline software
Daya Bay Detector Model and Response Simulationdayabay · Daya Bay Offline Workshop at BNL Covers the Daya Bay detector model and the simulation of detector response to particles. The model part describes the XML, TDS and Geant4 forms of the detector description, its materials, geometry and structure sections, and visualization methods. The response part covers the simulation overview, configuration, simulated hit data and examples, followed by a to do list.detector model detdesc detsim geant4 xml simulation gaudi daya bay
DetDesc and DetSim: Detector Simulation and Descriptiondayabay · Daya Bay Offline Video Meeting Overview of DetDesc, the detector description with its geometry, structure and materials parts, and of DetSim, the Geant4 based detector simulation with its physics lists and kinematics input. Reports the status of detector description, physics lists, kinematics input, and G4Event production with filling of the transient event store, followed by a summary and comments.detdesc detsim geant4 detector simulation xml gaudi physics lists transient event store
Getting Started with Simulation in NuWadayabay · Daya Bay Simulation phone meeting Status overview of the NuWa simulation chain for newcomers, covering what works, how to exercise and configure the stages, and the C++ classes and XML geometry files. Reports that basic site, pool and PMT geometry is done, that visualization is partly working, and that the hepevt, gun, positioner and timerator generators are done. PMT placements, ADs and RPCs remain to do, and others are invited to help.simulation nuwa getting started detdesc gentools geant4 status xml geometry
GenTools, Generators in Gaudidayabay · Daya Bay Simulation phone meeting Introduces GenTools, the Gaudi framework for generating initial particle kinematics in the Daya Bay simulation. A single GtGenerator algorithm builds each event through a chain of event mutator tools (HepEvt sources, positioners for placing events in volumes, a timerator for rate based event times, and a gun tool still to be written) and stores the result in the transient event store.gentools gaudi event generator kinematics hepevt hepmc simulation daya bay
2007
Using CMT with Daya Bay NuWa Softwaredayabay · Daya Bay NuWa Offline Software Tutorial Tutorial introducing CMT, the configuration management tool used to organize Daya Bay NuWa software. Covers packages and the requirements file, the cmt config and broadcast commands, projects, CMTPATH and CMTPROJECTPATH, and the layout conventions of a CMT package, followed by exercises.cmt nuwa build system configuration management packages environment setup tutorial daya bay
NuWa Installations with dybinstdayabay · Daya Bay NuWa Offline Software Tutorial Tutorial on installing NuWa software with the dybinst script, which builds CMT, the third party external packages, the LHC projects, and dybgaudi, the Daya Bay offline software. Explains who the installation is for, the steps to fetch and run dybinst for a release, and its step options. The full install takes three to four hours and needs 3-4 GB of free space.dybinst nuwa installation cmt dybgaudi externals build tutorial
Daya Bay Detector Descriptiondayabay · Daya Bay NuWa Offline Software Tutorial Tutorial on the Daya Bay detector description in NuWa. Explains logical versus physical volumes, detector elements that mark the important volumes for reconstruction and alignment, the organization of the transient detector store, and how jobs and algorithms access the description. Notes that the geometry is not yet integrated into detector simulation and that detailed subsystem descriptions are still needed.detector description detdesc geometry logical volume physical volume detector element nuwa tutorial
Proposal to use GiGadayabay · Daya Bay Simulation Workshop Proposes using GiGa, the Gaudi interface to Geant4, in the Daya Bay simulation to modularize the code and decouple it from the monolithic G4dyb program. Explains what GiGa provides (run manager, configurable actions and physics lists, DetDesc geometry conversion, independent kinematics generators) and how to get there by wrapping legacy generators and detector constructors.giga geant4 gaudi simulation detdesc g4dyb modularity configuration
Design to Simulate 15 Minutes of Runningdayabay · Daya Bay Simulation Workshop Presents a design for producing a cocktail Monte Carlo sample of about 15 minutes of detector running, with all event types properly represented and no limit on the simulated duration. Describes the processing stages from kinematics generation through detector, electronics and trigger simulation to final readout, the nonlinear time structure of the processing, and the modes of operation including intermediate files.simulation cocktail monte carlo event generation pipeline modularity intermediate files trigger simulation daya bay
Conundrum: DetDesc vs. VGM/AGDDdayabay Weighs whether Daya Bay should adopt the LHCb DetDesc detector description, and how much of it (classes, converters, conditions database, GiGa), or develop its own versions based on VGM and AGDD. Describes the DetDesc packages and the DetDescCnv XML persistency, and the effort a custom converter, conditions database and Geant4 connection would need.detdesc vgm agdd gaudi geant4 detector description lhcb conditions database
Using GaudiObjDesc for Data Model Implementationdayabay · Daya Bay Collaboration Meeting Describes the GaudiObjDesc (GOD) package, which generates C++ data classes, accessors, and Python and ROOT dictionaries from simple XML data model definitions run by CMT hooks. Compares it with hand written classes plus reflex dictionaries, lists its package features and status, and argues for its use.gaudi data model xml cmt reflex dictionary code generation python root
Unified geometrydayabay Status update on the unified geometry code for Daya Bay, covering the current state of the code, offsets from the ideal geometry, and items still needing work. Describes the code dependency layers (reco and MC application, DybGeom helpers, VGM converter, and the underlying AGDD and in-memory geometry) and a proposed UserInfo mechanism in VGM for application specific data such as optical properties.geometry vgm agdd geant4 root tgeo userinfo dybgeom alignment
Unified Geometrydayabay Proposes a unified geometry description for Daya Bay that replaces hard coded Geant4 geometry with an AGDD XML based description serving both simulation and reconstruction. Covers the motivation, the AGDD XML schema overview, code details, ideas for version control, and the current status and to do list.geometry agdd xml geant4 detector description alignment version control daya bay
Adapting MINOS Online/Offline code to Daya Baydayabay Proposes adapting the MINOS online and offline raw data code for Daya Bay, reusing its flat integer raw data blocks, the RotoTalk network protocol and rotorooter server, and RawData classes that unpack the raw blocks. Describes the online raw data format with block headers and versioned block IDs, and lists the decisions still needed.raw data minos daq online offline data format network protocol versioning