#include <PileupInformation.h>
Public Member Functions | |
PileupInformation (const edm::ParameterSet &) | |
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 | |
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 Types | |
typedef std::map < EncodedEventId, unsigned int > | EncodedEventIdToIndex |
typedef std::map< int, int > | myindex |
Private Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
edm::EDGetTokenT< int > | bunchSpacingToken_ |
edm::ParameterSet | conf_ |
double | distanceCut_ |
myindex | event_index_ |
bool | isPreMixed_ |
bool | LookAtTrackingTruth_ |
std::string | MessageCategory_ |
std::vector< int > | ntrks_highpT |
std::vector< int > | ntrks_lowpT |
edm::EDGetTokenT < PileupMixingContent > | PileupInfoLabel_ |
edm::EDGetTokenT< std::vector < PileupSummaryInfo > > | pileupSummaryToken_ |
edm::EDGetTokenT < PileupVertexContent > | PileupVtxLabel_ |
double | pTcut_1_ |
double | pTcut_2_ |
std::vector< float > | sumpT_highpT |
std::vector< float > | sumpT_lowpT |
edm::EDGetTokenT < TrackingParticleCollection > | trackingTruthT_ |
edm::EDGetTokenT < TrackingVertexCollection > | trackingTruthV_ |
double | volumeRadius_ |
double | volumeZ_ |
std::vector< float > | zpositions |
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 |
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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 28 of file PileupInformation.h.
|
private |
Definition at line 41 of file PileupInformation.h.
|
private |
Definition at line 42 of file PileupInformation.h.
|
explicit |
Definition at line 20 of file PileupInformation.cc.
References bunchSpacingToken_, distanceCut_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isPreMixed_, LookAtTrackingTruth_, MessageCategory_, PileupInfoLabel_, pileupSummaryToken_, PileupVtxLabel_, pTcut_1_, pTcut_2_, trackingTruthT_, trackingTruthV_, volumeRadius_, and volumeZ_.
|
overrideprivatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 64 of file PileupInformation.cc.
References bunchSpacingToken_, event_index_, edm::hlt::Exception, edm::Event::getByToken(), PileupMixingContent::getMix_bunchCrossing(), PileupMixingContent::getMix_bunchSpacing(), PileupMixingContent::getMix_eventInfo(), PileupMixingContent::getMix_Ninteractions(), PileupVertexContent::getMix_pT_hats(), PileupMixingContent::getMix_TrueInteractions(), PileupVertexContent::getMix_z_Vtxs(), cuy::ib, isPreMixed_, LookAtTrackingTruth_, ntrks_highpT, ntrks_lowpT, PileupInfoLabel_, pileupSummaryToken_, PileupVtxLabel_, edm::Handle< T >::product(), pTcut_1_, pTcut_2_, mathSSE::sqrt(), sumpT_highpT, sumpT_lowpT, trackingTruthT_, trackingTruthV_, and zpositions.
|
private |
Definition at line 63 of file PileupInformation.h.
Referenced by PileupInformation(), and produce().
|
private |
Definition at line 39 of file PileupInformation.h.
|
private |
Definition at line 52 of file PileupInformation.h.
Referenced by PileupInformation().
|
private |
Definition at line 43 of file PileupInformation.h.
Referenced by produce().
|
private |
Definition at line 57 of file PileupInformation.h.
Referenced by PileupInformation(), and produce().
|
private |
Definition at line 67 of file PileupInformation.h.
Referenced by PileupInformation(), and produce().
|
private |
Definition at line 69 of file PileupInformation.h.
Referenced by PileupInformation().
|
private |
Definition at line 49 of file PileupInformation.h.
Referenced by produce().
|
private |
Definition at line 48 of file PileupInformation.h.
Referenced by produce().
|
private |
Definition at line 62 of file PileupInformation.h.
Referenced by PileupInformation(), and produce().
|
private |
Definition at line 64 of file PileupInformation.h.
Referenced by PileupInformation(), and produce().
|
private |
Definition at line 65 of file PileupInformation.h.
Referenced by PileupInformation(), and produce().
|
private |
Definition at line 55 of file PileupInformation.h.
Referenced by PileupInformation(), and produce().
|
private |
Definition at line 56 of file PileupInformation.h.
Referenced by PileupInformation(), and produce().
|
private |
Definition at line 47 of file PileupInformation.h.
Referenced by produce().
|
private |
Definition at line 46 of file PileupInformation.h.
Referenced by produce().
|
private |
Definition at line 60 of file PileupInformation.h.
Referenced by PileupInformation(), and produce().
|
private |
Definition at line 61 of file PileupInformation.h.
Referenced by PileupInformation(), and produce().
|
private |
Definition at line 53 of file PileupInformation.h.
Referenced by PileupInformation().
|
private |
Definition at line 54 of file PileupInformation.h.
Referenced by PileupInformation().
|
private |
Definition at line 45 of file PileupInformation.h.
Referenced by produce().