CMS 3D CMS Logo

Classes | Macros | Functions
FFTJetCorrectionProducer.cc File Reference
#include <iostream>
#include <memory>
#include <cfloat>
#include <cmath>
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "RecoJets/FFTJetAlgorithms/interface/adjustForPileup.h"
#include "RecoJets/FFTJetProducers/interface/JetType.h"
#include "JetMETCorrections/FFTJetObjects/interface/FFTJetCorrectorSequenceTypemap.h"

Go to the source code of this file.

Classes

class  FFTJetCorrectionProducer
 

Macros

#define jet_type_switch(method, arg1, arg2)
 
#define PILEUP_CALCULATION_MASK   0x200
 
#define PILEUP_SUBTRACTION_MASK_4VEC   0x400
 
#define PILEUP_SUBTRACTION_MASK_ANY   (PILEUP_SUBTRACTION_MASK_4VEC | PILEUP_SUBTRACTION_MASK_PT)
 
#define PILEUP_SUBTRACTION_MASK_PT   0x800
 

Functions

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< FFTJetCorrectionProducer > > s_filler__LINE__ ("FFTJetCorrectionProducer")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< FFTJetCorrectionProducer > > s_maker__LINE__ ("FFTJetCorrectionProducer")
 

Macro Definition Documentation

◆ jet_type_switch

#define jet_type_switch (   method,
  arg1,
  arg2 
)
Value:
do { \
switch (jetType) { \
case CALOJET: \
method<reco::CaloJet>(arg1, arg2); \
break; \
case PFJET: \
method<reco::PFJet>(arg1, arg2); \
break; \
case GENJET: \
method<reco::GenJet>(arg1, arg2); \
break; \
case TRACKJET: \
method<reco::TrackJet>(arg1, arg2); \
break; \
case BASICJET: \
method<reco::BasicJet>(arg1, arg2); \
break; \
case JPTJET: \
method<reco::JPTJet>(arg1, arg2); \
break; \
default: \
assert(!"ERROR in FFTJetCorrectionProducer : invalid jet type."\
" This is a bug. Please report."); \
} \
} while (0);

Definition at line 48 of file FFTJetCorrectionProducer.cc.

◆ PILEUP_CALCULATION_MASK

#define PILEUP_CALCULATION_MASK   0x200

Definition at line 38 of file FFTJetCorrectionProducer.cc.

◆ PILEUP_SUBTRACTION_MASK_4VEC

#define PILEUP_SUBTRACTION_MASK_4VEC   0x400

Definition at line 39 of file FFTJetCorrectionProducer.cc.

◆ PILEUP_SUBTRACTION_MASK_ANY

#define PILEUP_SUBTRACTION_MASK_ANY   (PILEUP_SUBTRACTION_MASK_4VEC | PILEUP_SUBTRACTION_MASK_PT)

Definition at line 41 of file FFTJetCorrectionProducer.cc.

◆ PILEUP_SUBTRACTION_MASK_PT

#define PILEUP_SUBTRACTION_MASK_PT   0x800

Definition at line 40 of file FFTJetCorrectionProducer.cc.

Function Documentation

◆ s_filler__LINE__()

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< FFTJetCorrectionProducer > > s_filler__LINE__ ( "FFTJetCorrectionProducer"  )
static

◆ s_maker__LINE__()

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< FFTJetCorrectionProducer > > s_maker__LINE__ ( "FFTJetCorrectionProducer"  )
static
fftjetcms::PFJET
Definition: JetType.h:7
fftjetcms::TRACKJET
Definition: JetType.h:7
fftjetcms::CALOJET
Definition: JetType.h:7
fftjetcms::JPTJET
Definition: JetType.h:7
HLT_2018_cff.jetType
jetType
Definition: HLT_2018_cff.py:7318
fftjetcms::BASICJET
Definition: JetType.h:7
fftjetcms::GENJET
Definition: JetType.h:7