CMS 3D CMS Logo

HcalSimpleReconstructor.h
Go to the documentation of this file.
1 #ifndef HCALSIMPLERECONSTRUCTOR_H
2 #define HCALSIMPLERECONSTRUCTOR_H 1
3 
4 #include <memory>
5 
14 
18 
19 namespace edm {
21 }
22 
27 class HcalTopology;
29 class HcalRecoParamsRcd;
30 class HcalDbService;
31 class HcalDbRecord;
32 
34 public:
35  explicit HcalSimpleReconstructor(const edm::ParameterSet& ps);
36  ~HcalSimpleReconstructor() override;
37  void produce(edm::Event& e, const edm::EventSetup& c) final;
38  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
39  void beginRun(edm::Run const& r, edm::EventSetup const& es) final;
40  void endRun(edm::Run const& r, edm::EventSetup const& es) final;
41 
42 private:
43  template <class DIGICOLL, class RECHITCOLL>
47  int subdet_;
50 
54 
55  bool dropZSmarkedPassed_; // turn on/off dropping of zero suppression marked and passed digis
56 
57  // legacy parameters for config-set values compatibility
58  // to be removed after 4_2_0...
61  bool tsFromDB_;
62 
63  std::unique_ptr<HcalRecoParams> paramTS_; // firstSample & sampleToAdd from DB
64 
65  // ES tokens
69 };
70 
71 #endif
Handle.h
HcalRecoParams.h
HcalSimpleReconstructor::tsFromDB_
bool tsFromDB_
Definition: HcalSimpleReconstructor.h:61
HcalSimpleReconstructor::reco_
HcalSimpleRecAlgo reco_
Definition: HcalSimpleReconstructor.h:45
HcalSimpleReconstructor::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HcalSimpleReconstructor.cc:119
HcalSimpleReconstructor::paramTS_
std::unique_ptr< HcalRecoParams > paramTS_
Definition: HcalSimpleReconstructor.h:63
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
edm
HLT enums.
Definition: AlignableModifier.h:19
HcalTopology
Definition: HcalTopology.h:26
EDProducer.h
HcalSimpleReconstructor::paramsToken_
edm::ESGetToken< HcalRecoParams, HcalRecoParamsRcd > paramsToken_
Definition: HcalSimpleReconstructor.h:67
HcalSimpleReconstructor::HcalSimpleReconstructor
HcalSimpleReconstructor(const edm::ParameterSet &ps)
Definition: HcalSimpleReconstructor.cc:16
ESGetToken.h
HcalSimpleReconstructor::subdetOther_
HcalOtherSubdetector subdetOther_
Definition: HcalSimpleReconstructor.h:48
HcalSimpleReconstructor::process
void process(edm::Event &e, const edm::EventSetup &c, const edm::EDGetTokenT< DIGICOLL > &tok)
Definition: HcalSimpleReconstructor.cc:66
HcalSimpleReconstructor::produce
void produce(edm::Event &e, const edm::EventSetup &c) final
Definition: HcalSimpleReconstructor.cc:107
HcalDigiCollections.h
HcalSimpleReconstructor::beginRun
void beginRun(edm::Run const &r, edm::EventSetup const &es) final
Definition: HcalSimpleReconstructor.cc:53
HcalSimpleReconstructor::tok_ho_
edm::EDGetTokenT< HODigiCollection > tok_ho_
Definition: HcalSimpleReconstructor.h:52
HcalSimpleReconstructor
Definition: HcalSimpleReconstructor.h:33
HcalSimpleReconstructor::subdet_
int subdet_
Definition: HcalSimpleReconstructor.h:47
HcalRecNumberingRecord
Definition: HcalRecNumberingRecord.h:23
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
HcalSimpleReconstructor::dropZSmarkedPassed_
bool dropZSmarkedPassed_
Definition: HcalSimpleReconstructor.h:55
edm::ParameterSet
Definition: ParameterSet.h:47
HcalSimpleReconstructor::htopoToken_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > htopoToken_
Definition: HcalSimpleReconstructor.h:66
HcalOtherSubdetector
HcalOtherSubdetector
Definition: HcalAssistant.h:40
Event.h
HcalSimpleRecAlgo.h
edm::stream::EDProducer
Definition: EDProducer.h:38
DetId::Detector
Detector
Definition: DetId.h:24
edm::EventSetup
Definition: EventSetup.h:57
HcalSimpleReconstructor::firstSample_
int firstSample_
Definition: HcalSimpleReconstructor.h:59
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
HcalRecoParam.h
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord >
alignCSCRings.r
r
Definition: alignCSCRings.py:93
HcalSimpleReconstructor::samplesToAdd_
int samplesToAdd_
Definition: HcalSimpleReconstructor.h:60
HcalSimpleReconstructor::conditionsToken_
edm::ESGetToken< HcalDbService, HcalDbRecord > conditionsToken_
Definition: HcalSimpleReconstructor.h:68
HcalSimpleReconstructor::tok_hf_
edm::EDGetTokenT< HFDigiCollection > tok_hf_
Definition: HcalSimpleReconstructor.h:51
HcalDbService
Definition: HcalDbService.h:26
HcalSimpleReconstructor::endRun
void endRun(edm::Run const &r, edm::EventSetup const &es) final
Definition: HcalSimpleReconstructor.cc:63
ConfigurationDescriptions
HcalSimpleReconstructor::tok_calib_
edm::EDGetTokenT< HcalCalibDigiCollection > tok_calib_
Definition: HcalSimpleReconstructor.h:53
HcalRecoParamsRcd
Definition: HcalRecoParamsRcd.h:6
EventSetup.h
HcalSimpleRecAlgo
Definition: HcalSimpleRecAlgo.h:34
HcalRecHitCollections.h
HcalDbRecord
Definition: HcalDbRecord.h:30
ParameterSet.h
HcalSimpleReconstructor::~HcalSimpleReconstructor
~HcalSimpleReconstructor() override
Definition: HcalSimpleReconstructor.cc:51
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
HcalSimpleReconstructor::det_
DetId::Detector det_
Definition: HcalSimpleReconstructor.h:46
HcalSimpleReconstructor::inputLabel_
edm::InputTag inputLabel_
Definition: HcalSimpleReconstructor.h:49
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37