#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 | |
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 Attributes | |
std::vector< std::string > | theDepositNames |
bool | theExtractForCandidate |
std::unique_ptr< 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<> | |
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 |
Definition at line 17 of file MuIsoDepositProducer.h.
MuIsoDepositProducer::MuIsoDepositProducer | ( | const edm::ParameterSet & | par | ) |
constructor
constructor with config
Definition at line 31 of file MuIsoDepositProducer.cc.
References SiStripOfflineCRack_cfg::alias, relativeConstraints::empty, Exception, get, edm::ParameterSet::getParameter(), mps_fire::i, LogDebug, metname, AlCaHLTBitMon_QueryRunRegistry::string, theDepositNames, theExtractForCandidate, theExtractor, theInputType, theMultipleDepositsFlag, theMuonCollectionTag, and theMuonTrackRefType.
|
override |
|
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 81 of file MuIsoDepositProducer.cc.
References HLT_2022v14_cff::cands, symbols::deps, mps_fire::end, options_cfi::eventSetup, trigObjTnPSource_cfi::filler, mps_fire::i, edm::EDGetToken::index(), LogDebug, LogTrace, metname, eostools::move(), PDWG_BPHSkim_cff::muons, custom_jme_cff::nMuons, susybsm::HSCParticleType::standAloneMuon, AlCaHLTBitMon_QueryRunRegistry::string, theDepositNames, theExtractForCandidate, theExtractor, theInputType, theMultipleDepositsFlag, theMuonCollectionTag, theMuonTrackRefType, HLT_2022v14_cff::track, and tracks.
|
private |
Definition at line 37 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer(), and produce().
|
private |
Definition at line 33 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer(), and produce().
|
private |
Definition at line 39 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer(), and produce().
|
private |
input type. Choose from:
Definition at line 31 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer(), and produce().
|
private |
Definition at line 38 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer(), and produce().
|
private |
Definition at line 36 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer(), and produce().
|
private |
Definition at line 35 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer(), and produce().