Public Member Functions | |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) override |
void | getFromFTS (const FreeTrajectoryState &, GlobalVector &, GlobalVector &, int &, AlgebraicSymMatrix66 &) |
FreeTrajectoryState | getFTS (const GlobalVector &, const GlobalVector &, int, const AlgebraicSymMatrix66 &, const MagneticField *) |
FreeTrajectoryState | getFTS (const GlobalVector &, const GlobalVector &, int, const AlgebraicSymMatrix55 &, const MagneticField *) |
ME0SegmentMatcher (const edm::ParameterSet &) | |
Constructor. More... | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Produce the ME0Segment collection. More... | |
~ME0SegmentMatcher () | |
Destructor. More... | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Attributes | |
edm::InputTag | generalTracksTag |
edm::EDGetTokenT < reco::TrackCollection > | generalTracksToken_ |
edm::InputTag | OurSegmentsTag |
edm::EDGetTokenT < ME0SegmentCollection > | OurSegmentsToken_ |
double | thePHIDIR_RESIDUAL_CUT |
double | theX_PULL_CUT |
double | theX_RESIDUAL_CUT |
double | theY_PULL_CUT |
double | theY_RESIDUAL_CUT |
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 77 of file ME0SegmentMatcher.cc.
|
explicit |
Constructor.
Definition at line 116 of file ME0SegmentMatcher.cc.
References generalTracksTag, generalTracksToken_, edm::ParameterSet::getParameter(), OurSegmentsTag, OurSegmentsToken_, thePHIDIR_RESIDUAL_CUT, theX_PULL_CUT, theX_RESIDUAL_CUT, theY_PULL_CUT, and theY_RESIDUAL_CUT.
ME0SegmentMatcher::~ME0SegmentMatcher | ( | ) |
|
overridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 357 of file ME0SegmentMatcher.cc.
void ME0SegmentMatcher::getFromFTS | ( | const FreeTrajectoryState & | fts, |
GlobalVector & | p3, | ||
GlobalVector & | r3, | ||
int & | charge, | ||
AlgebraicSymMatrix66 & | cov | ||
) |
Definition at line 338 of file ME0SegmentMatcher.cc.
References FreeTrajectoryState::cartesianError(), FreeTrajectoryState::charge(), FreeTrajectoryState::hasError(), CartesianTrajectoryError::matrix(), FreeTrajectoryState::momentum(), FreeTrajectoryState::position(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
FreeTrajectoryState ME0SegmentMatcher::getFTS | ( | const GlobalVector & | p3, |
const GlobalVector & | r3, | ||
int | charge, | ||
const AlgebraicSymMatrix66 & | cov, | ||
const MagneticField * | field | ||
) |
Definition at line 325 of file ME0SegmentMatcher.cc.
References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
FreeTrajectoryState ME0SegmentMatcher::getFTS | ( | const GlobalVector & | p3, |
const GlobalVector & | r3, | ||
int | charge, | ||
const AlgebraicSymMatrix55 & | cov, | ||
const MagneticField * | field | ||
) |
Definition at line 311 of file ME0SegmentMatcher.cc.
References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
overridevirtual |
Produce the ME0Segment collection.
Implements edm::stream::EDProducerBase.
Definition at line 132 of file ME0SegmentMatcher.cc.
References funct::abs(), PV3DBase< T, PVType, FrameType >::barePhi(), barePhi(), ecalTB2006H4_GenSimDigiReco_cfg::bField, funct::C, reco::deltaPhi(), reco::deltaR2(), TrajectoryStateOnSurface::freeTrajectoryState(), DigiAliases_cff::generalTracks, generalTracksToken_, edm::EventSetup::get(), edm::Event::getByToken(), getFromFTS(), getFTS(), i, j, JacobianCartesianToLocal::jacobian(), OurSegmentsToken_, edm::Event::put(), dt_dqm_sourceclient_common_cff::reco, reco::ME0Muon::setGlobalTrackCov(), reco::ME0Muon::setGlobalTrackMomAtSurface(), reco::ME0Muon::setGlobalTrackPosAtSurface(), reco::ME0Muon::setLocalTrackCov(), reco::ME0Muon::setLocalTrackMomAtSurface(), reco::ME0Muon::setLocalTrackPosAtSurface(), mathSSE::sqrt(), thePHIDIR_RESIDUAL_CUT, theX_PULL_CUT, theX_RESIDUAL_CUT, theY_PULL_CUT, theY_RESIDUAL_CUT, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 108 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher().
|
private |
Definition at line 110 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 108 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher().
|
private |
Definition at line 109 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 107 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 107 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 107 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 107 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 107 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().