Coder Social home page Coder Social logo

gif_daq's Introduction

GIF++ DAQ v5.0 for IPBus

Author: Felipe Silva ([email protected])

Original Author: Alexis Fagot ([email protected])

Development Env

Build

docker build -t gif_daq_dev_env docker/dev_env

Run Development Env

docker run --name gif_daq -v `pwd`:/gif_daq -v `pwd`/buffer_zone/operation:/var/operation/RUN -v `pwd`/buffer_zone/webdcs:/var/webdcs/HVSCAN/ -it --rm gif_daq_dev_env

Compile

cd build
cmake ..
make install
cd ..

Run

bin/daq buffer_zone/outputs.txt

Compilation (OLD BUT GOLD)

This application requires 3 non-optional dependencies:

The CAEN VME library will not be packaged by distributions and will need to be installed manually.

To compile the GIF++ DAQ project, simply do :

mkdir build
cd build
cmake ..
make install

You may want to erase and remake the build directory in between compilations to avoid problems (unless minor C++ code change).

Usage (OLD BUT GOLD)

This data acquisition software is designed to acquire data in the new Gamma Irradiation Facility (GIF++) at CERN. In this facility, muon detector (Resistive Plate Chambers, Cathode Strip Chambers, Micromegas, Drift Tubes, Gas Electron Multipliers, etc...) performances are being tested in an irradiated environment (gammas from a Cs137 source of 14TBq). The goal is to certify upgraded detectors for the High Luminosity LHC phase of the Large Hadron Collider were they will suffer a higher radiation background.

In our case, the software is meant to test CMS RPCs. The digital LVDS signals at the output of the detectors are sent to VME Time to Digital Converters (TDCs) from the CAEN company. The trigger signal is built from 3 scintillators placed respectively before the bunker area of GIF, inside the bunker nearby the RPCs under test, and after the bunker area along the muon beam line. This trigger allows to record the data present in the buffer of the TDCs and to store it into ROOT TTrees.

Note that this new version of the DAQ is not meant to be used as a standalone program anymore. A web interface has been designed to automate the data taking of an entire High Voltage scan. This web interface launches the DAQ and sends START signals at the beginning of every run and shut downs the DAQ via a STOP signal when the scan is completed. These signals are sent through the common file "run" placed in a common DCS/DAQ folder.

gif_daq's People

Contributors

ftorrresd avatar jeyserma avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.