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