CMS 3D CMS Logo

HLTHcalTowerNoiseCleanerWithrechit.h
Go to the documentation of this file.
1 #ifndef HLTHcalTowerNoiseCleanerWithrechit_h
2 #define HLTHcalTowerNoiseCleanerWithrechit_h
3 
14 
18 
19 namespace edm {
21 }
22 
24 public:
27  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
28  void produce(edm::Event&, const edm::EventSetup&) override;
29 
30 private:
33  // parameters
36  int severity_;
40  double minRBXEnergy_;
41  double minRatio_;
42  double maxRatio_;
46  int minZeros_;
49  double maxRBXEMF_;
50 
51  // imported from the RecoMET/METProducers/python/hcalnoiseinfoproducer_cfi
53 
55  std::vector<std::pair<double, double> > TS4TS5UpperCut_;
56  std::vector<std::pair<double, double> > TS4TS5LowerCut_;
57 
58  // Rechit-r45 filter parameters:
59  std::vector<double> hltMinRBXRechitR45Cuts_;
60 
61  // helper function to compare noise data energies
62  struct noisedatacomp {
63  inline bool operator()(const CommonHcalNoiseRBXData& t1, const CommonHcalNoiseRBXData& t2) const {
64  return t1.energy() > t2.energy();
65  }
66  };
67  typedef std::set<CommonHcalNoiseRBXData, noisedatacomp> noisedataset_t;
68 };
69 
70 #endif //HLTHcalTowerNoiseCleanerWithrechit_h
HLTHcalTowerNoiseCleanerWithrechit::noisedataset_t
std::set< CommonHcalNoiseRBXData, noisedatacomp > noisedataset_t
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:67
RandomServiceHelper.t2
t2
Definition: RandomServiceHelper.py:257
HcalNoiseRBX.h
HLTHcalTowerNoiseCleanerWithrechit::TowerCollectionTag_
edm::InputTag TowerCollectionTag_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:35
CaloTower.h
HLTHcalTowerNoiseCleanerWithrechit::m_theHcalNoiseToken
edm::EDGetTokenT< reco::HcalNoiseRBXCollection > m_theHcalNoiseToken
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:31
edm::EDGetTokenT< reco::HcalNoiseRBXCollection >
HLTHcalTowerNoiseCleanerWithrechit::needEMFCoincidence_
bool needEMFCoincidence_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:39
edm
HLT enums.
Definition: AlignableModifier.h:19
HLTHcalTowerNoiseCleanerWithrechit::HcalNoiseRBXCollectionTag_
edm::InputTag HcalNoiseRBXCollectionTag_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:34
HLTHcalTowerNoiseCleanerWithrechit::severity_
int severity_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:36
EDProducer.h
HLTHcalTowerNoiseCleanerWithrechit::~HLTHcalTowerNoiseCleanerWithrechit
~HLTHcalTowerNoiseCleanerWithrechit() override
HLTHcalTowerNoiseCleanerWithrechit
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:23
HLTHcalTowerNoiseCleanerWithrechit::minRBXEnergy_
double minRBXEnergy_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:40
HLTHcalTowerNoiseCleanerWithrechit::minHPDHits_
int minHPDHits_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:43
HLTHcalTowerNoiseCleanerWithrechit::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTHcalTowerNoiseCleanerWithrechit.cc:99
HLTHcalTowerNoiseCleanerWithrechit::numRBXsToConsider_
int numRBXsToConsider_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:38
HLTHcalTowerNoiseCleanerWithrechit::noisedatacomp
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:62
HLTHcalTowerNoiseCleanerWithrechit::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: HLTHcalTowerNoiseCleanerWithrechit.cc:147
HLTHcalTowerNoiseCleanerWithrechit::minR45HitE_
double minR45HitE_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:52
CommonHcalNoiseRBXData
Definition: HcalNoiseAlgo.h:11
HLTHcalTowerNoiseCleanerWithrechit::noisedatacomp::operator()
bool operator()(const CommonHcalNoiseRBXData &t1, const CommonHcalNoiseRBXData &t2) const
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:63
HLTHcalTowerNoiseCleanerWithrechit::minHPDNoOtherHits_
int minHPDNoOtherHits_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:45
RandomServiceHelper.t1
t1
Definition: RandomServiceHelper.py:256
HLTHcalTowerNoiseCleanerWithrechit::minRecHitE_
double minRecHitE_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:52
HLTHcalTowerNoiseCleanerWithrechit::TS4TS5LowerCut_
std::vector< std::pair< double, double > > TS4TS5LowerCut_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:56
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
HLTHcalTowerNoiseCleanerWithrechit::minHighHitE_
double minHighHitE_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:52
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
HLTHcalTowerNoiseCleanerWithrechit::HLTHcalTowerNoiseCleanerWithrechit
HLTHcalTowerNoiseCleanerWithrechit(const edm::ParameterSet &)
Definition: HLTHcalTowerNoiseCleanerWithrechit.cc:52
HLTHcalTowerNoiseCleanerWithrechit::minRBXHits_
int minRBXHits_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:44
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
CaloTowerCollection.h
HLTHcalTowerNoiseCleanerWithrechit::maxRBXEMF_
double maxRBXEMF_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:49
HLTHcalTowerNoiseCleanerWithrechit::maxNumRBXs_
int maxNumRBXs_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:37
HLTHcalTowerNoiseCleanerWithrechit::hltMinRBXRechitR45Cuts_
std::vector< double > hltMinRBXRechitR45Cuts_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:59
ConfigurationDescriptions
HLTHcalTowerNoiseCleanerWithrechit::TS4TS5EnergyThreshold_
double TS4TS5EnergyThreshold_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:54
HLTHcalTowerNoiseCleanerWithrechit::minLowHitE_
double minLowHitE_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:52
HLTHcalTowerNoiseCleanerWithrechit::m_theCaloTowerCollectionToken
edm::EDGetTokenT< CaloTowerCollection > m_theCaloTowerCollectionToken
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:32
HLTHcalTowerNoiseCleanerWithrechit::minRatio_
double minRatio_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:41
EventSetup.h
HLTHcalTowerNoiseCleanerWithrechit::maxHighEHitTime_
double maxHighEHitTime_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:48
HLTHcalTowerNoiseCleanerWithrechit::maxRatio_
double maxRatio_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:42
ParameterSet.h
HLTHcalTowerNoiseCleanerWithrechit::minZeros_
int minZeros_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:46
HcalNoiseAlgo.h
edm::Event
Definition: Event.h:73
HLTHcalTowerNoiseCleanerWithrechit::minHighEHitTime_
double minHighEHitTime_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:47
edm::InputTag
Definition: InputTag.h:15
HLTHcalTowerNoiseCleanerWithrechit::TS4TS5UpperCut_
std::vector< std::pair< double, double > > TS4TS5UpperCut_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:55