CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Static Public Member Functions | Private Types | Private Attributes
HLTHcalTowerNoiseCleanerWithrechit Class Reference

#include <HLTHcalTowerNoiseCleanerWithrechit.h>

Inheritance diagram for HLTHcalTowerNoiseCleanerWithrechit:
edm::stream::EDProducer<>

Classes

struct  noisedatacomp
 

Public Member Functions

 HLTHcalTowerNoiseCleanerWithrechit (const edm::ParameterSet &)
 
void produce (edm::Event &, const edm::EventSetup &) override
 
 ~HLTHcalTowerNoiseCleanerWithrechit () override
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Types

typedef std::set< CommonHcalNoiseRBXData, noisedatacompnoisedataset_t
 

Private Attributes

edm::InputTag HcalNoiseRBXCollectionTag_
 
const edm::ESGetToken< CaloTowerTopology, HcalRecNumberingRecordhcalRecNumberingRecordToken_
 
std::vector< double > hltMinRBXRechitR45Cuts_
 
edm::EDGetTokenT< CaloTowerCollectionm_theCaloTowerCollectionToken
 
edm::EDGetTokenT< reco::HcalNoiseRBXCollectionm_theHcalNoiseToken
 
double maxHighEHitTime_
 
int maxNumRBXs_
 
double maxRatio_
 
double maxRBXEMF_
 
double minHighEHitTime_
 
double minHighHitE_
 
int minHPDHits_
 
int minHPDNoOtherHits_
 
double minLowHitE_
 
double minR45HitE_
 
double minRatio_
 
double minRBXEnergy_
 
int minRBXHits_
 
double minRecHitE_
 
int minZeros_
 
bool needEMFCoincidence_
 
int numRBXsToConsider_
 
int severity_
 
edm::InputTag TowerCollectionTag_
 
double TS4TS5EnergyThreshold_
 
std::vector< std::pair< double, double > > TS4TS5LowerCut_
 
std::vector< std::pair< double, double > > TS4TS5UpperCut_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 

Detailed Description

Description: HLT filter module for cleaning HCal Noise from MET or MHT

Implementation: <Notes on="" implementation>="">

Definition at line 24 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Member Typedef Documentation

◆ noisedataset_t

Definition at line 69 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Constructor & Destructor Documentation

◆ HLTHcalTowerNoiseCleanerWithrechit()

HLTHcalTowerNoiseCleanerWithrechit::HLTHcalTowerNoiseCleanerWithrechit ( const edm::ParameterSet iConfig)
explicit

Definition at line 36 of file HLTHcalTowerNoiseCleanerWithrechit.cc.

38  HcalNoiseRBXCollectionTag_(iConfig.getParameter<edm::InputTag>("HcalNoiseRBXCollection")),
39  TowerCollectionTag_(iConfig.getParameter<edm::InputTag>("CaloTowerCollection")),
40  severity_(iConfig.getParameter<int>("severity")),
41  maxNumRBXs_(iConfig.getParameter<int>("maxNumRBXs")),
42  numRBXsToConsider_(iConfig.getParameter<int>("numRBXsToConsider")),
43  needEMFCoincidence_(iConfig.getParameter<bool>("needEMFCoincidence")),
44  minRBXEnergy_(iConfig.getParameter<double>("minRBXEnergy")),
45  minRatio_(iConfig.getParameter<double>("minRatio")),
46  maxRatio_(iConfig.getParameter<double>("maxRatio")),
47  minHPDHits_(iConfig.getParameter<int>("minHPDHits")),
48  minRBXHits_(iConfig.getParameter<int>("minRBXHits")),
49  minHPDNoOtherHits_(iConfig.getParameter<int>("minHPDNoOtherHits")),
50  minZeros_(iConfig.getParameter<int>("minZeros")),
51  minHighEHitTime_(iConfig.getParameter<double>("minHighEHitTime")),
52  maxHighEHitTime_(iConfig.getParameter<double>("maxHighEHitTime")),
53  maxRBXEMF_(iConfig.getParameter<double>("maxRBXEMF")),
54  minRecHitE_(iConfig.getParameter<double>("minRecHitE")),
55  minLowHitE_(iConfig.getParameter<double>("minLowHitE")),
56  minHighHitE_(iConfig.getParameter<double>("minHighHitE")),
57  minR45HitE_(5.0),
58  TS4TS5EnergyThreshold_(iConfig.getParameter<double>("TS4TS5EnergyThreshold")) {
59  hltMinRBXRechitR45Cuts_ = iConfig.getParameter<std::vector<double> >("hltRBXRecHitR45Cuts");
60  std::vector<double> TS4TS5UpperThresholdTemp = iConfig.getParameter<std::vector<double> >("TS4TS5UpperThreshold");
61  std::vector<double> TS4TS5UpperCutTemp = iConfig.getParameter<std::vector<double> >("TS4TS5UpperCut");
62  std::vector<double> TS4TS5LowerThresholdTemp = iConfig.getParameter<std::vector<double> >("TS4TS5LowerThreshold");
63  std::vector<double> TS4TS5LowerCutTemp = iConfig.getParameter<std::vector<double> >("TS4TS5LowerCut");
64 
65  for (int i = 0; i < (int)TS4TS5UpperThresholdTemp.size() && i < (int)TS4TS5UpperCutTemp.size(); i++)
66  TS4TS5UpperCut_.push_back(std::pair<double, double>(TS4TS5UpperThresholdTemp[i], TS4TS5UpperCutTemp[i]));
67  sort(TS4TS5UpperCut_.begin(), TS4TS5UpperCut_.end());
68 
69  for (int i = 0; i < (int)TS4TS5LowerThresholdTemp.size() && i < (int)TS4TS5LowerCutTemp.size(); i++)
70  TS4TS5LowerCut_.push_back(std::pair<double, double>(TS4TS5LowerThresholdTemp[i], TS4TS5LowerCutTemp[i]));
71  sort(TS4TS5LowerCut_.begin(), TS4TS5LowerCut_.end());
72 
73  m_theHcalNoiseToken = consumes<reco::HcalNoiseRBXCollection>(HcalNoiseRBXCollectionTag_);
74  m_theCaloTowerCollectionToken = consumes<CaloTowerCollection>(TowerCollectionTag_);
75 
76  if (iConfig.existsAs<double>("minR45HitE"))
77  minR45HitE_ = iConfig.getParameter<double>("minR45HitE");
78 
79  produces<CaloTowerCollection>();
80 }

References edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), HcalNoiseRBXCollectionTag_, hltMinRBXRechitR45Cuts_, mps_fire::i, createfilelist::int, m_theCaloTowerCollectionToken, m_theHcalNoiseToken, minR45HitE_, jetUpdater_cfi::sort, TowerCollectionTag_, TS4TS5LowerCut_, and TS4TS5UpperCut_.

◆ ~HLTHcalTowerNoiseCleanerWithrechit()

HLTHcalTowerNoiseCleanerWithrechit::~HLTHcalTowerNoiseCleanerWithrechit ( )
overridedefault

Member Function Documentation

◆ fillDescriptions()

void HLTHcalTowerNoiseCleanerWithrechit::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 84 of file HLTHcalTowerNoiseCleanerWithrechit.cc.

84  {
86  desc.add<edm::InputTag>("HcalNoiseRBXCollection", edm::InputTag("hltHcalNoiseInfoProducer"));
87  desc.add<edm::InputTag>("CaloTowerCollection", edm::InputTag("hltTowerMakerForAll"));
88  desc.add<double>("maxTowerNoiseEnergyFraction", 0.5);
89  desc.add<int>("severity", 1);
90  desc.add<int>("maxNumRBXs", 2);
91  desc.add<int>("numRBXsToConsider", 2);
92  desc.add<bool>("needEMFCoincidence", true);
93  desc.add<double>("minRBXEnergy", 50.0);
94  desc.add<double>("minRatio", -999.);
95  desc.add<double>("maxRatio", 999.);
96  desc.add<int>("minHPDHits", 17);
97  desc.add<int>("minRBXHits", 999);
98  desc.add<int>("minHPDNoOtherHits", 10);
99  desc.add<int>("minZeros", 10);
100  desc.add<double>("minHighEHitTime", -9999.0);
101  desc.add<double>("maxHighEHitTime", 9999.0);
102  desc.add<double>("maxRBXEMF", 0.02);
103  desc.add<double>("minRecHitE", 1.5);
104  desc.add<double>("minLowHitE", 10.0);
105  desc.add<double>("minHighHitE", 25.0);
106  desc.add<double>("minR45HitE", 5.0);
107  desc.add<double>("TS4TS5EnergyThreshold", 50.0);
108 
109  double TS4TS5UpperThresholdArray[5] = {70, 90, 100, 400, 4000};
110  double TS4TS5UpperCutArray[5] = {1, 0.8, 0.75, 0.72, 0.72};
111  double TS4TS5LowerThresholdArray[7] = {100, 120, 150, 200, 300, 400, 500};
112  double TS4TS5LowerCutArray[7] = {-1, -0.7, -0.4, -0.2, -0.08, 0, 0.1};
113  double hltRBXRecHitR45CutsArray[8] = {0.0, 1.0, 0.0, -1.0, 0.0, 0.0, 1.0, -1.0};
114  std::vector<double> TS4TS5UpperThreshold(TS4TS5UpperThresholdArray, TS4TS5UpperThresholdArray + 5);
115  std::vector<double> TS4TS5UpperCut(TS4TS5UpperCutArray, TS4TS5UpperCutArray + 5);
116  std::vector<double> TS4TS5LowerThreshold(TS4TS5LowerThresholdArray, TS4TS5LowerThresholdArray + 7);
117  std::vector<double> TS4TS5LowerCut(TS4TS5LowerCutArray, TS4TS5LowerCutArray + 7);
118  std::vector<double> hltRBXRecHitR45Cuts(hltRBXRecHitR45CutsArray, hltRBXRecHitR45CutsArray + 8);
119 
120  desc.add<std::vector<double> >("TS4TS5UpperThreshold", TS4TS5UpperThreshold);
121  desc.add<std::vector<double> >("TS4TS5UpperCut", TS4TS5UpperCut);
122  desc.add<std::vector<double> >("TS4TS5LowerThreshold", TS4TS5LowerThreshold);
123  desc.add<std::vector<double> >("TS4TS5LowerCut", TS4TS5LowerCut);
124  desc.add<std::vector<double> >("hltRBXRecHitR45Cuts", hltRBXRecHitR45Cuts);
125  descriptions.add("hltHcalTowerNoiseCleanerWithrechit", desc);
126 }

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, HLT_FULL_cff::TS4TS5LowerCut, HLT_FULL_cff::TS4TS5LowerThreshold, HLT_FULL_cff::TS4TS5UpperCut, and HLT_FULL_cff::TS4TS5UpperThreshold.

◆ produce()

void HLTHcalTowerNoiseCleanerWithrechit::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
override

Definition at line 132 of file HLTHcalTowerNoiseCleanerWithrechit.cc.

132  {
133  using namespace reco;
134 
135  auto const& caloTowerTopology = iSetup.getHandle(hcalRecNumberingRecordToken_);
136 
137  //get the calo MET / MHT
139  iEvent.getByToken(m_theCaloTowerCollectionToken, tower_h);
140 
141  std::set<unsigned int> noisyTowers;
142 
143  if (not tower_h.isValid()) { //No towers MET, don't do anything and accept the event
144  edm::LogError("HLTHcalTowerNoiseCleanerWithrechit") << "Input Tower Collection is not Valid";
145  return;
146  }
147 
148  // get the RBXs produced by RecoMET/METProducers/HcalNoiseInfoProducer
150  iEvent.getByToken(m_theHcalNoiseToken, rbxs_h);
151  if (!rbxs_h.isValid()) {
152  edm::LogWarning("HLTHcalTowerNoiseCleanerWithrechit")
153  << "Could not find HcalNoiseRBXCollection product named " << HcalNoiseRBXCollectionTag_ << "." << std::endl;
154  severity_ = 0;
155  }
156 
157  // create a sorted set of the RBXs, ordered by energy
159  for (auto const& rbx : *rbxs_h) {
161  minRecHitE_,
162  minLowHitE_,
163  minHighHitE_,
167  minR45HitE_);
168  data.insert(d);
169  }
170 
171  // data is now sorted by RBX energy
172  // only consider top N=numRBXsToConsider_ energy RBXs
173  if (severity_ > 0) {
174  for (auto const& it : data) {
175  // Check the Rechit-R45 filter
176  // Taken from http://cmslxr.fnal.gov/lxr/source/RecoMET/METAlgorithms/src/HcalNoiseAlgo.cc?v=CMSSW_7_4_6#0256
177  bool passRechitr45 = true;
178  int r45Count = it.r45Count();
179  double r45Fraction = it.r45Fraction();
180  double r45EnergyFraction = it.r45EnergyFraction();
181  for (int i = 0; i + 3 < (int)hltMinRBXRechitR45Cuts_.size(); i = i + 4) {
182  double Value = r45Count * hltMinRBXRechitR45Cuts_[i] + r45Fraction * hltMinRBXRechitR45Cuts_[i + 1] +
183  r45EnergyFraction * hltMinRBXRechitR45Cuts_[i + 2] + hltMinRBXRechitR45Cuts_[i + 3];
184  if (Value > 0)
185  passRechitr45 = false;
186  }
187 
188  bool passFilter = true;
189  bool passEMF = true;
190  if (it.energy() > minRBXEnergy_) {
191  if (it.validRatio() && it.ratio() < minRatio_)
192  passFilter = false;
193  else if (it.validRatio() && it.ratio() > maxRatio_)
194  passFilter = false;
195  else if (it.numHPDHits() >= minHPDHits_)
196  passFilter = false;
197  else if (it.numRBXHits() >= minRBXHits_)
198  passFilter = false;
199  else if (it.numHPDNoOtherHits() >= minHPDNoOtherHits_)
200  passFilter = false;
201  else if (it.numZeros() >= minZeros_)
202  passFilter = false;
203  else if (it.minHighEHitTime() < minHighEHitTime_)
204  passFilter = false;
205  else if (it.maxHighEHitTime() > maxHighEHitTime_)
206  passFilter = false;
207  else if (passRechitr45 == false)
208  passFilter = false;
209  if (it.RBXEMF() < maxRBXEMF_) {
210  passEMF = false;
211  }
212  }
213 
214  if ((needEMFCoincidence_ && !passEMF && !passFilter) ||
215  (!needEMFCoincidence_ && !passFilter)) { // check for noise
216  LogDebug("") << "HLTHcalTowerNoiseCleanerWithrechit debug: Found a noisy RBX: "
217  << "energy=" << it.energy() << "; "
218  << "ratio=" << it.ratio() << "; "
219  << "# RBX hits=" << it.numRBXHits() << "; "
220  << "# HPD hits=" << it.numHPDHits() << "; "
221  << "# Zeros=" << it.numZeros() << "; "
222  << "min time=" << it.minHighEHitTime() << "; "
223  << "max time=" << it.maxHighEHitTime() << "; "
224  << "RBX EMF=" << it.RBXEMF() << std::endl;
225  // add calotowers associated with this RBX to the noise list
226  edm::RefVector<CaloTowerCollection> noiseTowers = it.rbxTowers();
228  //add these calotowers to the noisy list
229  for (noiseTowersIt = noiseTowers.begin(); noiseTowersIt != noiseTowers.end(); noiseTowersIt++) {
230  edm::Ref<edm::SortedCollection<CaloTower> > tower_ref = *noiseTowersIt;
231  CaloTowerDetId id = tower_ref->id();
232  noisyTowers.insert(caloTowerTopology->denseIndex(id));
233  }
234  }
235  } // done with noise loop
236  } //if(severity_>0)
237 
238  //output collection
239  std::unique_ptr<CaloTowerCollection> OutputTowers(new CaloTowerCollection());
240 
242 
243  for (inTowersIt = tower_h->begin(); inTowersIt != tower_h->end(); inTowersIt++) {
244  const CaloTower& tower = (*inTowersIt);
245  CaloTowerDetId id = tower.id();
246 
247  if (noisyTowers.find(caloTowerTopology->denseIndex(id)) == noisyTowers.end()) { // the tower is not noisy
248  OutputTowers->push_back(*inTowersIt);
249  }
250  }
251  iEvent.put(std::move(OutputTowers));
252 }

References edm::RefVector< C, T, F >::begin(), edm::SortedCollection< T, SORT >::begin(), ztail::d, data, edm::RefVector< C, T, F >::end(), edm::SortedCollection< T, SORT >::end(), edm::EventSetup::getHandle(), HcalNoiseRBXCollectionTag_, hcalRecNumberingRecordToken_, hltMinRBXRechitR45Cuts_, mps_fire::i, edm::Ref< C, T, F >::id(), iEvent, createfilelist::int, edm::HandleBase::isValid(), LogDebug, m_theCaloTowerCollectionToken, m_theHcalNoiseToken, maxHighEHitTime_, maxRatio_, maxRBXEMF_, minHighEHitTime_, minHighHitE_, minHPDHits_, minHPDNoOtherHits_, minLowHitE_, minR45HitE_, minRatio_, minRBXEnergy_, minRBXHits_, minRecHitE_, minZeros_, eostools::move(), needEMFCoincidence_, severity_, hgcalTowerProducer_cfi::tower, TS4TS5EnergyThreshold_, TS4TS5LowerCut_, and TS4TS5UpperCut_.

Member Data Documentation

◆ HcalNoiseRBXCollectionTag_

edm::InputTag HLTHcalTowerNoiseCleanerWithrechit::HcalNoiseRBXCollectionTag_
private

◆ hcalRecNumberingRecordToken_

const edm::ESGetToken<CaloTowerTopology, HcalRecNumberingRecord> HLTHcalTowerNoiseCleanerWithrechit::hcalRecNumberingRecordToken_
private

Definition at line 32 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ hltMinRBXRechitR45Cuts_

std::vector<double> HLTHcalTowerNoiseCleanerWithrechit::hltMinRBXRechitR45Cuts_
private

◆ m_theCaloTowerCollectionToken

edm::EDGetTokenT<CaloTowerCollection> HLTHcalTowerNoiseCleanerWithrechit::m_theCaloTowerCollectionToken
private

◆ m_theHcalNoiseToken

edm::EDGetTokenT<reco::HcalNoiseRBXCollection> HLTHcalTowerNoiseCleanerWithrechit::m_theHcalNoiseToken
private

◆ maxHighEHitTime_

double HLTHcalTowerNoiseCleanerWithrechit::maxHighEHitTime_
private

Definition at line 50 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ maxNumRBXs_

int HLTHcalTowerNoiseCleanerWithrechit::maxNumRBXs_
private

Definition at line 39 of file HLTHcalTowerNoiseCleanerWithrechit.h.

◆ maxRatio_

double HLTHcalTowerNoiseCleanerWithrechit::maxRatio_
private

Definition at line 44 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ maxRBXEMF_

double HLTHcalTowerNoiseCleanerWithrechit::maxRBXEMF_
private

Definition at line 51 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ minHighEHitTime_

double HLTHcalTowerNoiseCleanerWithrechit::minHighEHitTime_
private

Definition at line 49 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ minHighHitE_

double HLTHcalTowerNoiseCleanerWithrechit::minHighHitE_
private

Definition at line 54 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ minHPDHits_

int HLTHcalTowerNoiseCleanerWithrechit::minHPDHits_
private

Definition at line 45 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ minHPDNoOtherHits_

int HLTHcalTowerNoiseCleanerWithrechit::minHPDNoOtherHits_
private

Definition at line 47 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ minLowHitE_

double HLTHcalTowerNoiseCleanerWithrechit::minLowHitE_
private

Definition at line 54 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ minR45HitE_

double HLTHcalTowerNoiseCleanerWithrechit::minR45HitE_
private

◆ minRatio_

double HLTHcalTowerNoiseCleanerWithrechit::minRatio_
private

Definition at line 43 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ minRBXEnergy_

double HLTHcalTowerNoiseCleanerWithrechit::minRBXEnergy_
private

Definition at line 42 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ minRBXHits_

int HLTHcalTowerNoiseCleanerWithrechit::minRBXHits_
private

Definition at line 46 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ minRecHitE_

double HLTHcalTowerNoiseCleanerWithrechit::minRecHitE_
private

Definition at line 54 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ minZeros_

int HLTHcalTowerNoiseCleanerWithrechit::minZeros_
private

Definition at line 48 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ needEMFCoincidence_

bool HLTHcalTowerNoiseCleanerWithrechit::needEMFCoincidence_
private

Definition at line 41 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ numRBXsToConsider_

int HLTHcalTowerNoiseCleanerWithrechit::numRBXsToConsider_
private

Definition at line 40 of file HLTHcalTowerNoiseCleanerWithrechit.h.

◆ severity_

int HLTHcalTowerNoiseCleanerWithrechit::severity_
private

Definition at line 38 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ TowerCollectionTag_

edm::InputTag HLTHcalTowerNoiseCleanerWithrechit::TowerCollectionTag_
private

◆ TS4TS5EnergyThreshold_

double HLTHcalTowerNoiseCleanerWithrechit::TS4TS5EnergyThreshold_
private

Definition at line 56 of file HLTHcalTowerNoiseCleanerWithrechit.h.

Referenced by produce().

◆ TS4TS5LowerCut_

std::vector<std::pair<double, double> > HLTHcalTowerNoiseCleanerWithrechit::TS4TS5LowerCut_
private

◆ TS4TS5UpperCut_

std::vector<std::pair<double, double> > HLTHcalTowerNoiseCleanerWithrechit::TS4TS5UpperCut_
private
HLTHcalTowerNoiseCleanerWithrechit::noisedataset_t
std::set< CommonHcalNoiseRBXData, noisedatacomp > noisedataset_t
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:69
mps_fire.i
i
Definition: mps_fire.py:428
edm::SortedCollection< CaloTower >::const_iterator
std::vector< CaloTower >::const_iterator const_iterator
Definition: SortedCollection.h:80
HLTHcalTowerNoiseCleanerWithrechit::TowerCollectionTag_
edm::InputTag TowerCollectionTag_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:37
HLTHcalTowerNoiseCleanerWithrechit::m_theHcalNoiseToken
edm::EDGetTokenT< reco::HcalNoiseRBXCollection > m_theHcalNoiseToken
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:33
HLTHcalTowerNoiseCleanerWithrechit::needEMFCoincidence_
bool needEMFCoincidence_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:41
HLTHcalTowerNoiseCleanerWithrechit::HcalNoiseRBXCollectionTag_
edm::InputTag HcalNoiseRBXCollectionTag_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:36
HLTHcalTowerNoiseCleanerWithrechit::severity_
int severity_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:38
edm::RefVector::begin
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:223
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89285
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
hgcalTowerProducer_cfi.tower
tower
Definition: hgcalTowerProducer_cfi.py:4
edm::RefVector
Definition: EDProductfwd.h:27
HLTHcalTowerNoiseCleanerWithrechit::minRBXEnergy_
double minRBXEnergy_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:42
edm::ParameterSet::existsAs
bool existsAs(std::string const &parameterName, bool trackiness=true) const
checks if a parameter exists as a given type
Definition: ParameterSet.h:171
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
HLTHcalTowerNoiseCleanerWithrechit::minHPDHits_
int minHPDHits_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:45
edm::Handle
Definition: AssociativeIterator.h:50
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
HLTHcalTowerNoiseCleanerWithrechit::numRBXsToConsider_
int numRBXsToConsider_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:40
edm::Ref
Definition: AssociativeIterator.h:58
HLTHcalTowerNoiseCleanerWithrechit::minR45HitE_
double minR45HitE_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:54
CommonHcalNoiseRBXData
Definition: HcalNoiseAlgo.h:11
HLTHcalTowerNoiseCleanerWithrechit::minHPDNoOtherHits_
int minHPDNoOtherHits_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:47
edm::RefVector::end
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:228
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
CaloTowerCollection
edm::SortedCollection< CaloTower > CaloTowerCollection
Definition: CaloTowerDefs.h:16
HLT_FULL_cff.TS4TS5LowerThreshold
TS4TS5LowerThreshold
Definition: HLT_FULL_cff.py:8354
HLTHcalTowerNoiseCleanerWithrechit::minRecHitE_
double minRecHitE_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:54
HLT_FULL_cff.TS4TS5UpperThreshold
TS4TS5UpperThreshold
Definition: HLT_FULL_cff.py:8357
HLTHcalTowerNoiseCleanerWithrechit::TS4TS5LowerCut_
std::vector< std::pair< double, double > > TS4TS5LowerCut_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:58
HLTHcalTowerNoiseCleanerWithrechit::minHighHitE_
double minHighHitE_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:54
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
edm::SortedCollection::end
const_iterator end() const
Definition: SortedCollection.h:267
jetUpdater_cfi.sort
sort
Definition: jetUpdater_cfi.py:29
createfilelist.int
int
Definition: createfilelist.py:10
iEvent
int iEvent
Definition: GenABIO.cc:224
CaloTower
Definition: CaloTower.h:26
edm::EventSetup::getHandle
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:155
HLTHcalTowerNoiseCleanerWithrechit::minRBXHits_
int minRBXHits_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:46
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
HLTHcalTowerNoiseCleanerWithrechit::maxRBXEMF_
double maxRBXEMF_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:51
HLTHcalTowerNoiseCleanerWithrechit::maxNumRBXs_
int maxNumRBXs_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:39
HLTHcalTowerNoiseCleanerWithrechit::hltMinRBXRechitR45Cuts_
std::vector< double > hltMinRBXRechitR45Cuts_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:61
edm::Ref::id
ProductID id() const
Accessor for product ID.
Definition: Ref.h:244
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
eostools.move
def move(src, dest)
Definition: eostools.py:511
HLTHcalTowerNoiseCleanerWithrechit::hcalRecNumberingRecordToken_
const edm::ESGetToken< CaloTowerTopology, HcalRecNumberingRecord > hcalRecNumberingRecordToken_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:32
edm::RefVectorIterator
Definition: EDProductfwd.h:33
HLT_FULL_cff.TS4TS5UpperCut
TS4TS5UpperCut
Definition: HLT_FULL_cff.py:8376
HLTHcalTowerNoiseCleanerWithrechit::TS4TS5EnergyThreshold_
double TS4TS5EnergyThreshold_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:56
HLTHcalTowerNoiseCleanerWithrechit::minLowHitE_
double minLowHitE_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:54
HLTHcalTowerNoiseCleanerWithrechit::m_theCaloTowerCollectionToken
edm::EDGetTokenT< CaloTowerCollection > m_theCaloTowerCollectionToken
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:34
HLTHcalTowerNoiseCleanerWithrechit::minRatio_
double minRatio_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:43
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
HLTHcalTowerNoiseCleanerWithrechit::maxHighEHitTime_
double maxHighEHitTime_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:50
HLTHcalTowerNoiseCleanerWithrechit::maxRatio_
double maxRatio_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:44
ztail.d
d
Definition: ztail.py:151
reco::JetExtendedAssociation::Value
reco::JetExtendedAssociation::JetExtendedData Value
Definition: JetExtendedAssociation.h:27
HLTHcalTowerNoiseCleanerWithrechit::minZeros_
int minZeros_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:48
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
DeDxTools::esConsumes
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
HLTHcalTowerNoiseCleanerWithrechit::minHighEHitTime_
double minHighEHitTime_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:49
HLT_FULL_cff.TS4TS5LowerCut
TS4TS5LowerCut
Definition: HLT_FULL_cff.py:8360
edm::InputTag
Definition: InputTag.h:15
CaloTowerDetId
Definition: CaloTowerDetId.h:12
HLTHcalTowerNoiseCleanerWithrechit::TS4TS5UpperCut_
std::vector< std::pair< double, double > > TS4TS5UpperCut_
Definition: HLTHcalTowerNoiseCleanerWithrechit.h:57