CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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::one::EDAnalyzer< edm::one::SharedResources > edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 FFTJetPileupAnalyzer (const edm::ParameterSet &)
 
 FFTJetPileupAnalyzer ()=delete
 
 FFTJetPileupAnalyzer (const FFTJetPileupAnalyzer &)=delete
 
FFTJetPileupAnalyzeroperator= (const FFTJetPileupAnalyzer &)=delete
 
 ~FFTJetPileupAnalyzer () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::SharedResources >
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex >
const & 
esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector
< ProductResolverIndexAndSkipBit >
const & 
itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

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

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::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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)
 
void resetItemsToGetFrom (BranchType iType)
 

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 111 of file FFTJetPileupAnalyzer.cc.

References collectFastJetRho, collectGridDensity, collectGrids, collectHistos, collectOOTPileup, collectPileup, collectSummaries, collectVertexInfo, etSumToken, fastJetRhoLabel, fastJetRhoToken, fastJetSigmaLabel, fastJetSigmaToken, gridLabel, gridToken, histoLabel, histoToken, TFileService::kSharedResource, pileupLabel, pileupToken, srcPVs, srcPVsToken, summaryLabel, and summaryToken.

121  init_param(bool, collectHistos),
124  init_param(bool, collectPileup),
126  init_param(bool, collectGrids),
130  init_param(double, vertexNdofCut),
131  init_param(double, crazyEnergyCut),
132  nt(nullptr),
133  totalNpu(-1),
134  totalNPV(-1),
135  counter(0) {
136  usesResource(TFileService::kSharedResource);
137 
139  pileupToken = consumes<std::vector<PileupSummaryInfo> >(pileupLabel);
140 
141  if (collectHistos)
142  histoToken = consumes<TH2D>(histoLabel);
143 
144  if (collectSummaries)
145  summaryToken = consumes<reco::FFTJetPileupSummary>(summaryLabel);
146 
147  if (collectFastJetRho) {
148  fastJetRhoToken = consumes<double>(fastJetRhoLabel);
149  fastJetSigmaToken = consumes<double>(fastJetSigmaLabel);
150  }
151 
152  if (collectGrids)
153  gridToken = consumes<reco::DiscretizedEnergyFlow>(gridLabel);
154 
155  if (collectGridDensity)
156  etSumToken = consumes<std::pair<double, double> >(histoLabel);
157 
158  if (collectVertexInfo)
159  srcPVsToken = consumes<reco::VertexCollection>(srcPVs);
160 }
static const std::string kSharedResource
Definition: TFileService.h:76
#define init_param(type, varname)
edm::EDGetTokenT< reco::VertexCollection > srcPVsToken
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupToken
edm::EDGetTokenT< TH2D > histoToken
edm::EDGetTokenT< reco::FFTJetPileupSummary > summaryToken
edm::EDGetTokenT< double > fastJetSigmaToken
edm::EDGetTokenT< double > fastJetRhoToken
edm::EDGetTokenT< reco::DiscretizedEnergyFlow > gridToken
edm::EDGetTokenT< std::pair< double, double > > etSumToken
FFTJetPileupAnalyzer::FFTJetPileupAnalyzer ( )
delete
FFTJetPileupAnalyzer::FFTJetPileupAnalyzer ( const FFTJetPileupAnalyzer )
delete
FFTJetPileupAnalyzer::~FFTJetPileupAnalyzer ( )
override

Definition at line 162 of file FFTJetPileupAnalyzer.cc.

162 {}

Member Function Documentation

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

Implements edm::one::EDAnalyzerBase.

Definition at line 274 of file FFTJetPileupAnalyzer.cc.

References analyzePileup(), cms::cuda::assert(), collectFastJetRho, collectGridDensity, collectGrids, collectHistos, collectOOTPileup, collectPileup, collectSummaries, collectVertexInfo, filterCSVwithJSON::copy, counter, data, etSumToken, edm::EventID::event(), validate-o2o-wbm::f, fastJetRhoToken, fastJetSigmaToken, compareTotals::fs, TFileService::getBareDirectory(), edm::Event::getByToken(), gridToken, h, histoToken, edm::EventBase::id(), input, M_PI, ndof, HLT_FULL_cff::nEta, HLT_FULL_cff::nPhi, nt, ntupleData, pileupToken, MetAnalyzer::pv(), edm::EventID::run(), cond::runnumber, srcPVsToken, AlCaHLTBitMon_QueryRunRegistry::string, edmLumisInFiles::summary, summaryToken, totalNpu, totalNPV, and vertexNdofCut.

274  {
275  ntupleData.clear();
276  ntupleData.push_back(counter);
277  totalNpu = -1;
278  totalNPV = -1;
279 
280  edm::RunNumber_t const runnumber = iEvent.id().run();
281  edm::EventNumber_t const eventnumber = iEvent.id().event();
282  ntupleData.push_back(runnumber);
283  ntupleData.push_back(eventnumber);
284 
285  // Get pileup information from the pile-up information module
288  if (iEvent.getByToken(pileupToken, puInfo))
289  analyzePileup(*puInfo);
290  else {
291  if (collectPileup) {
292  ntupleData.push_back(-1);
293  ntupleData.push_back(-1);
294  ntupleData.push_back(0.f);
295  ntupleData.push_back(0.f);
296  }
297  if (collectOOTPileup)
298  for (unsigned ibx = 0; ibx < 3; ++ibx) {
299  ntupleData.push_back(-1);
300  ntupleData.push_back(0.f);
301  ntupleData.push_back(0.f);
302  }
303  }
304  }
305 
306  if (collectHistos) {
308  iEvent.getByToken(histoToken, input);
309 
311  TH2D* copy = new TH2D(*input);
312 
313  std::ostringstream os;
314  os << copy->GetName() << '_' << counter << '_' << totalNpu << '_' << runnumber << '_' << eventnumber;
315  const std::string& newname(os.str());
316  copy->SetNameTitle(newname.c_str(), newname.c_str());
317 
318  copy->SetDirectory(fs->getBareDirectory());
319  }
320 
321  if (collectSummaries) {
323  iEvent.getByToken(summaryToken, summary);
324 
325  ntupleData.push_back(summary->uncalibratedQuantile());
326  ntupleData.push_back(summary->pileupRho());
327  ntupleData.push_back(summary->pileupRhoUncertainty());
328  ntupleData.push_back(summary->uncertaintyCode());
329  }
330 
331  if (collectFastJetRho) {
332  edm::Handle<double> fjrho, fjsigma;
333  iEvent.getByToken(fastJetRhoToken, fjrho);
334  iEvent.getByToken(fastJetSigmaToken, fjsigma);
335 
336  ntupleData.push_back(*fjrho);
337  ntupleData.push_back(*fjsigma);
338  }
339 
340  if (collectGrids) {
342  iEvent.getByToken(gridToken, input);
343 
344  // Make sure the input grid is reasonable
345  const double* data = input->data();
346  assert(data);
347  assert(input->phiBin0Edge() == 0.0);
348  const unsigned nEta = input->nEtaBins();
349  const unsigned nPhi = input->nPhiBins();
350 
351  // Generate a name for the output histogram
352  std::ostringstream os;
353  os << "FFTJetGrid_" << counter << '_' << totalNpu << '_' << runnumber << '_' << eventnumber;
354  const std::string& newname(os.str());
355 
356  // Make a histogram and copy the grid data into it
358  TH2F* h =
359  fs->make<TH2F>(newname.c_str(), newname.c_str(), nEta, input->etaMin(), input->etaMax(), nPhi, 0.0, 2.0 * M_PI);
360  h->GetXaxis()->SetTitle("Eta");
361  h->GetYaxis()->SetTitle("Phi");
362  h->GetZaxis()->SetTitle("Transverse Energy");
363 
364  for (unsigned ieta = 0; ieta < nEta; ++ieta)
365  for (unsigned iphi = 0; iphi < nPhi; ++iphi)
366  h->SetBinContent(ieta + 1U, iphi + 1U, data[ieta * nPhi + iphi]);
367  }
368 
369  if (collectGridDensity) {
371  iEvent.getByToken(etSumToken, etSum);
372 
373  ntupleData.push_back(etSum->first);
374  ntupleData.push_back(etSum->second);
375  }
376 
377  if (collectVertexInfo) {
379  iEvent.getByToken(srcPVsToken, pvCollection);
380  totalNPV = 0;
381  if (!pvCollection->empty())
382  for (reco::VertexCollection::const_iterator pv = pvCollection->begin(); pv != pvCollection->end(); ++pv) {
383  const double ndof = pv->ndof();
384  if (!pv->isFake() && ndof > vertexNdofCut)
385  ++totalNPV;
386  }
387  ntupleData.push_back(totalNPV);
388  }
389 
390  assert(ntupleData.size() == static_cast<unsigned>(nt->GetNvar()));
391  nt->Fill(&ntupleData[0]);
392 
393  ++counter;
394 }
RunNumber_t run() const
Definition: EventID.h:38
EventNumber_t event() const
Definition: EventID.h:40
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:539
edm::EDGetTokenT< reco::VertexCollection > srcPVsToken
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupToken
unsigned long long EventNumber_t
assert(be >=bs)
void analyzePileup(const std::vector< PileupSummaryInfo > &pInfo)
static std::string const input
Definition: EdmProvDump.cc:47
edm::EDGetTokenT< TH2D > histoToken
TDirectory * getBareDirectory(const std::string &subdir="") const
Definition: TFileService.h:52
edm::EDGetTokenT< reco::FFTJetPileupSummary > summaryToken
edm::EDGetTokenT< double > fastJetSigmaToken
#define M_PI
edm::EventID id() const
Definition: EventBase.h:59
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
edm::EDGetTokenT< double > fastJetRhoToken
unsigned int RunNumber_t
edm::EDGetTokenT< reco::DiscretizedEnergyFlow > gridToken
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
std::vector< float > ntupleData
edm::EDGetTokenT< std::pair< double, double > > etSumToken
void FFTJetPileupAnalyzer::analyzePileup ( const std::vector< PileupSummaryInfo > &  pInfo)
private

Definition at line 167 of file FFTJetPileupAnalyzer.cc.

References makePileupJSON::bx, collectOOTPileup, collectPileup, gather_cfg::cout, crazyEnergyCut, PileupSummaryInfo::getBunchCrossing(), PileupSummaryInfo::getPU_NumInteractions(), PileupSummaryInfo::getPU_sumpT_highpT(), PileupSummaryInfo::getPU_sumpT_lowpT(), ntupleData, totalNpu, and verbosePileupInfo.

Referenced by analyze().

167  {
168  const unsigned nBx = info.size();
169  if (collectPileup)
170  ntupleData.push_back(static_cast<float>(nBx));
171 
172  double sumpt_Lo = 0.0, sumpt_Hi = 0.0;
173  totalNpu = 0;
174 
175  int npu_by_Bx[3] = {
176  0,
177  };
178  double sumpt_Lo_by_Bx[3] =
179  {
180  0.0,
181  },
182  sumpt_Hi_by_Bx[3] = {
183  0.0,
184  };
185 
186  if (verbosePileupInfo)
187  std::cout << "\n**** Pileup info begin" << std::endl;
188 
189  bool isCrazy = false;
190  for (unsigned ibx = 0; ibx < nBx; ++ibx) {
191  const PileupSummaryInfo& puInfo(info[ibx]);
192 
193  const int bx = puInfo.getBunchCrossing();
194  const int npu = puInfo.getPU_NumInteractions();
195  const std::vector<float>& lopt(puInfo.getPU_sumpT_lowpT());
196  const std::vector<float>& hipt(puInfo.getPU_sumpT_highpT());
197  const double losum = std::accumulate(lopt.begin(), lopt.end(), 0.0);
198  const double hisum = std::accumulate(hipt.begin(), hipt.end(), 0.0);
199 
200  if (losum >= crazyEnergyCut)
201  isCrazy = true;
202  if (hisum >= crazyEnergyCut)
203  isCrazy = true;
204 
205  totalNpu += npu;
206  sumpt_Lo += losum;
207  sumpt_Hi += hisum;
208 
209  const unsigned idx = bx < 0 ? 0U : (bx == 0 ? 1U : 2U);
210  npu_by_Bx[idx] += npu;
211  sumpt_Lo_by_Bx[idx] += losum;
212  sumpt_Hi_by_Bx[idx] += hisum;
213 
214  if (verbosePileupInfo)
215  std::cout << "ibx " << ibx << " bx " << bx << " npu " << npu << " losum " << losum << " hisum " << hisum
216  << std::endl;
217  }
218 
219  if (verbosePileupInfo)
220  std::cout << "**** Pileup info end\n" << std::endl;
221 
222  if (isCrazy) {
223  totalNpu = -1;
224  sumpt_Lo = 0.0;
225  sumpt_Hi = 0.0;
226  for (unsigned ibx = 0; ibx < 3; ++ibx) {
227  npu_by_Bx[ibx] = -1;
228  sumpt_Lo_by_Bx[ibx] = 0.0;
229  sumpt_Hi_by_Bx[ibx] = 0.0;
230  }
231  }
232 
233  if (collectPileup) {
234  ntupleData.push_back(totalNpu);
235  ntupleData.push_back(sumpt_Lo);
236  ntupleData.push_back(sumpt_Hi);
237  }
238 
239  if (collectOOTPileup)
240  for (unsigned ibx = 0; ibx < 3; ++ibx) {
241  ntupleData.push_back(npu_by_Bx[ibx]);
242  ntupleData.push_back(sumpt_Lo_by_Bx[ibx]);
243  ntupleData.push_back(sumpt_Hi_by_Bx[ibx]);
244  }
245 }
static const TGPicture * info(bool iBackgroundIsBlack)
tuple cout
Definition: gather_cfg.py:144
std::vector< float > ntupleData
void FFTJetPileupAnalyzer::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 248 of file FFTJetPileupAnalyzer.cc.

References collectFastJetRho, collectGridDensity, collectOOTPileup, collectPileup, collectSummaries, collectVertexInfo, compareTotals::fs, TFileService::make(), nt, ntupleData, ntupleName, ntupleTitle, and AlCaHLTBitMon_QueryRunRegistry::string.

248  {
249  // Come up with the list of variables
250  std::string vars = "cnt:run:event";
251  if (collectPileup)
252  vars += ":nbx:npu:sumptLowCut:sumptHiCut";
253  if (collectOOTPileup) {
254  vars += ":npu_negbx:sumptLowCut_negbx:sumptHiCut_negbx";
255  vars += ":npu_0bx:sumptLowCut_0bx:sumptHiCut_0bx";
256  vars += ":npu_posbx:sumptLowCut_posbx:sumptHiCut_posbx";
257  }
258  if (collectSummaries)
259  vars += ":estimate:pileup:uncert:uncertCode";
260  if (collectFastJetRho)
261  vars += ":fjrho:fjsigma";
262  if (collectGridDensity)
263  vars += ":gridEtDensity:gridEtDensityMixed";
264  if (collectVertexInfo)
265  vars += ":nPV";
266 
267  // Book the ntuple
269  nt = fs->make<TNtuple>(ntupleName.c_str(), ntupleTitle.c_str(), vars.c_str());
270  ntupleData.reserve(nt->GetNvar());
271 }
T * make(const Args &...args) const
make new ROOT object
Definition: TFileService.h:64
vars
Definition: DeepTauId.cc:164
std::vector< float > ntupleData
void FFTJetPileupAnalyzer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 397 of file FFTJetPileupAnalyzer.cc.

397 {}
FFTJetPileupAnalyzer& FFTJetPileupAnalyzer::operator= ( const FFTJetPileupAnalyzer )
delete

Member Data Documentation

bool FFTJetPileupAnalyzer::collectFastJetRho
private

Definition at line 90 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), beginJob(), and FFTJetPileupAnalyzer().

bool FFTJetPileupAnalyzer::collectGridDensity
private

Definition at line 94 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), beginJob(), and FFTJetPileupAnalyzer().

bool FFTJetPileupAnalyzer::collectGrids
private

Definition at line 93 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

bool FFTJetPileupAnalyzer::collectHistos
private

Definition at line 88 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

bool FFTJetPileupAnalyzer::collectOOTPileup
private

Definition at line 92 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), analyzePileup(), beginJob(), and FFTJetPileupAnalyzer().

bool FFTJetPileupAnalyzer::collectPileup
private

Definition at line 91 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), analyzePileup(), beginJob(), and FFTJetPileupAnalyzer().

bool FFTJetPileupAnalyzer::collectSummaries
private

Definition at line 89 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), beginJob(), and FFTJetPileupAnalyzer().

bool FFTJetPileupAnalyzer::collectVertexInfo
private

Definition at line 95 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), beginJob(), and FFTJetPileupAnalyzer().

unsigned long FFTJetPileupAnalyzer::counter
private

Definition at line 105 of file FFTJetPileupAnalyzer.cc.

Referenced by counter.Counters::__getitem__(), and analyze().

double FFTJetPileupAnalyzer::crazyEnergyCut
private

Definition at line 99 of file FFTJetPileupAnalyzer.cc.

Referenced by analyzePileup().

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

Definition at line 84 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

edm::InputTag FFTJetPileupAnalyzer::fastJetRhoLabel
private

Definition at line 71 of file FFTJetPileupAnalyzer.cc.

Referenced by FFTJetPileupAnalyzer().

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

Definition at line 79 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

edm::InputTag FFTJetPileupAnalyzer::fastJetSigmaLabel
private

Definition at line 72 of file FFTJetPileupAnalyzer.cc.

Referenced by FFTJetPileupAnalyzer().

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

Definition at line 80 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

edm::InputTag FFTJetPileupAnalyzer::gridLabel
private

Definition at line 73 of file FFTJetPileupAnalyzer.cc.

Referenced by FFTJetPileupAnalyzer().

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

Definition at line 81 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

edm::InputTag FFTJetPileupAnalyzer::histoLabel
private

Definition at line 69 of file FFTJetPileupAnalyzer.cc.

Referenced by FFTJetPileupAnalyzer().

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

Definition at line 77 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

TNtuple* FFTJetPileupAnalyzer::nt
private

Definition at line 102 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and beginJob().

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

Definition at line 101 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), analyzePileup(), and beginJob().

std::string FFTJetPileupAnalyzer::ntupleName
private

Definition at line 86 of file FFTJetPileupAnalyzer.cc.

Referenced by beginJob().

std::string FFTJetPileupAnalyzer::ntupleTitle
private

Definition at line 87 of file FFTJetPileupAnalyzer.cc.

Referenced by beginJob().

std::string FFTJetPileupAnalyzer::pileupLabel
private

Definition at line 75 of file FFTJetPileupAnalyzer.cc.

Referenced by FFTJetPileupAnalyzer().

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

Definition at line 83 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

edm::InputTag FFTJetPileupAnalyzer::srcPVs
private

Definition at line 74 of file FFTJetPileupAnalyzer.cc.

Referenced by FFTJetPileupAnalyzer().

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

Definition at line 82 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

edm::InputTag FFTJetPileupAnalyzer::summaryLabel
private

Definition at line 70 of file FFTJetPileupAnalyzer.cc.

Referenced by FFTJetPileupAnalyzer().

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

Definition at line 78 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

int FFTJetPileupAnalyzer::totalNpu
private

Definition at line 103 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and analyzePileup().

int FFTJetPileupAnalyzer::totalNPV
private

Definition at line 104 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze().

bool FFTJetPileupAnalyzer::verbosePileupInfo
private

Definition at line 96 of file FFTJetPileupAnalyzer.cc.

Referenced by analyzePileup().

double FFTJetPileupAnalyzer::vertexNdofCut
private

Definition at line 98 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze().