CMS 3D CMS Logo

ZdcSimpleReconstructor.h
Go to the documentation of this file.
1 #ifndef ZDCSIMPLERECONSTRUCTOR_H
2 #define ZDCSIMPLERECONSTRUCTOR_H 1
3 
4 #include <memory>
5 
16 
18 
21 
22 class HcalTopology;
25 class HcalDbService;
26 class HcalDbRecord;
27 class HcalTimeSlew;
28 class HcalTimeSlewRecord;
29 
35 public:
36  explicit ZdcSimpleReconstructor(const edm::ParameterSet& ps);
37  ~ZdcSimpleReconstructor() override;
38  void beginRun(edm::Run const& r, edm::EventSetup const& es) final;
39  void endRun(edm::Run const& r, edm::EventSetup const& es) final;
40  void produce(edm::Event& e, const edm::EventSetup& c) override;
41 
42 private:
45  int subdet_;
49 
50  bool dropZSmarkedPassed_; // turn on/off dropping of zero suppression marked and passed digis
51 
52  std::unique_ptr<HcalLongRecoParams> longRecoParams_; //noiseTS and signalTS from db
53 
55 
56  // ES tokens
61 };
62 
63 #endif
ZdcSimpleReconstructor::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: ZdcSimpleReconstructor.cc:60
Handle.h
HcalLongRecoParamsRcd
Definition: HcalLongRecoParamsRcd.h:6
MessageLogger.h
ZdcSimpleReconstructor::htopoToken_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > htopoToken_
Definition: ZdcSimpleReconstructor.h:57
edm::Run
Definition: Run.h:45
ZdcSimpleReconstructor::tok_input_hcal
edm::EDGetTokenT< ZDCDigiCollection > tok_input_hcal
Definition: ZdcSimpleReconstructor.h:47
edm::EDGetTokenT
Definition: EDGetToken.h:33
ZdcSimpleReconstructor::ZdcSimpleReconstructor
ZdcSimpleReconstructor(const edm::ParameterSet &ps)
Definition: ZdcSimpleReconstructor.cc:13
HcalTopology
Definition: HcalTopology.h:26
HcalTimeSlew.h
EDProducer.h
ESGetToken.h
HcalTimeSlew
Definition: HcalTimeSlew.h:19
HcalLongRecoParam.h
ZdcSimpleReconstructor::~ZdcSimpleReconstructor
~ZdcSimpleReconstructor() override
Definition: ZdcSimpleReconstructor.cc:47
ZdcSimpleReconstructor::det_
DetId::Detector det_
Definition: ZdcSimpleReconstructor.h:44
ZdcSimpleReconstructor::longRecoParams_
std::unique_ptr< HcalLongRecoParams > longRecoParams_
Definition: ZdcSimpleReconstructor.h:52
HcalDigiCollections.h
HcalTimeSlewRecord
Definition: HcalTimeSlewRecord.h:4
ZdcSimpleReconstructor::hcalTimeSlew_delay_
const HcalTimeSlew * hcalTimeSlew_delay_
Definition: ZdcSimpleReconstructor.h:54
HcalRecNumberingRecord
Definition: HcalRecNumberingRecord.h:23
edm::ParameterSet
Definition: ParameterSet.h:47
HcalOtherSubdetector
HcalOtherSubdetector
Definition: HcalAssistant.h:40
Event.h
ZdcSimpleReconstructor::subdet_
int subdet_
Definition: ZdcSimpleReconstructor.h:45
ZdcSimpleRecAlgo
Definition: ZdcSimpleRecAlgo.h:36
edm::stream::EDProducer
Definition: EDProducer.h:36
DetId::Detector
Detector
Definition: DetId.h:24
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord >
ZdcSimpleReconstructor::endRun
void endRun(edm::Run const &r, edm::EventSetup const &es) final
Definition: ZdcSimpleReconstructor.cc:58
alignCSCRings.r
r
Definition: alignCSCRings.py:93
ZdcSimpleReconstructor::timeSlewToken_
edm::ESGetToken< HcalTimeSlew, HcalTimeSlewRecord > timeSlewToken_
Definition: ZdcSimpleReconstructor.h:60
HcalDbService
Definition: HcalDbService.h:23
ZdcSimpleReconstructor::dropZSmarkedPassed_
bool dropZSmarkedPassed_
Definition: ZdcSimpleReconstructor.h:50
ZdcSimpleReconstructor::beginRun
void beginRun(edm::Run const &r, edm::EventSetup const &es) final
Definition: ZdcSimpleReconstructor.cc:49
ZdcSimpleReconstructor::subdetOther_
HcalOtherSubdetector subdetOther_
Definition: ZdcSimpleReconstructor.h:46
EventSetup.h
ZdcSimpleRecAlgo.h
HcalRecHitCollections.h
ZdcSimpleReconstructor::paramsToken_
edm::ESGetToken< HcalLongRecoParams, HcalLongRecoParamsRcd > paramsToken_
Definition: ZdcSimpleReconstructor.h:58
ZdcSimpleReconstructor::reco_
ZdcSimpleRecAlgo reco_
Definition: ZdcSimpleReconstructor.h:43
ZdcSimpleReconstructor::tok_input_castor
edm::EDGetTokenT< ZDCDigiCollection > tok_input_castor
Definition: ZdcSimpleReconstructor.h:48
ZdcSimpleReconstructor::conditionsToken_
edm::ESGetToken< HcalDbService, HcalDbRecord > conditionsToken_
Definition: ZdcSimpleReconstructor.h:59
HcalDbRecord
Definition: HcalDbRecord.h:30
ParameterSet.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition: Event.h:73
ZdcSimpleReconstructor
Definition: ZdcSimpleReconstructor.h:34
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
HcalLongRecoParams.h