CMS 3D CMS Logo

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