CMS 3D CMS Logo

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 () 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 &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
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::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
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
 
 FFTJetPileupAnalyzer ()=delete
 
 FFTJetPileupAnalyzer (const FFTJetPileupAnalyzer &)=delete
 
FFTJetPileupAnalyzeroperator= (const FFTJetPileupAnalyzer &)=delete
 

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::DiscretizedEnergyFlowgridToken
 
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::VertexCollectionsrcPVsToken
 
edm::InputTag summaryLabel
 
edm::EDGetTokenT< reco::FFTJetPileupSummarysummaryToken
 
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
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (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() [1/3]

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

Definition at line 112 of file FFTJetPileupAnalyzer.cc.

122  init_param(bool, collectHistos),
125  init_param(bool, collectPileup),
127  init_param(bool, collectGrids),
131  init_param(double, vertexNdofCut),
132  init_param(double, crazyEnergyCut),
133  nt(nullptr),
134  totalNpu(-1),
135  totalNPV(-1),
136  counter(0) {
138  pileupToken = consumes<std::vector<PileupSummaryInfo> >(pileupLabel);
139 
140  if (collectHistos)
141  histoToken = consumes<TH2D>(histoLabel);
142 
143  if (collectSummaries)
144  summaryToken = consumes<reco::FFTJetPileupSummary>(summaryLabel);
145 
146  if (collectFastJetRho) {
147  fastJetRhoToken = consumes<double>(fastJetRhoLabel);
148  fastJetSigmaToken = consumes<double>(fastJetSigmaLabel);
149  }
150 
151  if (collectGrids)
152  gridToken = consumes<reco::DiscretizedEnergyFlow>(gridLabel);
153 
154  if (collectGridDensity)
155  etSumToken = consumes<std::pair<double, double> >(histoLabel);
156 
157  if (collectVertexInfo)
158  srcPVsToken = consumes<reco::VertexCollection>(srcPVs);
159 }

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.

◆ ~FFTJetPileupAnalyzer()

FFTJetPileupAnalyzer::~FFTJetPileupAnalyzer ( )
override

Definition at line 161 of file FFTJetPileupAnalyzer.cc.

161 {}

◆ FFTJetPileupAnalyzer() [2/3]

FFTJetPileupAnalyzer::FFTJetPileupAnalyzer ( )
privatedelete

◆ FFTJetPileupAnalyzer() [3/3]

FFTJetPileupAnalyzer::FFTJetPileupAnalyzer ( const FFTJetPileupAnalyzer )
privatedelete

Member Function Documentation

◆ analyze()

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

Implements edm::EDAnalyzer.

Definition at line 273 of file FFTJetPileupAnalyzer.cc.

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

References analyzePileup(), cms::cuda::assert(), collectFastJetRho, collectGridDensity, collectGrids, collectHistos, collectOOTPileup, collectPileup, collectSummaries, collectVertexInfo, filterCSVwithJSON::copy, counter, data, etSumToken, f, fastJetRhoToken, fastJetSigmaToken, TFileService::getBareDirectory(), gridToken, histoToken, LEDCalibrationChannels::ieta, iEvent, input, LEDCalibrationChannels::iphi, M_PI, ndof, HLT_FULL_cff::nEta, HLT_FULL_cff::nPhi, nt, ntupleData, pileupToken, MetAnalyzer::pv(), anotherprimaryvertexanalyzer_cfi::pvCollection, cond::runnumber, srcPVsToken, AlCaHLTBitMon_QueryRunRegistry::string, edmLumisInFiles::summary, summaryToken, totalNpu, totalNPV, mitigatedMETSequence_cff::U, and vertexNdofCut.

◆ analyzePileup()

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

Definition at line 166 of file FFTJetPileupAnalyzer.cc.

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

References l1GtPatternGenerator_cfi::bx, collectOOTPileup, collectPileup, gather_cfg::cout, crazyEnergyCut, PileupSummaryInfo::getBunchCrossing(), PileupSummaryInfo::getPU_NumInteractions(), PileupSummaryInfo::getPU_sumpT_highpT(), PileupSummaryInfo::getPU_sumpT_lowpT(), heavyIonCSV_trainingSettings::idx, info(), ntupleData, totalNpu, mitigatedMETSequence_cff::U, and verbosePileupInfo.

Referenced by analyze().

◆ beginJob()

void FFTJetPileupAnalyzer::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 247 of file FFTJetPileupAnalyzer.cc.

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

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

◆ endJob()

void FFTJetPileupAnalyzer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 396 of file FFTJetPileupAnalyzer.cc.

396 {}

◆ operator=()

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

Member Data Documentation

◆ collectFastJetRho

bool FFTJetPileupAnalyzer::collectFastJetRho
private

Definition at line 91 of file FFTJetPileupAnalyzer.cc.

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

◆ collectGridDensity

bool FFTJetPileupAnalyzer::collectGridDensity
private

Definition at line 95 of file FFTJetPileupAnalyzer.cc.

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

◆ collectGrids

bool FFTJetPileupAnalyzer::collectGrids
private

Definition at line 94 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

◆ collectHistos

bool FFTJetPileupAnalyzer::collectHistos
private

Definition at line 89 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

◆ collectOOTPileup

bool FFTJetPileupAnalyzer::collectOOTPileup
private

Definition at line 93 of file FFTJetPileupAnalyzer.cc.

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

◆ collectPileup

bool FFTJetPileupAnalyzer::collectPileup
private

Definition at line 92 of file FFTJetPileupAnalyzer.cc.

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

◆ collectSummaries

bool FFTJetPileupAnalyzer::collectSummaries
private

Definition at line 90 of file FFTJetPileupAnalyzer.cc.

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

◆ collectVertexInfo

bool FFTJetPileupAnalyzer::collectVertexInfo
private

Definition at line 96 of file FFTJetPileupAnalyzer.cc.

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

◆ counter

unsigned long FFTJetPileupAnalyzer::counter
private

Definition at line 106 of file FFTJetPileupAnalyzer.cc.

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

◆ crazyEnergyCut

double FFTJetPileupAnalyzer::crazyEnergyCut
private

Definition at line 100 of file FFTJetPileupAnalyzer.cc.

Referenced by analyzePileup().

◆ etSumToken

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

Definition at line 85 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

◆ fastJetRhoLabel

edm::InputTag FFTJetPileupAnalyzer::fastJetRhoLabel
private

Definition at line 72 of file FFTJetPileupAnalyzer.cc.

Referenced by FFTJetPileupAnalyzer().

◆ fastJetRhoToken

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

Definition at line 80 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

◆ fastJetSigmaLabel

edm::InputTag FFTJetPileupAnalyzer::fastJetSigmaLabel
private

Definition at line 73 of file FFTJetPileupAnalyzer.cc.

Referenced by FFTJetPileupAnalyzer().

◆ fastJetSigmaToken

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

Definition at line 81 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

◆ gridLabel

edm::InputTag FFTJetPileupAnalyzer::gridLabel
private

Definition at line 74 of file FFTJetPileupAnalyzer.cc.

Referenced by FFTJetPileupAnalyzer().

◆ gridToken

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

Definition at line 82 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

◆ histoLabel

edm::InputTag FFTJetPileupAnalyzer::histoLabel
private

Definition at line 70 of file FFTJetPileupAnalyzer.cc.

Referenced by FFTJetPileupAnalyzer().

◆ histoToken

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

Definition at line 78 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

◆ nt

TNtuple* FFTJetPileupAnalyzer::nt
private

Definition at line 103 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ ntupleData

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

Definition at line 102 of file FFTJetPileupAnalyzer.cc.

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

◆ ntupleName

std::string FFTJetPileupAnalyzer::ntupleName
private

Definition at line 87 of file FFTJetPileupAnalyzer.cc.

Referenced by beginJob().

◆ ntupleTitle

std::string FFTJetPileupAnalyzer::ntupleTitle
private

Definition at line 88 of file FFTJetPileupAnalyzer.cc.

Referenced by beginJob().

◆ pileupLabel

std::string FFTJetPileupAnalyzer::pileupLabel
private

Definition at line 76 of file FFTJetPileupAnalyzer.cc.

Referenced by FFTJetPileupAnalyzer().

◆ pileupToken

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

Definition at line 84 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

◆ srcPVs

edm::InputTag FFTJetPileupAnalyzer::srcPVs
private

Definition at line 75 of file FFTJetPileupAnalyzer.cc.

Referenced by FFTJetPileupAnalyzer().

◆ srcPVsToken

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

Definition at line 83 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

◆ summaryLabel

edm::InputTag FFTJetPileupAnalyzer::summaryLabel
private

Definition at line 71 of file FFTJetPileupAnalyzer.cc.

Referenced by FFTJetPileupAnalyzer().

◆ summaryToken

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

Definition at line 79 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and FFTJetPileupAnalyzer().

◆ totalNpu

int FFTJetPileupAnalyzer::totalNpu
private

Definition at line 104 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze(), and analyzePileup().

◆ totalNPV

int FFTJetPileupAnalyzer::totalNPV
private

Definition at line 105 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze().

◆ verbosePileupInfo

bool FFTJetPileupAnalyzer::verbosePileupInfo
private

Definition at line 97 of file FFTJetPileupAnalyzer.cc.

Referenced by analyzePileup().

◆ vertexNdofCut

double FFTJetPileupAnalyzer::vertexNdofCut
private

Definition at line 99 of file FFTJetPileupAnalyzer.cc.

Referenced by analyze().

FFTJetPileupAnalyzer::collectPileup
bool collectPileup
Definition: FFTJetPileupAnalyzer.cc:92
edm::RunNumber_t
unsigned int RunNumber_t
Definition: RunLumiEventNumber.h:14
counter
Definition: counter.py:1
input
static const std::string input
Definition: EdmProvDump.cc:48
filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
HLT_FULL_cff.nEta
nEta
Definition: HLT_FULL_cff.py:6586
FFTJetPileupAnalyzer::collectFastJetRho
bool collectFastJetRho
Definition: FFTJetPileupAnalyzer.cc:91
gather_cfg.cout
cout
Definition: gather_cfg.py:144
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
cms::cuda::assert
assert(be >=bs)
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:153
FFTJetPileupAnalyzer::histoToken
edm::EDGetTokenT< TH2D > histoToken
Definition: FFTJetPileupAnalyzer.cc:78
FFTJetPileupAnalyzer::collectHistos
bool collectHistos
Definition: FFTJetPileupAnalyzer.cc:89
edm::Handle
Definition: AssociativeIterator.h:50
FFTJetPileupAnalyzer::collectGrids
bool collectGrids
Definition: FFTJetPileupAnalyzer.cc:94
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
FFTJetPileupAnalyzer::collectSummaries
bool collectSummaries
Definition: FFTJetPileupAnalyzer.cc:90
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
ndof
Definition: HIMultiTrackSelector.h:49
vars
vars
Definition: DeepTauId.cc:163
FFTJetPileupAnalyzer::srcPVs
edm::InputTag srcPVs
Definition: FFTJetPileupAnalyzer.cc:75
FFTJetPileupAnalyzer::gridLabel
edm::InputTag gridLabel
Definition: FFTJetPileupAnalyzer.cc:74
init_param
#define init_param(type, varname)
Definition: FFTJetPileupAnalyzer.cc:47
edm::EventNumber_t
unsigned long long EventNumber_t
Definition: RunLumiEventNumber.h:12
anotherprimaryvertexanalyzer_cfi.pvCollection
pvCollection
Definition: anotherprimaryvertexanalyzer_cfi.py:4
FFTJetPileupAnalyzer::pileupLabel
std::string pileupLabel
Definition: FFTJetPileupAnalyzer.cc:76
h
FFTJetPileupAnalyzer::gridToken
edm::EDGetTokenT< reco::DiscretizedEnergyFlow > gridToken
Definition: FFTJetPileupAnalyzer.cc:82
mitigatedMETSequence_cff.U
U
Definition: mitigatedMETSequence_cff.py:36
FFTJetPileupAnalyzer::collectGridDensity
bool collectGridDensity
Definition: FFTJetPileupAnalyzer.cc:95
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FFTJetPileupAnalyzer::crazyEnergyCut
double crazyEnergyCut
Definition: FFTJetPileupAnalyzer.cc:100
FFTJetPileupAnalyzer::ntupleData
std::vector< float > ntupleData
Definition: FFTJetPileupAnalyzer.cc:102
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
FFTJetPileupAnalyzer::collectVertexInfo
bool collectVertexInfo
Definition: FFTJetPileupAnalyzer.cc:96
FFTJetPileupAnalyzer::fastJetSigmaToken
edm::EDGetTokenT< double > fastJetSigmaToken
Definition: FFTJetPileupAnalyzer.cc:81
cond::runnumber
Definition: Time.h:19
HLT_FULL_cff.nPhi
nPhi
Definition: HLT_FULL_cff.py:6587
edm::Service< TFileService >
MetAnalyzer.pv
def pv(vc)
Definition: MetAnalyzer.py:7
iEvent
int iEvent
Definition: GenABIO.cc:224
FFTJetPileupAnalyzer::summaryLabel
edm::InputTag summaryLabel
Definition: FFTJetPileupAnalyzer.cc:71
edmLumisInFiles.summary
summary
Definition: edmLumisInFiles.py:39
FFTJetPileupAnalyzer::verbosePileupInfo
bool verbosePileupInfo
Definition: FFTJetPileupAnalyzer.cc:97
M_PI
#define M_PI
Definition: BXVectorInputProducer.cc:49
FFTJetPileupAnalyzer::counter
unsigned long counter
Definition: FFTJetPileupAnalyzer.cc:106
FFTJetPileupAnalyzer::nt
TNtuple * nt
Definition: FFTJetPileupAnalyzer.cc:103
FFTJetPileupAnalyzer::collectOOTPileup
bool collectOOTPileup
Definition: FFTJetPileupAnalyzer.cc:93
FFTJetPileupAnalyzer::totalNPV
int totalNPV
Definition: FFTJetPileupAnalyzer.cc:105
TFileService::getBareDirectory
TDirectory * getBareDirectory(const std::string &subdir="") const
Definition: TFileService.h:52
FFTJetPileupAnalyzer::srcPVsToken
edm::EDGetTokenT< reco::VertexCollection > srcPVsToken
Definition: FFTJetPileupAnalyzer.cc:83
FFTJetPileupAnalyzer::fastJetSigmaLabel
edm::InputTag fastJetSigmaLabel
Definition: FFTJetPileupAnalyzer.cc:73
FFTJetPileupAnalyzer::vertexNdofCut
double vertexNdofCut
Definition: FFTJetPileupAnalyzer.cc:99
FFTJetPileupAnalyzer::fastJetRhoToken
edm::EDGetTokenT< double > fastJetRhoToken
Definition: FFTJetPileupAnalyzer.cc:80
FFTJetPileupAnalyzer::ntupleTitle
std::string ntupleTitle
Definition: FFTJetPileupAnalyzer.cc:88
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
FFTJetPileupAnalyzer::histoLabel
edm::InputTag histoLabel
Definition: FFTJetPileupAnalyzer.cc:70
FFTJetPileupAnalyzer::pileupToken
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupToken
Definition: FFTJetPileupAnalyzer.cc:84
FFTJetPileupAnalyzer::summaryToken
edm::EDGetTokenT< reco::FFTJetPileupSummary > summaryToken
Definition: FFTJetPileupAnalyzer.cc:79
FFTJetPileupAnalyzer::ntupleName
std::string ntupleName
Definition: FFTJetPileupAnalyzer.cc:87
edm::InputTag
Definition: InputTag.h:15
FFTJetPileupAnalyzer::etSumToken
edm::EDGetTokenT< std::pair< double, double > > etSumToken
Definition: FFTJetPileupAnalyzer.cc:85
FFTJetPileupAnalyzer::analyzePileup
void analyzePileup(const std::vector< PileupSummaryInfo > &pInfo)
Definition: FFTJetPileupAnalyzer.cc:166
PileupSummaryInfo
Definition: PileupSummaryInfo.h:22
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
FFTJetPileupAnalyzer::totalNpu
int totalNpu
Definition: FFTJetPileupAnalyzer.cc:104
FFTJetPileupAnalyzer::fastJetRhoLabel
edm::InputTag fastJetRhoLabel
Definition: FFTJetPileupAnalyzer.cc:72