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 
20 
21 class EcalCleaningAlgo;
22 class EBDetId;
23 class EEDetId;
24 class EcalTrigTowerDetId;
25 class EcalScDetId;
26 
28 public:
29  explicit EcalRecHitProducer(const edm::ParameterSet& ps);
30  ~EcalRecHitProducer() override;
31  void produce(edm::Event& evt, const edm::EventSetup& es) override;
32  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
33 
34 private:
35  const bool doEB_; // consume and use the EB uncalibrated RecHits. An EB collection is produced even if this is false
36  const bool doEE_; // consume and use the EE uncalibrated RecHits. An EE collection is produced even if this is false
39  const bool recoverEBVFE_;
40  const bool recoverEEVFE_;
41  const bool recoverEBFE_;
42  const bool recoverEEFE_;
43  const bool killDeadChannels_;
44 
45  std::unique_ptr<EcalRecHitWorkerBaseClass> worker_;
46  std::unique_ptr<EcalRecHitWorkerBaseClass> workerRecover_;
47 
48  std::unique_ptr<EcalCleaningAlgo> cleaningAlgo_;
49 
59 };
60 
61 #endif
const bool killDeadChannels_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::unique_ptr< EcalCleaningAlgo > cleaningAlgo_
~EcalRecHitProducer() override
EcalRecHitProducer(const edm::ParameterSet &ps)
const edm::EDPutTokenT< EBRecHitCollection > ebRecHitToken_
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > ecalChannelStatusToken_
const bool recoverEBIsolatedChannels_
edm::EDGetTokenT< EEUncalibratedRecHitCollection > eeUncalibRecHitToken_
const edm::EDPutTokenT< EERecHitCollection > eeRecHitToken_
const bool recoverEEIsolatedChannels_
edm::EDGetTokenT< EBUncalibratedRecHitCollection > ebUncalibRecHitToken_
edm::EDGetTokenT< std::set< EBDetId > > ebDetIdToBeRecoveredToken_
std::unique_ptr< EcalRecHitWorkerBaseClass > workerRecover_
edm::EDGetTokenT< std::set< EcalScDetId > > eeFEToBeRecoveredToken_
void produce(edm::Event &evt, const edm::EventSetup &es) override
std::unique_ptr< EcalRecHitWorkerBaseClass > worker_
edm::EDGetTokenT< std::set< EEDetId > > eeDetIdToBeRecoveredToken_
edm::EDGetTokenT< std::set< EcalTrigTowerDetId > > ebFEToBeRecoveredToken_