CMS 3D CMS Logo

EcalRecHitProducer.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecProducers_EcalRecHitProducer_hh
2 #define RecoLocalCalo_EcalRecProducers_EcalRecHitProducer_hh
3 
16 
17 //#include "RecoLocalCalo/EcalRecAlgos/interface/EcalRecHitAbsAlgo.h"
21 
22 class EcalCleaningAlgo;
23 class EBDetId;
24 class EEDetId;
25 class EcalTrigTowerDetId;
26 class EcalScDetId;
27 
29 public:
30  explicit EcalRecHitProducer(const edm::ParameterSet& ps);
31  ~EcalRecHitProducer() override;
32  void produce(edm::Event& evt, const edm::EventSetup& es) override;
33  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
34 
35 private:
36  std::string ebRechitCollection_; // secondary name to be given to EB collection of hits
37  std::string eeRechitCollection_; // secondary name to be given to EE collection of hits
38 
46 
47  std::unique_ptr<EcalRecHitWorkerBaseClass> worker_;
48  std::unique_ptr<EcalRecHitWorkerBaseClass> workerRecover_;
49 
50  std::unique_ptr<EcalCleaningAlgo> cleaningAlgo_;
51 
59 };
60 
61 #endif
EcalRecHitProducer::produce
void produce(edm::Event &evt, const edm::EventSetup &es) override
Definition: EcalRecHitProducer.cc:72
EcalRecHitProducer::ecalChannelStatusToken_
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > ecalChannelStatusToken_
Definition: EcalRecHitProducer.h:58
EcalRecHitProducer::eeDetIdToBeRecoveredToken_
edm::EDGetTokenT< std::set< EEDetId > > eeDetIdToBeRecoveredToken_
Definition: EcalRecHitProducer.h:55
EcalRecHitProducer::recoverEEIsolatedChannels_
bool recoverEEIsolatedChannels_
Definition: EcalRecHitProducer.h:40
EcalRecHitProducer::ebUncalibRecHitToken_
edm::EDGetTokenT< EBUncalibratedRecHitCollection > ebUncalibRecHitToken_
Definition: EcalRecHitProducer.h:52
EcalRecHitProducer::recoverEEFE_
bool recoverEEFE_
Definition: EcalRecHitProducer.h:44
EcalCleaningAlgo
Definition: EcalCleaningAlgo.h:19
edm::EDGetTokenT
Definition: EDGetToken.h:33
EBDetId
Definition: EBDetId.h:17
EcalRecHitProducer::recoverEEVFE_
bool recoverEEVFE_
Definition: EcalRecHitProducer.h:42
EcalRecHitProducer::ebDetIdToBeRecoveredToken_
edm::EDGetTokenT< std::set< EBDetId > > ebDetIdToBeRecoveredToken_
Definition: EcalRecHitProducer.h:54
EcalRecHitProducer::ebRechitCollection_
std::string ebRechitCollection_
Definition: EcalRecHitProducer.h:36
EDProducer.h
EcalRecHitProducer
Definition: EcalRecHitProducer.h:28
EcalTrigTowerDetId
Definition: EcalTrigTowerDetId.h:14
ESGetToken.h
EcalRecHitProducer::worker_
std::unique_ptr< EcalRecHitWorkerBaseClass > worker_
Definition: EcalRecHitProducer.h:47
EcalRecHitProducer::cleaningAlgo_
std::unique_ptr< EcalCleaningAlgo > cleaningAlgo_
Definition: EcalRecHitProducer.h:50
EcalRecHitProducer::recoverEBFE_
bool recoverEBFE_
Definition: EcalRecHitProducer.h:43
EcalScDetId
Definition: EcalScDetId.h:24
EcalRecHitProducer::recoverEBVFE_
bool recoverEBVFE_
Definition: EcalRecHitProducer.h:41
EEDetId
Definition: EEDetId.h:14
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
EcalRecHitProducer::eeRechitCollection_
std::string eeRechitCollection_
Definition: EcalRecHitProducer.h:37
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalRecHitProducer::killDeadChannels_
bool killDeadChannels_
Definition: EcalRecHitProducer.h:45
EcalRecHitProducer::eeFEToBeRecoveredToken_
edm::EDGetTokenT< std::set< EcalScDetId > > eeFEToBeRecoveredToken_
Definition: EcalRecHitProducer.h:57
EcalRecHitProducer::ebFEToBeRecoveredToken_
edm::EDGetTokenT< std::set< EcalTrigTowerDetId > > ebFEToBeRecoveredToken_
Definition: EcalRecHitProducer.h:56
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
EcalRecHitWorkerBaseClass.h
EcalRecHitProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: EcalRecHitProducer.cc:254
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken
Definition: EventSetup.h:48
EcalRecHitProducer::recoverEBIsolatedChannels_
bool recoverEBIsolatedChannels_
Definition: EcalRecHitProducer.h:39
EcalRecHitProducer::eeUncalibRecHitToken_
edm::EDGetTokenT< EEUncalibratedRecHitCollection > eeUncalibRecHitToken_
Definition: EcalRecHitProducer.h:53
EventSetup.h
EcalRecHitProducer::workerRecover_
std::unique_ptr< EcalRecHitWorkerBaseClass > workerRecover_
Definition: EcalRecHitProducer.h:48
EcalRecHitProducer::~EcalRecHitProducer
~EcalRecHitProducer() override
EcalRecHitProducer::EcalRecHitProducer
EcalRecHitProducer(const edm::ParameterSet &ps)
Definition: EcalRecHitProducer.cc:27
ParameterSet.h
edm::Event
Definition: Event.h:73
EcalChannelStatus.h
EcalChannelStatusRcd.h