FlyoDoc_2011 Pisa 2011 by GmP --- 011
Public Member Functions | Public Attributes | Friends

DevMwc Class Reference

#include <devmwc.h>

Inheritance diagram for DevMwc:
DevCrn DevCln Device

List of all members.

Public Member Functions

void DataSmear ()
void Prgeom ()

Public Attributes

double x
double y
double xc
double yc
double tim
double sepm

Friends

class MsBox

Detailed Description

Camere a filo

Author:
Giuseppe Pierazzini

Definition at line 19 of file devmwc.h.


Member Function Documentation

void DevMwc::DataSmear ( ) [virtual]

---------------------------------------

per analisi?

Reimplemented from Device.

Definition at line 27 of file devmwc.cpp.

{
//  calcolo degli errori
// Opera sulle variabili di tipo (2)
// vedi Device::Fill_Xdevhit()
        int i=0;
        double norma;
        sepm=120.;
        while ( i<=nhit )
        {
                x=M_Hits[i].Xdev.x;
                y=M_Hits[i].Xdev.y;

// errori di 120 micron.
                xc=M_Hits[i].Xdev.x=Pgauss ( 0.012,x );
                yc=M_Hits[i].Xdev.y=Pgauss ( 0.012,y );
                M_Hits[i].Xlab=Devc2Lab ( M_Hits[i].Xdev );

                /*  e il tempo? se si vuole attivare con errore fare qualche cosa di simile
                    tm_visto[i]=tm_visto[i] + errore
                */
                norma=xc*xc+yc*yc;
// distanza minima dal centro
                if ( norma<sepm ) sepm=norma;

                i++;
        }
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables