CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/RecoLocalCalo/HcalRecProducers/src/HcalHitReconstructor.h

Go to the documentation of this file.
00001 #ifndef HCALHITRECONSTRUCTOR_H 
00002 #define HCALHITRECONSTRUCTOR_H 1
00003 
00004 #include "FWCore/Framework/interface/EDProducer.h"
00005 #include "DataFormats/Common/interface/EDProduct.h"
00006 #include "FWCore/Framework/interface/Event.h"
00007 #include "DataFormats/Common/interface/Handle.h"
00008 
00009 #include "FWCore/Framework/interface/EventSetup.h"
00010 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00011 
00012 #include "RecoLocalCalo/HcalRecAlgos/interface/HcalSimpleRecAlgo.h"
00013 #include "RecoLocalCalo/HcalRecAlgos/interface/HcalHFStatusBitFromRecHits.h"
00014 #include "RecoLocalCalo/HcalRecAlgos/interface/HcalHFStatusBitFromDigis.h"
00015 #include "RecoLocalCalo/HcalRecAlgos/interface/HcalCaloFlagLabels.h"
00016 #include "CondFormats/HcalObjects/interface/HcalChannelQuality.h"
00017 #include "CondFormats/HcalObjects/interface/HcalChannelStatus.h"
00018 #include "RecoLocalCalo/HcalRecAlgos/interface/HBHEStatusBitSetter.h"
00019 #include "RecoLocalCalo/HcalRecAlgos/interface/HcalTimingCorrector.h"
00020 #include "RecoLocalCalo/HcalRecAlgos/interface/HBHETimeProfileStatusBitSetter.h"
00021 #include "RecoLocalCalo/HcalRecAlgos/interface/HBHETimingShapedFlag.h"
00022 #include "RecoLocalCalo/HcalRecAlgos/interface/HBHEPulseShapeFlag.h"
00023 #include "RecoLocalCalo/HcalRecAlgos/interface/HcalADCSaturationFlag.h"
00024 #include "RecoLocalCalo/HcalRecAlgos/interface/HFTimingTrustFlag.h"
00025 #include "RecoLocalCalo/HcalRecAlgos/interface/HcalHF_S9S1algorithm.h"
00026 #include "RecoLocalCalo/HcalRecAlgos/interface/HcalHF_PETalgorithm.h"
00027 
00035     class HcalHitReconstructor : public edm::EDProducer {
00036     public:
00037       explicit HcalHitReconstructor(const edm::ParameterSet& ps);
00038       virtual ~HcalHitReconstructor();
00039       virtual void produce(edm::Event& e, const edm::EventSetup& c);
00040     private:      
00041       HcalSimpleRecAlgo reco_;
00042       HcalADCSaturationFlag* saturationFlagSetter_;
00043       HFTimingTrustFlag* HFTimingTrustFlagSetter_;
00044       HBHEStatusBitSetter* hbheFlagSetter_;
00045       HBHETimeProfileStatusBitSetter* hbheHSCPFlagSetter_;
00046       HBHETimingShapedFlagSetter* hbheTimingShapedFlagSetter_;
00047       HBHEPulseShapeFlagSetter *hbhePulseShapeFlagSetter_;
00048       HcalHFStatusBitFromDigis*   hfdigibit_;
00049       HcalHF_S9S1algorithm*       hfS9S1_;
00050       HcalHF_S9S1algorithm*       hfS8S1_;
00051       HcalHF_PETalgorithm*        hfPET_;
00052  
00053       DetId::Detector det_;
00054       int subdet_;
00055       HcalOtherSubdetector subdetOther_;
00056       edm::InputTag inputLabel_;
00057       //std::vector<std::string> channelStatusToDrop_;
00058       bool correctTiming_; // turn on/off Ken Rossato's algorithm to fix timing
00059       bool setNoiseFlags_; // turn on/off basic noise flags
00060       bool setHSCPFlags_;  // turn on/off HSCP noise flags
00061       bool setSaturationFlags_; // turn on/off flag indicating ADC saturation
00062       bool setTimingTrustFlags_; // turn on/off HF timing uncertainty flag 
00063       bool setPulseShapeFlags_; //  turn on/off HBHE fit-based noise flags
00064       bool dropZSmarkedPassed_; // turn on/off dropping of zero suppression marked and passed digis
00065 
00066       int firstauxTS_;
00067     };
00068 
00069 #endif