#include <TopHLTDQMHelper.h>
Public Member Functions | |
bool | select (const edm::Event &event) |
apply selection More... | |
bool | select (const edm::Event &event, const edm::EventSetup &setup) |
apply selection override for jets More... | |
SelectionStepHLT (const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC) | |
default constructor More... | |
bool | selectVertex (const edm::Event &event) |
~SelectionStepHLT () | |
default destructor More... | |
Private Attributes | |
edm::InputTag | btagLabel_ |
choice for b-tag as extra selection type More... | |
edm::EDGetTokenT < reco::JetTagCollection > | btagToken_ |
double | btagWorkingPoint_ |
choice of b-tag working point as extra selection type More... | |
int | eidPattern_ |
edm::InputTag | electronId_ |
electronId label as extra selection type More... | |
edm::EDGetTokenT < edm::ValueMap< float > > | electronIdToken_ |
std::string | jetCorrector_ |
jet corrector as extra selection type More... | |
edm::InputTag | jetIDLabel_ |
jetID as an extra selection type More... | |
StringCutObjectSelector < reco::JetID > * | jetIDSelect_ |
selection string on the jetID More... | |
edm::EDGetTokenT < reco::JetIDValueMap > | jetIDToken_ |
int | max_ |
int | min_ |
min/max for object multiplicity More... | |
edm::InputTag | pvs_ |
edm::EDGetTokenT< edm::View < reco::Vertex > > | pvsToken_ |
StringCutObjectSelector< Object > | select_ |
string cut selector More... | |
edm::InputTag | src_ |
input collection More... | |
edm::EDGetTokenT< edm::View < Object > > | srcToken_ |
Definition at line 177 of file TopHLTDQMHelper.h.
SelectionStepHLT< Object >::SelectionStepHLT | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector && | iC | ||
) |
default constructor
Definition at line 231 of file TopHLTDQMHelper.h.
References SelectionStepHLT< Object >::btagLabel_, SelectionStepHLT< Object >::btagToken_, SelectionStepHLT< Object >::btagWorkingPoint_, SelectionStepHLT< Object >::eidPattern_, SelectionStepHLT< Object >::electronId_, SelectionStepHLT< Object >::electronIdToken_, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), SelectionStepHLT< Object >::jetCorrector_, bTagSequences_cff::jetID, SelectionStepHLT< Object >::jetIDLabel_, SelectionStepHLT< Object >::jetIDSelect_, SelectionStepHLT< Object >::jetIDToken_, SelectionStepHLT< Object >::max_, SelectionStepHLT< Object >::min_, SelectionStepHLT< Object >::pvsToken_, SelectionStepHLT< Object >::srcToken_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
bool SelectionStepHLT< Object >::select | ( | const edm::Event & | event | ) |
apply selection
Definition at line 269 of file TopHLTDQMHelper.h.
References accept(), edm::Event::getByToken(), customizeTrackingMonitorSeedNumber::idx, n, getGTfromDQMFile::obj, and alcazmumu_cfi::src.
Referenced by TopHLTSingleLeptonDQM::analyze(), and TopHLTDiLeptonOfflineDQM::analyze().
bool SelectionStepHLT< Object >::select | ( | const edm::Event & | event, |
const edm::EventSetup & | setup | ||
) |
apply selection override for jets
apply selection (w/o using the template class Object), override for jets
Definition at line 324 of file TopHLTDQMHelper.h.
References accept(), JetCorrector::correction(), edm::EventSetup::find(), edm::Event::getByToken(), JetCorrector::getJetCorrector(), customizeTrackingMonitorSeedNumber::idx, metsig::jet, bTagSequences_cff::jetID, n, getGTfromDQMFile::obj, and alcazmumu_cfi::src.
bool SelectionStepHLT< Object >::selectVertex | ( | const edm::Event & | event | ) |
Definition at line 300 of file TopHLTDQMHelper.h.
References accept(), edm::Event::getByToken(), n, getGTfromDQMFile::obj, and alcazmumu_cfi::src.
|
private |
choice for b-tag as extra selection type
Definition at line 212 of file TopHLTDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
Definition at line 213 of file TopHLTDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
choice of b-tag working point as extra selection type
Definition at line 215 of file TopHLTDQMHelper.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 208 of file TopHLTDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
electronId label as extra selection type
Definition at line 196 of file TopHLTDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
Definition at line 197 of file TopHLTDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
jet corrector as extra selection type
Definition at line 210 of file TopHLTDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
jetID as an extra selection type
Definition at line 217 of file TopHLTDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
selection string on the jetID
Definition at line 226 of file TopHLTDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
Definition at line 218 of file TopHLTDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
Definition at line 194 of file TopHLTDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
min/max for object multiplicity
Definition at line 194 of file TopHLTDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
Definition at line 220 of file TopHLTDQMHelper.h.
|
private |
Definition at line 221 of file TopHLTDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().
|
private |
string cut selector
Definition at line 224 of file TopHLTDQMHelper.h.
|
private |
input collection
Definition at line 191 of file TopHLTDQMHelper.h.
|
private |
Definition at line 192 of file TopHLTDQMHelper.h.
Referenced by SelectionStepHLT< Object >::SelectionStepHLT().