Public Member Functions | |
HiEvtPlaneFlatProducer (const edm::ParameterSet &) | |
~HiEvtPlaneFlatProducer () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () 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 | |
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 |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
double | caloCentRef_ |
double | caloCentRefWidth_ |
int | CentBinCompression_ |
edm::InputTag | centralityBinTag_ |
edm::EDGetTokenT< int > | centralityBinToken |
std::string | centralityLabel_ |
std::string | centralityMC_ |
edm::InputTag | centralityTag_ |
edm::EDGetTokenT< reco::Centrality > | centralityToken |
std::string | centralityVariable_ |
HiEvtPlaneFlatten * | flat [NumEPNames] |
const int | FlatOrder_ |
edm::ESWatcher< HeavyIonRPRcd > | hirpWatcher |
edm::ESWatcher< HeavyIonRcd > | hiWatcher |
edm::InputTag | inputPlanesTag_ |
edm::EDGetTokenT< reco::EvtPlaneCollection > | inputPlanesToken |
double | nCentBins_ |
int | Noffmax_ |
int | Noffmin_ |
int | NumFlatBins_ |
edm::Handle< reco::TrackCollection > | trackCollection_ |
edm::InputTag | trackTag_ |
edm::EDGetTokenT< reco::TrackCollection > | trackToken |
bool | useOffsetPsi_ |
edm::InputTag | vertexTag_ |
edm::EDGetTokenT< std::vector< reco::Vertex > > | vertexToken |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
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) |
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) |
Definition at line 63 of file HiEvtPlaneFlatProducer.cc.
|
explicit |
Definition at line 122 of file HiEvtPlaneFlatProducer.cc.
References centralityBinTag_, centralityBinToken, centralityLabel_, centralityMC_, centralityTag_, centralityToken, centralityVariable_, hi::EPNames, hi::EPOrder, edm::ParameterSet::exists(), flat, FlatOrder_, edm::ParameterSet::getParameter(), mps_fire::i, HiEvtPlaneFlatten::init(), inputPlanesTag_, inputPlanesToken, nCentBins_, hi::NumEPNames, NumFlatBins_, AlCaHLTBitMon_QueryRunRegistry::string, trackTag_, trackToken, vertexTag_, and vertexToken.
HiEvtPlaneFlatProducer::~HiEvtPlaneFlatProducer | ( | ) |
Definition at line 167 of file HiEvtPlaneFlatProducer.cc.
References flat, mps_fire::i, and hi::NumEPNames.
|
overrideprivatevirtual |
Definition at line 185 of file HiEvtPlaneFlatProducer.cc.
References reco::EvtPlane::addLevel(), reco::EvtPlane::angle(), stringResolutionProvider_cfi::bin, EnergyCorrector::c, caloCentRef_, caloCentRefWidth_, CentBinCompression_, centralityBinToken, centralityLabel_, centralityToken, edm::ESWatcher< T >::check(), DEFINE_FWK_MODULE, hi::EPDet, flat, edm::EventSetup::get(), edm::Event::getByToken(), HiEvtPlaneFlatten::getCoffset(), HiEvtPlaneFlatten::getFlatPsi(), HiEvtPlaneFlatten::getOffsetPsi(), HiEvtPlaneFlatten::getSoffset(), hcaldqm::constants::HF, hirpWatcher, hiWatcher, mps_fire::i, inputPlanesToken, LoadEPDB::IsSuccess(), edm::HandleBase::isValid(), funct::m, CentralityTable::m_table, eostools::move(), nCentBins_, Noffmax_, Noffmin_, reco::Centrality::Ntracks(), hi::NumEPNames, or, edm::Handle< T >::product(), edm::Event::put(), reco::return(), alignCSCRings::s, HiEvtPlaneFlatten::setCaloCentRefBins(), parallelization::uint(), useOffsetPsi_, and vertexToken.
|
private |
Definition at line 98 of file HiEvtPlaneFlatProducer.cc.
Referenced by produce().
|
private |
Definition at line 99 of file HiEvtPlaneFlatProducer.cc.
Referenced by produce().
|
private |
Definition at line 100 of file HiEvtPlaneFlatProducer.cc.
Referenced by produce().
|
private |
Definition at line 77 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer().
|
private |
Definition at line 78 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer(), and produce().
|
private |
Definition at line 74 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer(), and produce().
|
private |
Definition at line 75 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer().
|
private |
Definition at line 80 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer().
|
private |
Definition at line 81 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer(), and produce().
|
private |
Definition at line 73 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer().
|
private |
Definition at line 103 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer(), produce(), and ~HiEvtPlaneFlatProducer().
|
private |
Definition at line 96 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer().
|
private |
Definition at line 94 of file HiEvtPlaneFlatProducer.cc.
Referenced by produce().
|
private |
Definition at line 93 of file HiEvtPlaneFlatProducer.cc.
Referenced by produce().
|
private |
Definition at line 86 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer().
|
private |
Definition at line 87 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer(), and produce().
|
private |
Definition at line 105 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer(), and produce().
|
private |
Definition at line 102 of file HiEvtPlaneFlatProducer.cc.
Referenced by produce().
|
private |
Definition at line 101 of file HiEvtPlaneFlatProducer.cc.
Referenced by produce().
|
private |
Definition at line 97 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer().
|
private |
Definition at line 91 of file HiEvtPlaneFlatProducer.cc.
|
private |
Definition at line 89 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer().
|
private |
Definition at line 90 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer().
|
private |
Definition at line 104 of file HiEvtPlaneFlatProducer.cc.
Referenced by produce().
|
private |
Definition at line 83 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer().
|
private |
Definition at line 84 of file HiEvtPlaneFlatProducer.cc.
Referenced by HiEvtPlaneFlatProducer(), and produce().