CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/SimRomanPot/SimFP420/interface/DigiConverterFP420.h

Go to the documentation of this file.
00001 #ifndef DigiConverterFP420_h
00002 #define DigiConverterFP420_h
00003 
00004 #include "SimRomanPot/SimFP420/interface/DConverterFP420.h"
00005 
00006 class DigiConverterFP420: public DConverterFP420{
00007  public:
00008 
00009   DigiConverterFP420(float in,int);
00010   
00011   DigitalMapType convert(const signal_map_type&);
00012     
00013  private:
00014 
00015   int convert(float in){return truncate(in/electronperADC);}
00016   int truncate(float in_adc);
00017   
00018   float electronperADC;
00019   int theMaxADC;
00020   int adcBits;
00021   int verbos;
00022 };
00023  
00024 #endif