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 Member Functions | Private Attributes
FFTJetPileupAnalyzer Class Reference

#include <RecoJets/JetAnalyzers/src/FFTJetPileupAnalyzer.cc>

Inheritance diagram for FFTJetPileupAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 FFTJetPileupAnalyzer (const edm::ParameterSet &)
 
 ~FFTJetPileupAnalyzer ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &) override
 
void analyzePileup (const std::vector< PileupSummaryInfo > &pInfo)
 
virtual void beginJob () override
 
virtual void endJob () override
 
 FFTJetPileupAnalyzer ()
 
 FFTJetPileupAnalyzer (const FFTJetPileupAnalyzer &)
 
FFTJetPileupAnalyzeroperator= (const FFTJetPileupAnalyzer &)
 

Private Attributes

bool collectFastJetRho
 
bool collectGridDensity
 
bool collectGrids
 
bool collectHistos
 
bool collectOOTPileup
 
bool collectPileup
 
bool collectSummaries
 
bool collectVertexInfo
 
unsigned long counter
 
double crazyEnergyCut
 
edm::EDGetTokenT< std::pair
< double, double > > 
etSumToken
 
edm::InputTag fastJetRhoLabel
 
edm::EDGetTokenT< double > fastJetRhoToken
 
edm::InputTag fastJetSigmaLabel
 
edm::EDGetTokenT< double > fastJetSigmaToken
 
edm::InputTag gridLabel
 
edm::EDGetTokenT
< reco::DiscretizedEnergyFlow
gridToken
 
edm::InputTag histoLabel
 
edm::EDGetTokenT< TH2D > histoToken
 
TNtuple * nt
 
std::vector< float > ntupleData
 
std::string ntupleName
 
std::string ntupleTitle
 
std::string pileupLabel
 
edm::EDGetTokenT< std::vector
< PileupSummaryInfo > > 
pileupToken
 
edm::InputTag srcPVs
 
edm::EDGetTokenT
< reco::VertexCollection
srcPVsToken
 
edm::InputTag summaryLabel
 
edm::EDGetTokenT
< reco::FFTJetPileupSummary
summaryToken
 
int totalNpu
 
int totalNPV
 
bool verbosePileupInfo
 
double vertexNdofCut
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Description: collects the info produced by FFTJetPileupProcessor and FFTJetPileupEstimator

Implementation: [Notes on implementation]

Definition at line 52 of file FFTJetPileupAnalyzer.cc.

Constructor & Destructor Documentation

FFTJetPileupAnalyzer::FFTJetPileupAnalyzer ( const edm::ParameterSet ps)
explicit

Definition at line 113 of file FFTJetPileupAnalyzer.cc.

FFTJetPileupAnalyzer::~FFTJetPileupAnalyzer ( )

Definition at line 165 of file FFTJetPileupAnalyzer.cc.

FFTJetPileupAnalyzer::FFTJetPileupAnalyzer ( )
private
FFTJetPileupAnalyzer::FFTJetPileupAnalyzer ( const FFTJetPileupAnalyzer )
private

Member Function Documentation

void FFTJetPileupAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 286 of file FFTJetPileupAnalyzer.cc.

void FFTJetPileupAnalyzer::analyzePileup ( const std::vector< PileupSummaryInfo > &  pInfo)
private

Definition at line 173 of file FFTJetPileupAnalyzer.cc.

void FFTJetPileupAnalyzer::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 256 of file FFTJetPileupAnalyzer.cc.

void FFTJetPileupAnalyzer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 427 of file FFTJetPileupAnalyzer.cc.

FFTJetPileupAnalyzer& FFTJetPileupAnalyzer::operator= ( const FFTJetPileupAnalyzer )
private

Member Data Documentation

bool FFTJetPileupAnalyzer::collectFastJetRho
private

Definition at line 92 of file FFTJetPileupAnalyzer.cc.

bool FFTJetPileupAnalyzer::collectGridDensity
private

Definition at line 96 of file FFTJetPileupAnalyzer.cc.

bool FFTJetPileupAnalyzer::collectGrids
private

Definition at line 95 of file FFTJetPileupAnalyzer.cc.

bool FFTJetPileupAnalyzer::collectHistos
private

Definition at line 90 of file FFTJetPileupAnalyzer.cc.

bool FFTJetPileupAnalyzer::collectOOTPileup
private

Definition at line 94 of file FFTJetPileupAnalyzer.cc.

bool FFTJetPileupAnalyzer::collectPileup
private

Definition at line 93 of file FFTJetPileupAnalyzer.cc.

bool FFTJetPileupAnalyzer::collectSummaries
private

Definition at line 91 of file FFTJetPileupAnalyzer.cc.

bool FFTJetPileupAnalyzer::collectVertexInfo
private

Definition at line 97 of file FFTJetPileupAnalyzer.cc.

unsigned long FFTJetPileupAnalyzer::counter
private

Definition at line 107 of file FFTJetPileupAnalyzer.cc.

Referenced by counter.Counters::__getitem__().

double FFTJetPileupAnalyzer::crazyEnergyCut
private

Definition at line 101 of file FFTJetPileupAnalyzer.cc.

edm::EDGetTokenT<std::pair<double,double> > FFTJetPileupAnalyzer::etSumToken
private

Definition at line 86 of file FFTJetPileupAnalyzer.cc.

edm::InputTag FFTJetPileupAnalyzer::fastJetRhoLabel
private

Definition at line 73 of file FFTJetPileupAnalyzer.cc.

edm::EDGetTokenT<double> FFTJetPileupAnalyzer::fastJetRhoToken
private

Definition at line 81 of file FFTJetPileupAnalyzer.cc.

edm::InputTag FFTJetPileupAnalyzer::fastJetSigmaLabel
private

Definition at line 74 of file FFTJetPileupAnalyzer.cc.

edm::EDGetTokenT<double> FFTJetPileupAnalyzer::fastJetSigmaToken
private

Definition at line 82 of file FFTJetPileupAnalyzer.cc.

edm::InputTag FFTJetPileupAnalyzer::gridLabel
private

Definition at line 75 of file FFTJetPileupAnalyzer.cc.

edm::EDGetTokenT<reco::DiscretizedEnergyFlow> FFTJetPileupAnalyzer::gridToken
private

Definition at line 83 of file FFTJetPileupAnalyzer.cc.

edm::InputTag FFTJetPileupAnalyzer::histoLabel
private

Definition at line 71 of file FFTJetPileupAnalyzer.cc.

edm::EDGetTokenT<TH2D> FFTJetPileupAnalyzer::histoToken
private

Definition at line 79 of file FFTJetPileupAnalyzer.cc.

TNtuple* FFTJetPileupAnalyzer::nt
private

Definition at line 104 of file FFTJetPileupAnalyzer.cc.

std::vector<float> FFTJetPileupAnalyzer::ntupleData
private

Definition at line 103 of file FFTJetPileupAnalyzer.cc.

std::string FFTJetPileupAnalyzer::ntupleName
private

Definition at line 88 of file FFTJetPileupAnalyzer.cc.

std::string FFTJetPileupAnalyzer::ntupleTitle
private

Definition at line 89 of file FFTJetPileupAnalyzer.cc.

std::string FFTJetPileupAnalyzer::pileupLabel
private

Definition at line 77 of file FFTJetPileupAnalyzer.cc.

edm::EDGetTokenT<std::vector<PileupSummaryInfo> > FFTJetPileupAnalyzer::pileupToken
private

Definition at line 85 of file FFTJetPileupAnalyzer.cc.

edm::InputTag FFTJetPileupAnalyzer::srcPVs
private

Definition at line 76 of file FFTJetPileupAnalyzer.cc.

edm::EDGetTokenT<reco::VertexCollection> FFTJetPileupAnalyzer::srcPVsToken
private

Definition at line 84 of file FFTJetPileupAnalyzer.cc.

edm::InputTag FFTJetPileupAnalyzer::summaryLabel
private

Definition at line 72 of file FFTJetPileupAnalyzer.cc.

edm::EDGetTokenT<reco::FFTJetPileupSummary> FFTJetPileupAnalyzer::summaryToken
private

Definition at line 80 of file FFTJetPileupAnalyzer.cc.

int FFTJetPileupAnalyzer::totalNpu
private

Definition at line 105 of file FFTJetPileupAnalyzer.cc.

int FFTJetPileupAnalyzer::totalNPV
private

Definition at line 106 of file FFTJetPileupAnalyzer.cc.

bool FFTJetPileupAnalyzer::verbosePileupInfo
private

Definition at line 98 of file FFTJetPileupAnalyzer.cc.

double FFTJetPileupAnalyzer::vertexNdofCut
private

Definition at line 100 of file FFTJetPileupAnalyzer.cc.