#include <RecoHI/CentralityBinProducer/src/CentralityBinProducer.cc>
Public Member Functions | |
CentralityBinProducer (const edm::ParameterSet &) | |
~CentralityBinProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Types | |
enum | VariableType { HFtowers = 0, HFtowersPlus = 1, HFtowersMinus = 2, HFtowersTrunc = 3, HFtowersPlusTrunc = 4, HFtowersMinusTrunc = 5, HFhits = 6, PixelHits = 7, PixelTracks = 8, Tracks = 9, EB = 10, EE = 11, ZDChitsPlus = 12, ZDChitsMinus = 13, PFhf = 14, PFhfPlus = 15, PFhfMinus = 16, Missing = 17 } |
Private Member Functions | |
void | beginRun (edm::Run const &run, const edm::EventSetup &iSetup) override |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::string | centralityLabel_ |
std::string | centralityMC_ |
std::string | centralityVariable_ |
edm::Handle< reco::Centrality > | chandle_ |
edm::ESHandle< CentralityTable > | inputDB_ |
edm::ESGetToken< CentralityTable, HeavyIonRcd > | inputDBToken_ |
unsigned int | pPbRunFlip_ |
unsigned int | prevRun_ |
edm::EDGetTokenT< reco::Centrality > | tag_ |
VariableType | varType_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 46 of file CentralityBinProducer.cc.
|
private |
Enumerator | |
---|---|
HFtowers | |
HFtowersPlus | |
HFtowersMinus | |
HFtowersTrunc | |
HFtowersPlusTrunc | |
HFtowersMinusTrunc | |
HFhits | |
PixelHits | |
PixelTracks | |
Tracks | |
EB | |
EE | |
ZDChitsPlus | |
ZDChitsMinus | |
PFhf | |
PFhfPlus | |
PFhfMinus | |
Missing |
Definition at line 47 of file CentralityBinProducer.cc.
|
explicit |
Definition at line 103 of file CentralityBinProducer.cc.
References centralityLabel_, centralityMC_, centralityVariable_, EB, EE, Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), HFhits, HFtowers, HFtowersMinus, HFtowersMinusTrunc, HFtowersPlus, HFtowersPlusTrunc, HFtowersTrunc, inputDBToken_, Missing, PFhf, PFhfMinus, PFhfPlus, PixelHits, PixelTracks, pPbRunFlip_, AlCaHLTBitMon_QueryRunRegistry::string, tag_, Tracks, varType_, ZDChitsMinus, and ZDChitsPlus.
|
override |
Definition at line 162 of file CentralityBinProducer.cc.
|
overrideprivate |
Definition at line 243 of file CentralityBinProducer.cc.
References centralityVariable_, edm::EventSetup::getHandle(), HFtowersMinus, HFtowersMinusTrunc, HFtowersPlus, HFtowersPlusTrunc, inputDB_, inputDBToken_, PFhfMinus, PFhfPlus, pPbRunFlip_, prevRun_, edm::RunBase::run(), varType_, ZDChitsMinus, and ZDChitsPlus.
|
overrideprivate |
Definition at line 172 of file CentralityBinProducer.cc.
References newFWLiteAna::bin, centralityVariable_, chandle_, EB, EE, reco::Centrality::EtEBSum(), reco::Centrality::EtEESum(), reco::Centrality::EtHFhitSum(), reco::Centrality::EtHFtowerSum(), reco::Centrality::EtHFtowerSumMinus(), reco::Centrality::EtHFtowerSumPlus(), reco::Centrality::EtHFtruncated(), reco::Centrality::EtHFtruncatedMinus(), reco::Centrality::EtHFtruncatedPlus(), reco::Centrality::EtPFhfSum(), reco::Centrality::EtPFhfSumMinus(), reco::Centrality::EtPFhfSumPlus(), Exception, HFhits, HFtowers, HFtowersMinus, HFtowersMinusTrunc, HFtowersPlus, HFtowersPlusTrunc, HFtowersTrunc, mps_fire::i, iEvent, inputDB_, CentralityTable::m_table, reco::Centrality::multiplicityPixel(), reco::Centrality::NpixelTracks(), reco::Centrality::Ntracks(), PFhf, PFhfMinus, PFhfPlus, PixelHits, PixelTracks, tag_, Tracks, varType_, ZDChitsMinus, ZDChitsPlus, reco::Centrality::zdcSumMinus(), and reco::Centrality::zdcSumPlus().
|
private |
Definition at line 84 of file CentralityBinProducer.cc.
Referenced by CentralityBinProducer().
|
private |
Definition at line 85 of file CentralityBinProducer.cc.
Referenced by CentralityBinProducer().
|
private |
Definition at line 83 of file CentralityBinProducer.cc.
Referenced by beginRun(), CentralityBinProducer(), and produce().
|
private |
Definition at line 78 of file CentralityBinProducer.cc.
Referenced by produce().
|
private |
Definition at line 80 of file CentralityBinProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 81 of file CentralityBinProducer.cc.
Referenced by beginRun(), and CentralityBinProducer().
|
private |
Definition at line 89 of file CentralityBinProducer.cc.
Referenced by beginRun(), and CentralityBinProducer().
|
private |
Definition at line 86 of file CentralityBinProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 79 of file CentralityBinProducer.cc.
Referenced by CentralityBinProducer(), and produce().
|
private |
Definition at line 88 of file CentralityBinProducer.cc.
Referenced by beginRun(), CentralityBinProducer(), and produce().