#include <MuIsoDepositProducer.h>
Public Member Functions | |
MuIsoDepositProducer (const edm::ParameterSet &) | |
constructor More... | |
void | produce (edm::Event &, const edm::EventSetup &) override |
data making method More... | |
~MuIsoDepositProducer () override | |
destructor More... | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Attributes | |
edm::ParameterSet | theConfig |
module configuration More... | |
std::vector< std::string > | theDepositNames |
bool | theExtractForCandidate |
reco::isodeposit::IsoDepositExtractor * | theExtractor |
std::string | theInputType |
bool | theMultipleDepositsFlag |
edm::EDGetToken | theMuonCollectionTag |
std::string | theMuonTrackRefType |
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 |
Definition at line 13 of file MuIsoDepositProducer.h.
MuIsoDepositProducer::MuIsoDepositProducer | ( | const edm::ParameterSet & | par | ) |
constructor
constructor with config
Definition at line 36 of file MuIsoDepositProducer.cc.
References met_cff::alias, Exception, reco::get(), edm::ParameterSet::getParameter(), mps_fire::i, LogDebug, metname, AlCaHLTBitMon_QueryRunRegistry::string, theConfig, theDepositNames, theExtractForCandidate, theExtractor, theInputType, theMultipleDepositsFlag, theMuonCollectionTag, and theMuonTrackRefType.
|
override |
destructor
Definition at line 89 of file MuIsoDepositProducer.cc.
References LogDebug, and theExtractor.
|
override |
data making method
build deposits
read them as RecoCandidates: need to have track() standAloneMuon() etc in the interface
get rid of this at some point and use the cands
expect nMuons set already
OK, now we know how many deps for how many muons each we will create might linearize this at some point (lazy) do it in case some muons are there only
end for (nMuons)
now fill in selectively
some debugging stuff
fill the maps here
now figure out the source handle (see getByToken above)
now actually fill
end if (nMuons>0)
Definition at line 95 of file MuIsoDepositProducer.cc.
References begin, egammaForCoreTracking_cff::cands, DEFINE_FWK_MODULE, reco::isodeposit::IsoDepositExtractor::deposit(), reco::isodeposit::IsoDepositExtractor::deposits(), symbols::deps, end, edm::helper::Filler< Map >::fill(), objects.autophobj::filler, mps_fire::i, edm::EDGetToken::index(), edm::helper::Filler< Map >::insert(), LogDebug, LogTrace, metname, eostools::move(), extraflags_cff::muons, jets_cff::nMuons, susybsm::HSCParticleType::standAloneMuon, AlCaHLTBitMon_QueryRunRegistry::string, theDepositNames, theExtractForCandidate, theExtractor, theInputType, theMultipleDepositsFlag, theMuonCollectionTag, theMuonTrackRefType, HiIsolationCommonParameters_cff::track, and l1t::tracks.
|
private |
module configuration
Definition at line 28 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer().
|
private |
Definition at line 38 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer(), and produce().
|
private |
Definition at line 34 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer(), and produce().
|
private |
Definition at line 40 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer(), produce(), and ~MuIsoDepositProducer().
|
private |
input type. Choose from:
Definition at line 32 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer(), and produce().
|
private |
Definition at line 39 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer(), and produce().
|
private |
Definition at line 37 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer(), and produce().
|
private |
Definition at line 36 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer(), and produce().