CMS 3D CMS Logo

ZdcHitReconstructor.h
Go to the documentation of this file.
1 #ifndef ZDCHITRECONSTRUCTOR_H
2 #define ZDCHITRECONSTRUCTOR_H 1
3 
7 
10 
24 
27 
28 class HcalTopology;
29 
36 public:
37  explicit ZdcHitReconstructor(const edm::ParameterSet& ps);
38  ~ZdcHitReconstructor() override;
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  void produce(edm::Event& e, const edm::EventSetup& c) final;
42 
43 private:
51 
53  int subdet_;
57  //std::vector<std::string> channelStatusToDrop_;
58  bool correctTiming_; // turn on/off Ken Rossato's algorithm to fix timing
59  bool setNoiseFlags_; // turn on/off basic noise flags
60  bool setHSCPFlags_; // turn on/off HSCP noise flags
61  bool setSaturationFlags_; // turn on/off flag indicating ADC saturation
62  bool setTimingTrustFlags_; // turn on/off HF timing uncertainty flag
63 
64  bool dropZSmarkedPassed_; // turn on/off dropping of zero suppression marked and passed digis
65  std::vector<int> AuxTSvec_;
66  // new lowGainEnergy variables
68  double lowGainFrac_;
69 
70  HcalLongRecoParams* myobject; //noiseTS and signalTS from db
72 };
73 
74 #endif
ZdcHitReconstructor::setHSCPFlags_
bool setHSCPFlags_
Definition: ZdcHitReconstructor.h:60
ZdcHitReconstructor::endRun
void endRun(edm::Run const &r, edm::EventSetup const &es) final
Definition: ZdcHitReconstructor.cc:79
Handle.h
ZdcHitReconstructor::hbheTimingShapedFlagSetter_
HBHETimingShapedFlagSetter * hbheTimingShapedFlagSetter_
Definition: ZdcHitReconstructor.h:48
ZdcHitReconstructor::dropZSmarkedPassed_
bool dropZSmarkedPassed_
Definition: ZdcHitReconstructor.h:64
ZdcHitReconstructor::reco_
ZdcSimpleRecAlgo reco_
Definition: ZdcHitReconstructor.h:44
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:67
EDProducer.h
ZdcHitReconstructor::HFTimingTrustFlagSetter_
HFTimingTrustFlag * HFTimingTrustFlagSetter_
Definition: ZdcHitReconstructor.h:46
HBHETimeProfileStatusBitSetter
Definition: HBHETimeProfileStatusBitSetter.h:15
ZdcHitReconstructor
Definition: ZdcHitReconstructor.h:35
ZdcHitReconstructor::theTopology
HcalTopology * theTopology
Definition: ZdcHitReconstructor.h:71
HBHETimingShapedFlagSetter
Definition: HBHETimingShapedFlag.h:8
HcalHFStatusBitFromRecHits.h
ZdcHitReconstructor::lowGainFrac_
double lowGainFrac_
Definition: ZdcHitReconstructor.h:68
HcalLongRecoParam.h
HcalADCSaturationFlag.h
HcalTimingCorrector.h
ZdcHitReconstructor::myobject
HcalLongRecoParams * myobject
Definition: ZdcHitReconstructor.h:70
HcalDigiCollections.h
ZdcHitReconstructor::hbheHSCPFlagSetter_
HBHETimeProfileStatusBitSetter * hbheHSCPFlagSetter_
Definition: ZdcHitReconstructor.h:47
ZdcHitReconstructor::hfdigibit_
HcalHFStatusBitFromDigis * hfdigibit_
Definition: ZdcHitReconstructor.h:50
ZdcHitReconstructor::AuxTSvec_
std::vector< int > AuxTSvec_
Definition: ZdcHitReconstructor.h:65
edm::ParameterSet
Definition: ParameterSet.h:36
ZdcHitReconstructor::ZdcHitReconstructor
ZdcHitReconstructor(const edm::ParameterSet &ps)
Definition: ZdcHitReconstructor.cc:18
ZdcHitReconstructor::correctTiming_
bool correctTiming_
Definition: ZdcHitReconstructor.h:58
HcalOtherSubdetector
HcalOtherSubdetector
Definition: HcalAssistant.h:40
HcalCaloFlagLabels.h
Event.h
HcalADCSaturationFlag
Definition: HcalADCSaturationFlag.h:23
HcalHFStatusBitFromRecHits
Definition: HcalHFStatusBitFromRecHits.h:18
ZdcHitReconstructor::setSaturationFlags_
bool setSaturationFlags_
Definition: ZdcHitReconstructor.h:61
ZdcHitReconstructor::hfrechitbit_
HcalHFStatusBitFromRecHits * hfrechitbit_
Definition: ZdcHitReconstructor.h:49
ZdcSimpleRecAlgo
Definition: ZdcSimpleRecAlgo.h:36
ZdcHitReconstructor::beginRun
void beginRun(edm::Run const &r, edm::EventSetup const &es) final
Definition: ZdcHitReconstructor.cc:68
ZdcHitReconstructor::produce
void produce(edm::Event &e, const edm::EventSetup &c) final
Definition: ZdcHitReconstructor.cc:85
HcalHFStatusBitFromDigis
Definition: HcalHFStatusBitFromDigis.h:18
edm::stream::EDProducer
Definition: EDProducer.h:38
HFTimingTrustFlag
Definition: HFTimingTrustFlag.h:14
ZdcHitReconstructor::~ZdcHitReconstructor
~ZdcHitReconstructor() override
Definition: ZdcHitReconstructor.cc:66
DetId::Detector
Detector
Definition: DetId.h:24
edm::EventSetup
Definition: EventSetup.h:57
ZdcHitReconstructor::det_
DetId::Detector det_
Definition: ZdcHitReconstructor.h:52
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
HcalChannelStatus.h
ZdcHitReconstructor::subdet_
int subdet_
Definition: ZdcHitReconstructor.h:53
ZdcHitReconstructor::saturationFlagSetter_
HcalADCSaturationFlag * saturationFlagSetter_
Definition: ZdcHitReconstructor.h:45
HcalChannelQuality.h
alignCSCRings.r
r
Definition: alignCSCRings.py:93
ZdcHitReconstructor::tok_input_castor
edm::EDGetTokenT< ZDCDigiCollection > tok_input_castor
Definition: ZdcHitReconstructor.h:56
HcalHFStatusBitFromDigis.h
HBHETimingShapedFlag.h
HFTimingTrustFlag.h
EventSetup.h
ZdcSimpleRecAlgo.h
HcalRecHitCollections.h
HcalLongRecoParams
Definition: HcalLongRecoParams.h:9
ParameterSet.h
edm::Event
Definition: Event.h:73
ZdcHitReconstructor::setNoiseFlags_
bool setNoiseFlags_
Definition: ZdcHitReconstructor.h:59
ZdcHitReconstructor::setTimingTrustFlags_
bool setTimingTrustFlags_
Definition: ZdcHitReconstructor.h:62
ZdcHitReconstructor::subdetOther_
HcalOtherSubdetector subdetOther_
Definition: ZdcHitReconstructor.h:54
ZdcHitReconstructor::tok_input_hcal
edm::EDGetTokenT< ZDCDigiCollection > tok_input_hcal
Definition: ZdcHitReconstructor.h:55
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
HcalLongRecoParams.h