CMS 3D CMS Logo

ReducedESRecHitCollectionProducer.h
Go to the documentation of this file.
1 #ifndef _ReducedESRecHitCollectionProducer_H
2 #define _ReducedESRecHitCollectionProducer_H
3 
16 #include <iostream>
17 #include <vector>
18 #include <string>
19 #include <map>
20 #include <set>
21 
25 public:
28  void beginRun(edm::Run const&, const edm::EventSetup&) final;
29  void produce(edm::Event& e, const edm::EventSetup& c) override;
30  void collectIds(const ESDetId strip1, const ESDetId strip2, const int& row = 0);
31 
32 private:
34  std::unique_ptr<CaloSubdetectorTopology> topology_p;
35 
36  double scEtThresh_;
37 
41  std::vector<edm::EDGetTokenT<DetIdCollection>> interestingDetIdCollections_;
42  std::vector<edm::EDGetTokenT<DetIdCollection>>
43  interestingDetIdCollectionsNotToClean_; //theres a hard coded cut on rec-hit quality which some collections would prefer not to have...
44 
45  std::set<DetId> collectedIds_;
46 };
47 
48 #endif
ReducedESRecHitCollectionProducer::InputRecHitES_
edm::EDGetTokenT< ESRecHitCollection > InputRecHitES_
Definition: ReducedESRecHitCollectionProducer.h:38
Handle.h
MessageLogger.h
ReducedESRecHitCollectionProducer::beginRun
void beginRun(edm::Run const &, const edm::EventSetup &) final
Definition: ReducedESRecHitCollectionProducer.cc:43
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
ReducedESRecHitCollectionProducer::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: ReducedESRecHitCollectionProducer.cc:56
EDProducer.h
ESDetId
Definition: ESDetId.h:15
ESDetId.h
EcalRecHitCollections.h
MakerMacros.h
ReducedESRecHitCollectionProducer::collectIds
void collectIds(const ESDetId strip1, const ESDetId strip2, const int &row=0)
Definition: ReducedESRecHitCollectionProducer.cc:145
EcalPreshowerGeometry
Definition: EcalPreshowerGeometry.h:15
ReducedESRecHitCollectionProducer::InputSuperClusterEE_
edm::EDGetTokenT< reco::SuperClusterCollection > InputSuperClusterEE_
Definition: ReducedESRecHitCollectionProducer.h:39
ReducedESRecHitCollectionProducer::topology_p
std::unique_ptr< CaloSubdetectorTopology > topology_p
Definition: ReducedESRecHitCollectionProducer.h:34
ReducedESRecHitCollectionProducer::scEtThresh_
double scEtThresh_
Definition: ReducedESRecHitCollectionProducer.h:36
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
ReducedESRecHitCollectionProducer::geometry_p
const EcalPreshowerGeometry * geometry_p
Definition: ReducedESRecHitCollectionProducer.h:33
ReducedESRecHitCollectionProducer::ReducedESRecHitCollectionProducer
ReducedESRecHitCollectionProducer(const edm::ParameterSet &pset)
Definition: ReducedESRecHitCollectionProducer.cc:20
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
CaloSubdetectorTopology
Definition: CaloSubdetectorTopology.h:17
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
ReducedESRecHitCollectionProducer::interestingDetIdCollectionsNotToClean_
std::vector< edm::EDGetTokenT< DetIdCollection > > interestingDetIdCollectionsNotToClean_
Definition: ReducedESRecHitCollectionProducer.h:43
ReducedESRecHitCollectionProducer::interestingDetIdCollections_
std::vector< edm::EDGetTokenT< DetIdCollection > > interestingDetIdCollections_
Definition: ReducedESRecHitCollectionProducer.h:41
ReducedESRecHitCollectionProducer::collectedIds_
std::set< DetId > collectedIds_
Definition: ReducedESRecHitCollectionProducer.h:45
ReducedESRecHitCollectionProducer::OutputLabelES_
std::string OutputLabelES_
Definition: ReducedESRecHitCollectionProducer.h:40
SuperClusterFwd.h
DetId.h
ParameterSet.h
edm::Event
Definition: Event.h:73
ReducedESRecHitCollectionProducer::~ReducedESRecHitCollectionProducer
~ReducedESRecHitCollectionProducer() override
DetIdCollection.h
ReducedESRecHitCollectionProducer
Definition: ReducedESRecHitCollectionProducer.h:24
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37