#include <MuIsoDepositProducer.h>
Public Member Functions | |
MuIsoDepositProducer (const edm::ParameterSet &) | |
constructor More... | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
data making method More... | |
virtual | ~MuIsoDepositProducer () |
destructor More... | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
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::InputTag | theMuonCollectionTag |
std::string | theMuonTrackRefType |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Definition at line 13 of file MuIsoDepositProducer.h.
MuIsoDepositProducer::MuIsoDepositProducer | ( | const edm::ParameterSet & | par | ) |
constructor
constructor with config
Definition at line 35 of file MuIsoDepositProducer.cc.
References ExpressReco_HICollisions_FallBack::alias, edm::ParameterSet::getParameter(), i, LogDebug, theConfig, theDepositNames, theExtractForCandidate, theInputType, theMultipleDepositsFlag, theMuonCollectionTag, and theMuonTrackRefType.
|
virtual |
destructor
Definition at line 65 of file MuIsoDepositProducer.cc.
References LogDebug, and theExtractor.
|
virtual |
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 getByLabel above)
now actually fill
end if (nMuons>0)
Implements edm::EDProducer.
Definition at line 71 of file MuIsoDepositProducer.cc.
References begin, reco::isodeposit::IsoDepositExtractor::deposit(), reco::isodeposit::IsoDepositExtractor::deposits(), end, edm::helper::Filler< Map >::fill(), reco::get(), edm::ParameterSet::getParameter(), i, edm::helper::Filler< Map >::insert(), LogDebug, LogTrace, metname, ExpressReco_HICollisions_FallBack::muons, susybsm::HSCParticleType::standAloneMuon, theConfig, theDepositNames, theExtractForCandidate, theExtractor, theInputType, theMultipleDepositsFlag, theMuonCollectionTag, theMuonTrackRefType, ExpressReco_HICollisions_FallBack::track, and testEve_cfg::tracks.
|
private |
module configuration
Definition at line 28 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 34 of file MuIsoDepositProducer.h.
Referenced by MuIsoDepositProducer(), and produce().
|
private |
Definition at line 40 of file MuIsoDepositProducer.h.
Referenced by 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().