FlyoDoc_2011 Pisa 2011 by GmP --- 011

flyopunta/src/src_uti/radiografia.h

00001 /***************************************************************************
00002  *   Copyright (C) 2009 by giuseppe Pierazzini                                      *
00003  *   giuseppe@pierazzini.it                                                               *
00004  *                                                                         *
00005  *                                                                         *
00006  *   This program is distributed in the hope that it will be useful,       *
00007  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00008  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                  *
00009  *                                                                         *
00010  *  Dipartimento di Fisica  E.Fermi / INFN Pisa Italy                      *
00011  ***************************************************************************/
00012 #ifndef RADIOGRAFIA_H
00013 #define RADIOGRAFIA_H
00014 
00021 class Radiografia{
00022 
00023 int  radx_buffer_dim;
00024 
00025 public:
00026 int primo_dev, ultimo_dev; // gruppo di device radiografati 
00027     Radiografia(int,int);
00028 
00029     ~Radiografia();  
00030 //=================================
00031 //  R A D I O G R A F I A  dell'apparato; Attivata da radx
00032 // ha senso solo se non si attiva il pipeline.
00033 // lo spazio viene gestito in "void Store_Radx()"
00034 //===============================================
00035     int nrdx;
00036     int *dvradx , *idmx ;
00037     float  *xradx , *yradx , *zradx , *tradx ;
00038     float  *pxradx , *pyradx , *pzradx , *eradx ;
00039     float  *evista ;
00040 
00041 //================================   
00042   void Make_radx_buffer(int);
00043   void Store_Radx();    // radiografia dei device
00044 };
00045 #if defined(MAINFLYO)
00046 Radiografia *Radio=0;
00047 #endif
00048 
00049 #if !defined(MAINFLYO)
00050 extern Radiografia *Radio;
00051 #endif
00052 #endif
 All Classes Namespaces Files Functions Variables