CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/SimCalorimetry/HcalTrigPrimProducers/src/HcalTTPDigiProducer.h

Go to the documentation of this file.
00001 #ifndef HcalTrigPrimProducers_HcalTTPDigiProducer_h
00002 #define HcalTrigPrimProducers_HcalTTPDigiProducer_h
00003 
00004 #include "FWCore/Framework/interface/EDProducer.h"
00005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00006 #include "FWCore/Framework/interface/Event.h"
00007 #include "FWCore/Framework/interface/EventSetup.h"
00008 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
00009 
00010 class HcalTTPDigiProducer : public edm::EDProducer
00011 {
00012 public:
00013 
00014   explicit HcalTTPDigiProducer(const edm::ParameterSet& ps);
00015   virtual ~HcalTTPDigiProducer();
00016 
00017   virtual void produce(edm::Event& e, const edm::EventSetup& c);
00018 
00019 private:
00020 
00021     bool isMasked(HcalDetId id) ; 
00022     bool decision(int nP, int nM, int bit) ; 
00023     
00024     edm::InputTag hfDigis_ ;
00025     std::vector<unsigned int> maskedChannels_ ; 
00026     std::string bit_[4] ;
00027     int calc_[4] ; 
00028     int nHits_[4], nHFp_[4], nHFm_[4] ;
00029     char pReq_[4], mReq_[4], pmLogic_[4] ; 
00030     int id_, samples_, presamples_ ;
00031     int fwAlgo_ ; 
00032     int iEtaMin_, iEtaMax_ ;
00033     unsigned int threshold_ ;
00034 
00035     int SoI_ ;
00036     
00037     static const int inputs_[] ;
00038 };
00039 
00040 #endif
00041 
00042