Public Member Functions | |
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... | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Produce the ME0Segment collection. More... | |
~ME0SegmentMatcher () override | |
Destructor. More... | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
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 |
Definition at line 32 of file ME0SegmentMatcher.cc.
|
explicit |
Constructor.
Definition at line 64 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.
|
override |
|
override |
void ME0SegmentMatcher::getFromFTS | ( | const FreeTrajectoryState & | fts, |
GlobalVector & | p3, | ||
GlobalVector & | r3, | ||
int & | charge, | ||
AlgebraicSymMatrix66 & | cov | ||
) |
Definition at line 254 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 241 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 227 of file ME0SegmentMatcher.cc.
References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
override |
Produce the ME0Segment collection.
Definition at line 81 of file ME0SegmentMatcher.cc.
References funct::abs(), PV3DBase< T, PVType, FrameType >::barePhi(), barePhi(), ecalTB2006H4_GenSimDigiReco_cfg::bField, Plane::build(), patCaloMETCorrections_cff::C, ME0Geometry::chamber(), relativeConstraints::chamber, reco::deltaPhi(), reco::deltaR2(), TrajectoryStateOnSurface::freeTrajectoryState(), isolatedTracks_cfi::generalTracks, generalTracksToken_, edm::EventSetup::get(), edm::Event::getByToken(), getFromFTS(), getFTS(), mps_fire::i, TrajectoryStateOnSurface::isValid(), JacobianCartesianToLocal::jacobian(), eostools::move(), OurSegmentsToken_, Propagator::propagate(), edm::Event::put(), 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 58 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher().
|
private |
Definition at line 60 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 58 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher().
|
private |
Definition at line 59 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 57 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 57 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 57 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 57 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 57 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().