File indexing completed on 2024-04-06 12:25:47
0001 #ifndef RecoLocalCalo_HcalRecAlgos_HFStripFilter_h_
0002 #define RecoLocalCalo_HcalRecAlgos_HFStripFilter_h_
0003
0004 #include <memory>
0005
0006 #include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h"
0007 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0008 #include "CondFormats/HcalObjects/interface/HcalChannelQuality.h"
0009
0010 class HFStripFilter {
0011 public:
0012
0013 HFStripFilter(double stripThreshold,
0014 double maxThreshold,
0015 double timeMax,
0016 double maxStripTime,
0017 double wedgeCut,
0018 int seedHitIetaMax,
0019 int gap,
0020 int lstrips,
0021 int verboseLevel);
0022
0023
0024 ~HFStripFilter();
0025
0026
0027 void runFilter(HFRecHitCollection& rec, const HcalChannelQuality* myqual) const;
0028
0029
0030 static std::unique_ptr<HFStripFilter> parseParameterSet(const edm::ParameterSet& ps);
0031
0032
0033 static edm::ParameterSetDescription fillDescription();
0034
0035 private:
0036 double stripThreshold_;
0037 double maxThreshold_;
0038 double timeMax_;
0039 double maxStripTime_;
0040 double wedgeCut_;
0041 int seedHitIetaMax_;
0042 int gap_;
0043 int lstrips_;
0044 int verboseLevel_;
0045 };
0046
0047 #endif