Navigation


Documentation/Gru/Calimero

Table of Contents

  1. Usage
  2. How Calimero works

Calimero


Usage

Calimero is by default installed on Acquistion Ganil Linux computers.
Calimero is launched by DAS and communicate with DAS with SOAP protocol. So gsoap have to be installed on linux

see http://wiki.ganil.fr/gap/attachment/wiki/GAP/BoiteAOutil/gsoap_2.7.7.tar.gz

Also , gsoap can be installed with a "yum" on linux fedora. The two libraries involved are gsoap.i386 and gsoap-devel.i386.

To work Calimero needs

  • a directory calimero on account ( ex /home/legeard/calimero/ ) containing the following files.
  • a script configuration file for Calimero : cali.C
    // cali.C  file
    // example of script configuration file for Calimero
    // GNetClient must be correctly configured to the host acquisition server (  
    {
      gROOT->Reset();
      TString Line; 
      Line.Form(".L %s/calimero/GEtalonnage.C+",gSystem->HomeDirectory()); 
      gROOT->ProcessLine(".include /home/acqexp/GRU/GRUcurrent/include");
    
      gROOT->ProcessLine(Line); // compilation of GEtalonnage.C
      GNetClientGanil *file =new GNetClientGanil("ganp891");
      file->Open(); 
      GServerSoap  gserver(file,8061);
    }
    
    
  • 2 files defining GEtalonnage Class : GEtalonnage.h and GEtalonnage.C ( see above , examples of files)
    This class define action to do during the calibration and can be modified by user. This class is recompiled if necessary each restart of Calimero.

Output xml file contains coefficients of calibration.


How Calimero works

source:Documents/GRUdoc/Must2_Electronic.jpg

source:Documents/GRUdoc/Calibration_archi.jpg

source:Documents/GRUdoc/Calibration.jpg

The list of commands are:
CALIMERO INIT nomdemanip nomcarte nomserver nom1erevoiedelacarte entiernombredevoie entier_numerodetraitement
-DO the intialization of a calibration
CALIMERO RUN entier_nombre_de_coups Vecteur_mat[8] Vecteur_voies[72]
-Do a run on entier_nombre_de_coups of events , The levels of 8 values generator on mats and the 72 selected channel (1<16)
CALIMERO STOP 1
-signal the end of calibration
CALIMERO KILL 1
-Kill calimero. CALIMERO TEST entier_nb_of_seconds
-test soap server , the handle is given after a time of entier_nb_of_second seconds

CALIMERO LS 1
-an other way to test server, a root "ls" is done ( use to debug)


Attachments