FlyoDoc_2011 Pisa 2011 by GmP --- 011
|
00001 /*************************************************************************** 00002 * Copyright (C) 2005 by Giuseppe Pierazzini Pisa 20.02.05 * 00003 * pierazzini@unipi.it * 00004 * F l y o * 00005 * Epsi/NA48 * 00006 ***************************************************************************/ 00007 #include "flyoh.h" 00008 00009 //using namespace std; 00010 Devkabes::Devkabes() 00011 : DevCln() 00012 {devtype=TypDevKbs; 00013 devclass="Kabes"; 00014 } 00015 00016 Devkabes::~Devkabes() 00017 { 00018 } 00019 00020 void Devkabes::Prgeom() 00021 { 00022 Gout<<"================== R i v e l a t o r e ================="; 00023 Gout<<"\n --> < "<<nome <<" > [ "<<fun 00024 <<" ] Beam wire Chamer <==> Cilindrica "; 00025 Device::Prgeom(); 00026 00027 } 00028 //=======----------------------------------- 00029 void Devkabes::DataSmear() 00030 { 00032 int i=0; 00033 00034 while ( i<=nhit ) 00035 { 00036 x=M_Hits[i].Xdev.x; 00037 y=M_Hits[i].Xdev.y; 00038 // errori in cm micron !!!! 00039 M_Hits[i].Xdev.x =Pgauss ( 0.012,x ); 00040 M_Hits[i].Xdev.y =Pgauss ( 0.012,y ); 00041 M_Hits[i].Xlab=Devc2Lab ( M_Hits[i].Xdev ); 00042 i++; 00043 } 00044 }