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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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(), 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, i, and hi::NumEPNames.
|
overrideprivatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 185 of file HiEvtPlaneFlatProducer.cc.
References reco::EvtPlane::addLevel(), reco::EvtPlane::angle(), newFWLiteAna::bin, EnergyCorrector::c, caloCentRef_, caloCentRefWidth_, CentBinCompression_, centralityBinToken, centralityLabel_, centralityToken, edm::ESWatcher< T >::check(), EcalCondDB::db, hi::EPDet, flat, edm::EventSetup::get(), edm::Event::getByToken(), HiEvtPlaneFlatten::getCoffset(), HiEvtPlaneFlatten::getFlatPsi(), HiEvtPlaneFlatten::getOffsetPsi(), HiEvtPlaneFlatten::getSoffset(), hi::HF, hirpWatcher, hiWatcher, i, inputPlanesToken, LoadEPDB::IsSuccess(), visualization-live-secondInstance_cfg::m, nCentBins_, Noffmax_, Noffmin_, hi::NumEPNames, or, edm::Event::put(), dt_dqm_sourceclient_common_cff::reco, mathSSE::return(), alignCSCRings::s, HiEvtPlaneFlatten::setCaloCentRefBins(), 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().