Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
JetSrcHelper< pat::Jet > Struct Template Reference

A specialisation of the JetSrcHelper<U> struct for pat::Jet input. More...

#include "UserCode/ICHiggsTauTau/plugins/ICJetSrcHelper.hh"

Public Member Functions

 JetSrcHelper (const edm::ParameterSet &config, edm::ConsumesCollector &&collector)
 
void DoSetup (edm::EDProducer *prod)
 
 ~JetSrcHelper ()
 
template<class T >
void Produce (edm::Handle< edm::View< pat::Jet > > const &jets_handle, std::vector< T > *jets, std::vector< unsigned > *passed, edm::Event &event, const edm::EventSetup &setup)
 

Data Fields

boost::hash< pat::Jet const * > jet_hasher
 
boost::hash< reco::Vertex const * > vertex_hasher
 
bool include_jet_flavour
 
bool include_jec_factors
 
edm::InputTag input_sv_info
 
bool include_sv_info_ids
 
bool is_slimmed
 
std::string slimmed_puid_label
 

Detailed Description

template<>
struct JetSrcHelper< pat::Jet >

A specialisation of the JetSrcHelper<U> struct for pat::Jet input.

As properties such as the jet flavour and the b-tagging results can be extracted directly from a pat::Jet this specialisation requires fewer input parameters than the generic version for reco jets. Of note, the Produce methods must handle jet energy corrections differently: the pat::Jet input is assumed to be corrected already, whereas for reco input the jets are uncorrected and the user must specificy which corrections (if any) to apply.

Definition at line 247 of file ICJetSrcHelper.hh.

Constructor & Destructor Documentation

JetSrcHelper< pat::Jet >::JetSrcHelper ( const edm::ParameterSet &  config,
edm::ConsumesCollector &&  collector 
)
inlineexplicit

Definition at line 248 of file ICJetSrcHelper.hh.

JetSrcHelper< pat::Jet >::~JetSrcHelper ( )
inline

Definition at line 265 of file ICJetSrcHelper.hh.

Member Function Documentation

void JetSrcHelper< pat::Jet >::DoSetup ( edm::EDProducer *  prod)
inline

Definition at line 257 of file ICJetSrcHelper.hh.

template<class T >
void JetSrcHelper< pat::Jet >::Produce ( edm::Handle< edm::View< pat::Jet > > const &  jets_handle,
std::vector< T > *  jets,
std::vector< unsigned > *  passed,
edm::Event &  event,
const edm::EventSetup &  setup 
)
inline

Definition at line 268 of file ICJetSrcHelper.hh.

Field Documentation

boost::hash<pat::Jet const*> JetSrcHelper< pat::Jet >::jet_hasher

Definition at line 334 of file ICJetSrcHelper.hh.

boost::hash<reco::Vertex const*> JetSrcHelper< pat::Jet >::vertex_hasher

Definition at line 335 of file ICJetSrcHelper.hh.

bool JetSrcHelper< pat::Jet >::include_jet_flavour

Definition at line 337 of file ICJetSrcHelper.hh.

bool JetSrcHelper< pat::Jet >::include_jec_factors

Definition at line 338 of file ICJetSrcHelper.hh.

edm::InputTag JetSrcHelper< pat::Jet >::input_sv_info

Definition at line 339 of file ICJetSrcHelper.hh.

bool JetSrcHelper< pat::Jet >::include_sv_info_ids

Definition at line 340 of file ICJetSrcHelper.hh.

bool JetSrcHelper< pat::Jet >::is_slimmed

Definition at line 341 of file ICJetSrcHelper.hh.

std::string JetSrcHelper< pat::Jet >::slimmed_puid_label

Definition at line 342 of file ICJetSrcHelper.hh.


The documentation for this struct was generated from the following file: