![]() |
![]() |
#include <MuonProducer.h>
Public Member Functions | |
MuonProducer (const edm::ParameterSet &) | |
Constructor. More... | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
reconstruct muons More... | |
virtual | ~MuonProducer () |
Destructor. More... | |
![]() | |
EDProducer () | |
virtual | ~EDProducer () |
![]() | |
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 Member Functions | |
void | printTrackRecHits (const reco::Track &track, edm::ESHandle< GlobalTrackingGeometry > trackingGeometry) const |
void | setAlias (std::string alias) |
Private Attributes | |
std::string | theAlias |
edm::InputTag | theLinksCollectionLabel |
Additional Inherited Members | |
![]() | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
![]() | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
![]() | |
CurrentProcessingContext const * | currentContext () const |
![]() | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
No description available.
Definition at line 22 of file MuonProducer.h.
MuonProducer::MuonProducer | ( | const edm::ParameterSet & | pSet | ) |
Constructor.
Definition at line 29 of file MuonProducer.cc.
References edm::ParameterSet::getParameter(), setAlias(), theAlias, and theLinksCollectionLabel.
|
virtual |
|
private |
Definition at line 42 of file MuonProducer.cc.
References reco::Track::found(), i, LogTrace, reco::Track::lost(), metname, PV3DBase< T, PVType, FrameType >::perp(), GloballyPositioned< T >::position(), csvReporter::r, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), GeomDet::surface(), GeomDet::toGlobal(), and detailsBasic3DVector::z.
Referenced by produce().
|
virtual |
reconstruct muons
Implements edm::EDProducer.
Definition at line 63 of file MuonProducer.cc.
References relval_parameters_module::energy, edm::EventSetup::get(), LogTrace, metname, metsig::muon, p4, printTrackRecHits(), reco::LeafCandidate::setCharge(), reco::Muon::setCombined(), reco::LeafCandidate::setP4(), reco::Muon::setStandAlone(), reco::Muon::setTrack(), reco::LeafCandidate::setVertex(), mathSSE::sqrt(), and theLinksCollectionLabel.
|
inlineprivate |
|
private |
Definition at line 38 of file MuonProducer.h.
Referenced by MuonProducer(), and setAlias().
|
private |
Definition at line 52 of file MuonProducer.h.
Referenced by MuonProducer(), and produce().