FlyoDoc_2011 Pisa 2011 by GmP --- 011
|
#include <devmwc.h>
Public Member Functions | |
void | DataSmear () |
void | Prgeom () |
Public Attributes | |
double | x |
double | y |
double | xc |
double | yc |
double | tim |
double | sepm |
Friends | |
class | MsBox |
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++; } }