![]() |
![]() |
00001 #ifndef ZeroSuppressFP420_h 00002 #define ZeroSuppressFP420_h 00003 00004 #include "SimRomanPot/SimFP420/interface/ZSuppressFP420.h" 00005 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00006 00007 class ZeroSuppressFP420 : public ZSuppressFP420{ 00008 public: 00009 00010 /* Read the noise in the channels.*/ 00011 ZeroSuppressFP420(const edm::ParameterSet& conf, float noise); 00012 virtual ~ZeroSuppressFP420() {} 00013 00014 /* calculates the lower and high signal thresholds using the noise */ 00015 void initParams(const edm::ParameterSet& conf_); 00016 00017 ZSuppressFP420::DigitalMapType zeroSuppress(const DigitalMapType&,int); 00018 00019 ZSuppressFP420::DigitalMapType trkFEDclusterizer(const DigitalMapType&,int); 00020 00021 private: 00022 float noiseInAdc; 00023 short theFEDalgorithm; 00024 float theFEDlowThresh; 00025 float theFEDhighThresh; 00026 edm::ParameterSet conf_; 00027 short theNumFEDalgos; 00028 00029 int algoConf, verbosity; 00030 double lowthreshConf; 00031 double highthreshConf; 00032 }; 00033 00034 #endif