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::EDAnalyzer 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::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () 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::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 &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- 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< B > consumes (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 () noexcept
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
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, 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) {
137  pileupToken = consumes<std::vector<PileupSummaryInfo> >(pileupLabel);
138 
139  if (collectHistos)
140  histoToken = consumes<TH2D>(histoLabel);
141 
142  if (collectSummaries)
143  summaryToken = consumes<reco::FFTJetPileupSummary>(summaryLabel);
144 
145  if (collectFastJetRho) {
146  fastJetRhoToken = consumes<double>(fastJetRhoLabel);
147  fastJetSigmaToken = consumes<double>(fastJetSigmaLabel);
148  }
149 
150  if (collectGrids)
151  gridToken = consumes<reco::DiscretizedEnergyFlow>(gridLabel);
152 
153  if (collectGridDensity)
154  etSumToken = consumes<std::pair<double, double> >(histoLabel);
155 
156  if (collectVertexInfo)
157  srcPVsToken = consumes<reco::VertexCollection>(srcPVs);
158 }
#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 160 of file FFTJetPileupAnalyzer.cc.

160 {}

Member Function Documentation

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

Implements edm::EDAnalyzer.

Definition at line 272 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, 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.

272  {
273  ntupleData.clear();
274  ntupleData.push_back(counter);
275  totalNpu = -1;
276  totalNPV = -1;
277 
278  edm::RunNumber_t const runnumber = iEvent.id().run();
279  edm::EventNumber_t const eventnumber = iEvent.id().event();
280  ntupleData.push_back(runnumber);
281  ntupleData.push_back(eventnumber);
282 
283  // Get pileup information from the pile-up information module
286  if (iEvent.getByToken(pileupToken, puInfo))
287  analyzePileup(*puInfo);
288  else {
289  if (collectPileup) {
290  ntupleData.push_back(-1);
291  ntupleData.push_back(-1);
292  ntupleData.push_back(0.f);
293  ntupleData.push_back(0.f);
294  }
295  if (collectOOTPileup)
296  for (unsigned ibx = 0; ibx < 3; ++ibx) {
297  ntupleData.push_back(-1);
298  ntupleData.push_back(0.f);
299  ntupleData.push_back(0.f);
300  }
301  }
302  }
303 
304  if (collectHistos) {
306  iEvent.getByToken(histoToken, input);
307 
309  TH2D* copy = new TH2D(*input);
310 
311  std::ostringstream os;
312  os << copy->GetName() << '_' << counter << '_' << totalNpu << '_' << runnumber << '_' << eventnumber;
313  const std::string& newname(os.str());
314  copy->SetNameTitle(newname.c_str(), newname.c_str());
315 
316  copy->SetDirectory(fs->getBareDirectory());
317  }
318 
319  if (collectSummaries) {
321  iEvent.getByToken(summaryToken, summary);
322 
323  ntupleData.push_back(summary->uncalibratedQuantile());
324  ntupleData.push_back(summary->pileupRho());
325  ntupleData.push_back(summary->pileupRhoUncertainty());
326  ntupleData.push_back(summary->uncertaintyCode());
327  }
328 
329  if (collectFastJetRho) {
330  edm::Handle<double> fjrho, fjsigma;
331  iEvent.getByToken(fastJetRhoToken, fjrho);
332  iEvent.getByToken(fastJetSigmaToken, fjsigma);
333 
334  ntupleData.push_back(*fjrho);
335  ntupleData.push_back(*fjsigma);
336  }
337 
338  if (collectGrids) {
340  iEvent.getByToken(gridToken, input);
341 
342  // Make sure the input grid is reasonable
343  const double* data = input->data();
344  assert(data);
345  assert(input->phiBin0Edge() == 0.0);
346  const unsigned nEta = input->nEtaBins();
347  const unsigned nPhi = input->nPhiBins();
348 
349  // Generate a name for the output histogram
350  std::ostringstream os;
351  os << "FFTJetGrid_" << counter << '_' << totalNpu << '_' << runnumber << '_' << eventnumber;
352  const std::string& newname(os.str());
353 
354  // Make a histogram and copy the grid data into it
356  TH2F* h =
357  fs->make<TH2F>(newname.c_str(), newname.c_str(), nEta, input->etaMin(), input->etaMax(), nPhi, 0.0, 2.0 * M_PI);
358  h->GetXaxis()->SetTitle("Eta");
359  h->GetYaxis()->SetTitle("Phi");
360  h->GetZaxis()->SetTitle("Transverse Energy");
361 
362  for (unsigned ieta = 0; ieta < nEta; ++ieta)
363  for (unsigned iphi = 0; iphi < nPhi; ++iphi)
364  h->SetBinContent(ieta + 1U, iphi + 1U, data[ieta * nPhi + iphi]);
365  }
366 
367  if (collectGridDensity) {
369  iEvent.getByToken(etSumToken, etSum);
370 
371  ntupleData.push_back(etSum->first);
372  ntupleData.push_back(etSum->second);
373  }
374 
375  if (collectVertexInfo) {
377  iEvent.getByToken(srcPVsToken, pvCollection);
378  totalNPV = 0;
379  if (!pvCollection->empty())
380  for (reco::VertexCollection::const_iterator pv = pvCollection->begin(); pv != pvCollection->end(); ++pv) {
381  const double ndof = pv->ndof();
382  if (!pv->isFake() && ndof > vertexNdofCut)
383  ++totalNPV;
384  }
385  ntupleData.push_back(totalNPV);
386  }
387 
388  assert(ntupleData.size() == static_cast<unsigned>(nt->GetNvar()));
389  nt->Fill(&ntupleData[0]);
390 
391  ++counter;
392 }
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 165 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().

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

Definition at line 246 of file FFTJetPileupAnalyzer.cc.

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

246  {
247  // Come up with the list of variables
248  std::string vars = "cnt:run:event";
249  if (collectPileup)
250  vars += ":nbx:npu:sumptLowCut:sumptHiCut";
251  if (collectOOTPileup) {
252  vars += ":npu_negbx:sumptLowCut_negbx:sumptHiCut_negbx";
253  vars += ":npu_0bx:sumptLowCut_0bx:sumptHiCut_0bx";
254  vars += ":npu_posbx:sumptLowCut_posbx:sumptHiCut_posbx";
255  }
256  if (collectSummaries)
257  vars += ":estimate:pileup:uncert:uncertCode";
258  if (collectFastJetRho)
259  vars += ":fjrho:fjsigma";
260  if (collectGridDensity)
261  vars += ":gridEtDensity:gridEtDensityMixed";
262  if (collectVertexInfo)
263  vars += ":nPV";
264 
265  // Book the ntuple
267  nt = fs->make<TNtuple>(ntupleName.c_str(), ntupleTitle.c_str(), vars.c_str());
268  ntupleData.reserve(nt->GetNvar());
269 }
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::EDAnalyzer.

Definition at line 395 of file FFTJetPileupAnalyzer.cc.

395 {}
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().