#include <FastTSGFromL2Muon.h>
Public Member Functions | |
virtual void | beginRun (edm::Run const &run, edm::EventSetup const &es) override |
FastTSGFromL2Muon (const edm::ParameterSet &cfg) | |
virtual void | produce (edm::Event &ev, const edm::EventSetup &es) override |
virtual | ~FastTSGFromL2Muon () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
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 | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
bool | clean (reco::TrackRef muRef, RectangularEtaPhiTrackingRegion *region, const BasicTrajectorySeed *aSeed, const SimTrack &theSimTrack) |
Private Attributes | |
edm::ParameterSet | theConfig |
edm::InputTag | theL2CollectionLabel |
double | thePtCut |
MuonTrackingRegionBuilder * | theRegionBuilder |
std::vector< edm::InputTag > | theSeedCollectionLabels |
MuonServiceProxy * | theService |
edm::InputTag | theSimTrackCollectionLabel |
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) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
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 22 of file FastTSGFromL2Muon.h.
FastTSGFromL2Muon::FastTSGFromL2Muon | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 21 of file FastTSGFromL2Muon.cc.
References edm::ParameterSet::getParameter(), MuonServiceProxy_cff::MuonServiceProxy, theL2CollectionLabel, thePtCut, theSeedCollectionLabels, theService, and theSimTrackCollectionLabel.
|
virtual |
Definition at line 38 of file FastTSGFromL2Muon.cc.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 43 of file FastTSGFromL2Muon.cc.
References edm::ParameterSet::getParameter(), theConfig, theRegionBuilder, theService, and MuonServiceProxy::update().
|
private |
Definition at line 180 of file FastTSGFromL2Muon.cc.
References SiPixelRawToDigiRegional_cfi::deltaPhi, MuonErrorMatrixValues_cff::etaRange, PixelRecoRange< T >::max(), PixelRecoRange< T >::mean(), CoreSimTrack::momentum(), PtMinSelector_cfg::ptMin, TkTrackingRegionsMargin< T >::right(), and mathSSE::sqrt().
Referenced by produce().
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 70 of file FastTSGFromL2Muon.cc.
References clean(), edm::Event::getByLabel(), iseed, edm::Event::put(), TrajectorySeed::recHits(), MuonTrackingRegionBuilder::region(), query::result, MuonTrackingRegionBuilder::setEvent(), SiTrackerGSMatchedRecHit2D::simtrackId(), theL2CollectionLabel, thePtCut, theRegionBuilder, theSeedCollectionLabels, theService, theSimTrackCollectionLabel, and MuonServiceProxy::update().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 40 of file FastTSGFromL2Muon.h.
Referenced by beginRun().
|
private |
Definition at line 42 of file FastTSGFromL2Muon.h.
Referenced by FastTSGFromL2Muon(), and produce().
|
private |
Definition at line 48 of file FastTSGFromL2Muon.h.
Referenced by FastTSGFromL2Muon(), and produce().
|
private |
Definition at line 49 of file FastTSGFromL2Muon.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 43 of file FastTSGFromL2Muon.h.
Referenced by FastTSGFromL2Muon(), and produce().
|
private |
Definition at line 47 of file FastTSGFromL2Muon.h.
Referenced by beginRun(), FastTSGFromL2Muon(), and produce().
|
private |
Definition at line 41 of file FastTSGFromL2Muon.h.
Referenced by FastTSGFromL2Muon(), and produce().