CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
SelectionStepHLT< Object > Class Template Reference

#include <TopHLTOfflineDQMHelper.h>

Inheritance diagram for SelectionStepHLT< Object >:
SelectionStepHLTBase

Public Member Functions

template<>
bool select (const edm::Event &event, const edm::EventSetup &setup)
 
virtual bool select (const edm::Event &event)
 apply selection More...
 
virtual 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)
 
virtual ~SelectionStepHLT ()
 default destructor More...
 

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...
 

Detailed Description

template<typename Object>
class SelectionStepHLT< Object >

Definition at line 189 of file TopHLTOfflineDQMHelper.h.

Constructor & Destructor Documentation

template<typename Object >
SelectionStepHLT< Object >::SelectionStepHLT ( const edm::ParameterSet cfg,
edm::ConsumesCollector &&  iC 
)

default constructor

Definition at line 238 of file TopHLTOfflineDQMHelper.h.

template<typename Object >
virtual SelectionStepHLT< Object >::~SelectionStepHLT ( )
inlinevirtual

default destructor

Definition at line 194 of file TopHLTOfflineDQMHelper.h.

Member Function Documentation

template<>
bool SelectionStepHLT< reco::Jet >::select ( const edm::Event event,
const edm::EventSetup setup 
)
virtual

Reimplemented from SelectionStepHLTBase.

Definition at line 9 of file TopHLTOfflineDQMHelper.cc.

template<typename Object >
bool SelectionStepHLT< Object >::select ( const edm::Event event)
virtual

apply selection

Reimplemented from SelectionStepHLTBase.

Definition at line 271 of file TopHLTOfflineDQMHelper.h.

Referenced by Vispa.Views.AbstractView.AbstractView::restoreSelection().

template<typename Object >
bool SelectionStepHLT< Object >::select ( const edm::Event event,
const edm::EventSetup setup 
)
virtual

apply selection override for jets

Reimplemented from SelectionStepHLTBase.

Definition at line 325 of file TopHLTOfflineDQMHelper.h.

Referenced by Vispa.Views.AbstractView.AbstractView::restoreSelection().

template<typename Object >
bool SelectionStepHLT< Object >::selectVertex ( const edm::Event event)

Definition at line 302 of file TopHLTOfflineDQMHelper.h.

Member Data Documentation

template<typename Object >
edm::EDGetTokenT< reco::JetTagCollection > SelectionStepHLT< Object >::btagLabel_
private

choice for b-tag as extra selection type

Definition at line 222 of file TopHLTOfflineDQMHelper.h.

template<typename Object >
double SelectionStepHLT< Object >::btagWorkingPoint_
private

choice of b-tag working point as extra selection type

Definition at line 224 of file TopHLTOfflineDQMHelper.h.

template<typename Object >
int SelectionStepHLT< Object >::eidPattern_
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 218 of file TopHLTOfflineDQMHelper.h.

template<typename Object >
edm::EDGetTokenT< edm::ValueMap<float> > SelectionStepHLT< Object >::electronId_
private

electronId label as extra selection type

Definition at line 207 of file TopHLTOfflineDQMHelper.h.

template<typename Object >
std::string SelectionStepHLT< Object >::jetCorrector_
private

jet corrector as extra selection type

Definition at line 220 of file TopHLTOfflineDQMHelper.h.

template<typename Object >
edm::EDGetTokenT< reco::JetIDValueMap > SelectionStepHLT< Object >::jetIDLabel_
private

jetID as an extra selection type

Definition at line 226 of file TopHLTOfflineDQMHelper.h.

template<typename Object >
StringCutObjectSelector<reco::JetID>* SelectionStepHLT< Object >::jetIDSelect_
private

selection string on the jetID

Definition at line 233 of file TopHLTOfflineDQMHelper.h.

template<typename Object >
int SelectionStepHLT< Object >::max_
private

Definition at line 205 of file TopHLTOfflineDQMHelper.h.

template<typename Object >
int SelectionStepHLT< Object >::min_
private

min/max for object multiplicity

Definition at line 205 of file TopHLTOfflineDQMHelper.h.

template<typename Object >
edm::EDGetTokenT< edm::View<reco::Vertex> > SelectionStepHLT< Object >::pvs_
private

Definition at line 228 of file TopHLTOfflineDQMHelper.h.

template<typename Object >
StringCutObjectSelector<Object> SelectionStepHLT< Object >::select_
private

string cut selector

Definition at line 231 of file TopHLTOfflineDQMHelper.h.

template<typename Object >
edm::EDGetTokenT< edm::View<Object> > SelectionStepHLT< Object >::src_
private

input collection

Definition at line 203 of file TopHLTOfflineDQMHelper.h.