CMS 3D CMS Logo

ZdcHitReconstructor.h
Go to the documentation of this file.
1 #ifndef ZDCHITRECONSTRUCTOR_H
2 #define ZDCHITRECONSTRUCTOR_H 1
3 
4 #include <memory>
5 
9 
13 
27 
30 
31 class HcalTopology;
34 class HcalDbService;
35 class HcalDbRecord;
36 class HcalChannelQuality;
40 
47 public:
48  explicit ZdcHitReconstructor(const edm::ParameterSet& ps);
49  ~ZdcHitReconstructor() override;
50  void beginRun(edm::Run const& r, edm::EventSetup const& es) final;
51  void endRun(edm::Run const& r, edm::EventSetup const& es) final;
52  void produce(edm::Event& e, const edm::EventSetup& c) final;
53 
54 private:
57 
59  int subdet_;
63 
64  bool correctTiming_; // turn on/off Ken Rossato's algorithm to fix timing
65  bool setNoiseFlags_; // turn on/off basic noise flags
66  bool setHSCPFlags_; // turn on/off HSCP noise flags
67  bool setSaturationFlags_; // turn on/off flag indicating ADC saturation
68  bool setTimingTrustFlags_; // turn on/off HF timing uncertainty flag
69 
70  bool dropZSmarkedPassed_; // turn on/off dropping of zero suppression marked and passed digis
71  std::vector<int> AuxTSvec_;
72 
73  // new lowGainEnergy variables
75  double lowGainFrac_;
76 
77  std::unique_ptr<HcalLongRecoParams> longRecoParams_; //noiseTS and signalTS from db
78 
79  // ES tokens
85 };
86 
87 #endif
ZdcHitReconstructor::setHSCPFlags_
bool setHSCPFlags_
Definition: ZdcHitReconstructor.h:66
ZdcHitReconstructor::htopoToken_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > htopoToken_
Definition: ZdcHitReconstructor.h:80
ZdcHitReconstructor::endRun
void endRun(edm::Run const &r, edm::EventSetup const &es) final
Definition: ZdcHitReconstructor.cc:72
Handle.h
HcalLongRecoParamsRcd
Definition: HcalLongRecoParamsRcd.h:6
ZdcHitReconstructor::longRecoParams_
std::unique_ptr< HcalLongRecoParams > longRecoParams_
Definition: ZdcHitReconstructor.h:77
ZdcHitReconstructor::dropZSmarkedPassed_
bool dropZSmarkedPassed_
Definition: ZdcHitReconstructor.h:70
ZdcHitReconstructor::reco_
ZdcSimpleRecAlgo reco_
Definition: ZdcHitReconstructor.h:55
HcalChannelQualityRcd
Definition: HcalChannelQualityRcd.h:8
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
HBHETimeProfileStatusBitSetter.h
HcalTopology
Definition: HcalTopology.h:26
ZdcHitReconstructor::lowGainOffset_
int lowGainOffset_
Definition: ZdcHitReconstructor.h:74
EDProducer.h
HcalChannelQuality
Definition: HcalChannelQuality.h:17
ZdcHitReconstructor
Definition: ZdcHitReconstructor.h:46
ESGetToken.h
HcalHFStatusBitFromRecHits.h
ZdcHitReconstructor::lowGainFrac_
double lowGainFrac_
Definition: ZdcHitReconstructor.h:75
HcalLongRecoParam.h
HcalADCSaturationFlag.h
ZdcHitReconstructor::paramsToken_
edm::ESGetToken< HcalLongRecoParams, HcalLongRecoParamsRcd > paramsToken_
Definition: ZdcHitReconstructor.h:81
ZdcHitReconstructor::sevToken_
edm::ESGetToken< HcalSeverityLevelComputer, HcalSeverityLevelComputerRcd > sevToken_
Definition: ZdcHitReconstructor.h:84
HcalTimingCorrector.h
HcalDigiCollections.h
HcalSeverityLevelComputer
Definition: HcalSeverityLevelComputer.h:24
ZdcHitReconstructor::conditionsToken_
edm::ESGetToken< HcalDbService, HcalDbRecord > conditionsToken_
Definition: ZdcHitReconstructor.h:82
HcalRecNumberingRecord
Definition: HcalRecNumberingRecord.h:23
ZdcHitReconstructor::AuxTSvec_
std::vector< int > AuxTSvec_
Definition: ZdcHitReconstructor.h:71
edm::ParameterSet
Definition: ParameterSet.h:47
ZdcHitReconstructor::ZdcHitReconstructor
ZdcHitReconstructor(const edm::ParameterSet &ps)
Definition: ZdcHitReconstructor.cc:17
ZdcHitReconstructor::correctTiming_
bool correctTiming_
Definition: ZdcHitReconstructor.h:64
HcalOtherSubdetector
HcalOtherSubdetector
Definition: HcalAssistant.h:40
HcalCaloFlagLabels.h
Event.h
HcalADCSaturationFlag
Definition: HcalADCSaturationFlag.h:23
ZdcHitReconstructor::setSaturationFlags_
bool setSaturationFlags_
Definition: ZdcHitReconstructor.h:67
ZdcHitReconstructor::qualToken_
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcd > qualToken_
Definition: ZdcHitReconstructor.h:83
ZdcSimpleRecAlgo
Definition: ZdcSimpleRecAlgo.h:36
ZdcHitReconstructor::beginRun
void beginRun(edm::Run const &r, edm::EventSetup const &es) final
Definition: ZdcHitReconstructor.cc:65
ZdcHitReconstructor::produce
void produce(edm::Event &e, const edm::EventSetup &c) final
Definition: ZdcHitReconstructor.cc:74
edm::stream::EDProducer
Definition: EDProducer.h:36
ZdcHitReconstructor::~ZdcHitReconstructor
~ZdcHitReconstructor() override
Definition: ZdcHitReconstructor.cc:63
DetId::Detector
Detector
Definition: DetId.h:24
edm::EventSetup
Definition: EventSetup.h:58
ZdcHitReconstructor::det_
DetId::Detector det_
Definition: ZdcHitReconstructor.h:58
HcalChannelStatus.h
ZdcHitReconstructor::subdet_
int subdet_
Definition: ZdcHitReconstructor.h:59
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord >
ZdcHitReconstructor::saturationFlagSetter_
HcalADCSaturationFlag * saturationFlagSetter_
Definition: ZdcHitReconstructor.h:56
HcalChannelQuality.h
alignCSCRings.r
r
Definition: alignCSCRings.py:93
HcalDbService
Definition: HcalDbService.h:23
ZdcHitReconstructor::tok_input_castor
edm::EDGetTokenT< ZDCDigiCollection > tok_input_castor
Definition: ZdcHitReconstructor.h:62
HcalHFStatusBitFromDigis.h
HBHETimingShapedFlag.h
HFTimingTrustFlag.h
EventSetup.h
ZdcSimpleRecAlgo.h
HcalRecHitCollections.h
HcalDbRecord
Definition: HcalDbRecord.h:30
ParameterSet.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition: Event.h:73
ZdcHitReconstructor::setNoiseFlags_
bool setNoiseFlags_
Definition: ZdcHitReconstructor.h:65
HcalSeverityLevelComputerRcd
Definition: HcalSeverityLevelComputerRcd.h:23
ZdcHitReconstructor::setTimingTrustFlags_
bool setTimingTrustFlags_
Definition: ZdcHitReconstructor.h:68
ZdcHitReconstructor::subdetOther_
HcalOtherSubdetector subdetOther_
Definition: ZdcHitReconstructor.h:60
ZdcHitReconstructor::tok_input_hcal
edm::EDGetTokenT< ZDCDigiCollection > tok_input_hcal
Definition: ZdcHitReconstructor.h:61
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
HcalLongRecoParams.h