FlyoDoc_2011 Pisa 2011 by GmP --- 011

flyopunta/src/src_dev62/devcedar.cpp

00001 /***************************************************************************
00002                           devcedar.cpp  -  description  2011
00003                              -------------------
00004 
00005   ***************************************************************************
00006   *                                                                         *
00007   *   NA62  simulation program.                                             *
00008   *                                                                         *
00009   ***************************************************************************/
00010 #include "parm.h"
00011 #include "evento.h"
00012 #include "devcedar.h"
00013 #include "particella.h"
00014 #include "part_db.h"
00015 
00016 DevCedar::DevCedar()
00017 {
00018     devtype=TypDevCedar;
00019     devclass="Cherenkov Differential counter";                   
00020          Gout<<"\n\n < "<<nome <<" > Dev Id "<<idev<<" Device type <"<<devclass<<"> typ "<<devtype; 
00021 }
00022 DevCedar::~DevCedar()
00023 {}
00024 //----------------- --------
00025 void DevCedar::Prgeom()
00026 {
00027 
00028     Gout<<"==================  R i v e l a t o r e =================";
00029     Gout<<"\n --> < "<<nome <<" >  [ "<<fun
00030     <<" ]  Beam  Cerenkov detector "<<std::endl;
00031     Device::Prgeom();
00032 }
00033 //=======-----------------------------------
00034 int DevCedar::SimulaDev()
00035 {
00036           if(mhit<1)return 0;
00037  
00038     return 1.;
00039 }
 All Classes Namespaces Files Functions Variables