#include <TopHLTOfflineDQMHelper.h>
Public Member Functions | |
template<> | |
bool | select (const edm::Event &event, const edm::EventSetup &setup) |
apply selection (w/o using the template class Object), override for jets More... | |
bool | select (const edm::Event &event) override |
apply selection More... | |
bool | select (const edm::Event &event, const edm::EventSetup &setup) override |
apply selection override for jets More... | |
SelectionStepHLT (const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC) | |
default constructor More... | |
bool | selectVertex (const edm::Event &event) |
~SelectionStepHLT () override=default | |
default destructor More... | |
Public Member Functions inherited from SelectionStepHLTBase | |
virtual | ~SelectionStepHLTBase ()=default |
Private Attributes | |
edm::EDGetTokenT< reco::JetTagCollection > | btagLabel_ |
choice for b-tag as extra selection type More... | |
double | btagWorkingPoint_ |
choice of b-tag working point as extra selection type More... | |
int | eidPattern_ |
edm::EDGetTokenT< edm::ValueMap< float > > | electronId_ |
electronId label as extra selection type More... | |
std::string | jetCorrector_ |
jet corrector as extra selection type More... | |
edm::EDGetTokenT< reco::JetIDValueMap > | jetIDLabel_ |
jetID as an extra selection type More... | |
StringCutObjectSelector< reco::JetID > * | jetIDSelect_ |
selection string on the jetID More... | |
int | max_ |
int | min_ |
min/max for object multiplicity More... | |
edm::EDGetTokenT< edm::View< reco::Vertex > > | pvs_ |
StringCutObjectSelector< Object > | select_ |
string cut selector More... | |
edm::EDGetTokenT< edm::View< Object > > | src_ |
input collection More... | |
Definition at line 190 of file TopHLTOfflineDQMHelper.h.
SelectionStepHLT< Object >::SelectionStepHLT | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector && | iC | ||
) |
default constructor
Definition at line 239 of file TopHLTOfflineDQMHelper.h.
References SelectionStepHLT< Object >::btagLabel_, SelectionStepHLT< Object >::btagWorkingPoint_, SelectionStepHLT< Object >::eidPattern_, SelectionStepHLT< Object >::electronId_, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), SelectionStepHLT< Object >::jetCorrector_, SelectionStepHLT< Object >::jetIDLabel_, SelectionStepHLT< Object >::jetIDSelect_, SelectionStepHLT< Object >::max_, SelectionStepHLT< Object >::min_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridedefault |
default destructor
|
virtual |
apply selection (w/o using the template class Object), override for jets
Reimplemented from SelectionStepHLTBase.
Definition at line 9 of file TopHLTOfflineDQMHelper.cc.
References accept(), JetCorrector::correction(), mitigatedMETSequence_cff::corrector, edm::EventSetup::find(), edm::Event::getByToken(), JetCorrector::getJetCorrector(), training_settings::idx, metsig::jet, gen::n, GetRecoTauVFromDQM_MC_cff::obj, reco::Jet::scaleEnergy(), and TrackRefitter_38T_cff::src.
|
overridevirtual |
apply selection
Reimplemented from SelectionStepHLTBase.
Definition at line 272 of file TopHLTOfflineDQMHelper.h.
References accept(), SelectionStepHLT< Object >::eidPattern_, SelectionStepHLT< Object >::electronId_, edm::Event::getByToken(), training_settings::idx, createfilelist::int, edm::EDGetTokenT< T >::isUninitialized(), SelectionStepHLT< Object >::max_, SelectionStepHLT< Object >::min_, gen::n, GetRecoTauVFromDQM_MC_cff::obj, SelectionStepHLT< Object >::select_, TrackRefitter_38T_cff::src, and SelectionStepHLT< Object >::src_.
Referenced by Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), and Vispa.Views.AbstractView.AbstractView::restoreSelection().
|
overridevirtual |
apply selection override for jets
Reimplemented from SelectionStepHLTBase.
Definition at line 326 of file TopHLTOfflineDQMHelper.h.
References Exception.
Referenced by Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), and Vispa.Views.AbstractView.AbstractView::restoreSelection().
bool SelectionStepHLT< Object >::selectVertex | ( | const edm::Event & | event | ) |
Definition at line 303 of file TopHLTOfflineDQMHelper.h.
References accept(), SelectionStepHLT< Object >::electronId_, edm::Event::getByToken(), edm::EDGetTokenT< T >::isUninitialized(), SelectionStepHLT< Object >::max_, SelectionStepHLT< Object >::min_, gen::n, GetRecoTauVFromDQM_MC_cff::obj, SelectionStepHLT< Object >::select_, TrackRefitter_38T_cff::src, and SelectionStepHLT< Object >::src_.
|
private |
choice for b-tag as extra selection type
Definition at line 223 of file TopHLTOfflineDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
choice of b-tag working point as extra selection type
Definition at line 225 of file TopHLTOfflineDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
electronId pattern we expect the following pattern: 0: fails 1: passes electron ID only 2: passes electron Isolation only 3: passes electron ID and Isolation only 4: passes conversion rejection 5: passes conversion rejection and ID 6: passes conversion rejection and Isolation 7: passes the whole selection As described on https://twiki.cern.ch/twiki/bin/view/CMS/SimpleCutBasedEleID
Definition at line 219 of file TopHLTOfflineDQMHelper.h.
Referenced by SelectionStepHLT< Object >::select(), and SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
electronId label as extra selection type
Definition at line 208 of file TopHLTOfflineDQMHelper.h.
Referenced by SelectionStepHLT< Object >::select(), SelectionStepHLT< Object >::SelectionStepHLT(), and SelectionStepHLT< Object >::selectVertex().
|
private |
jet corrector as extra selection type
Definition at line 221 of file TopHLTOfflineDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
jetID as an extra selection type
Definition at line 227 of file TopHLTOfflineDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
selection string on the jetID
Definition at line 234 of file TopHLTOfflineDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
Definition at line 206 of file TopHLTOfflineDQMHelper.h.
Referenced by SelectionStepHLT< Object >::select(), SelectionStepHLT< Object >::SelectionStepHLT(), and SelectionStepHLT< Object >::selectVertex().
|
private |
min/max for object multiplicity
Definition at line 206 of file TopHLTOfflineDQMHelper.h.
Referenced by SelectionStepHLT< Object >::select(), SelectionStepHLT< Object >::SelectionStepHLT(), and SelectionStepHLT< Object >::selectVertex().
|
private |
Definition at line 229 of file TopHLTOfflineDQMHelper.h.
|
private |
string cut selector
Definition at line 232 of file TopHLTOfflineDQMHelper.h.
Referenced by SelectionStepHLT< Object >::select(), and SelectionStepHLT< Object >::selectVertex().
|
private |
input collection
Definition at line 204 of file TopHLTOfflineDQMHelper.h.
Referenced by SelectionStepHLT< Object >::select(), and SelectionStepHLT< Object >::selectVertex().