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 AlgebraicSymMatrix55 &, const MagneticField *) |
FreeTrajectoryState | getFTS (const GlobalVector &, const GlobalVector &, int, const AlgebraicSymMatrix66 &, 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 | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () 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 58 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 |
Definition at line 271 of file ME0SegmentMatcher.cc.
void ME0SegmentMatcher::getFromFTS | ( | const FreeTrajectoryState & | fts, |
GlobalVector & | p3, | ||
GlobalVector & | r3, | ||
int & | charge, | ||
AlgebraicSymMatrix66 & | cov | ||
) |
Definition at line 255 of file ME0SegmentMatcher.cc.
References FreeTrajectoryState::cartesianError(), ALCARECOTkAlJpsiMuMu_cff::charge, FreeTrajectoryState::charge(), FreeTrajectoryState::hasError(), CartesianTrajectoryError::matrix(), FreeTrajectoryState::momentum(), p3, 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 AlgebraicSymMatrix55 & | cov, | ||
const MagneticField * | field | ||
) |
Definition at line 227 of file ME0SegmentMatcher.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, p3, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
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 ALCARECOTkAlJpsiMuMu_cff::charge, p3, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
|
override |
Produce the ME0Segment collection.
Definition at line 74 of file ME0SegmentMatcher.cc.
References funct::abs(), PV3DBase< T, PVType, FrameType >::barePhi(), barePhi(), Calorimetry_cff::bField, Plane::build(), gen::C, ME0Geometry::chamber(), relativeConstraints::chamber, reco::deltaPhi(), reco::deltaR2(), ev, TrajectoryStateOnSurface::freeTrajectoryState(), generalTracks_cfi::generalTracks, generalTracksToken_, get, getFromFTS(), getFTS(), mps_fire::i, TrajectoryStateOnSurface::isValid(), dqmiolumiharvest::j, JacobianCartesianToLocal::jacobian(), eostools::move(), OurSegmentsToken_, Propagator::propagate(), singleTopDQM_cfi::setup, 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 53 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher().
|
private |
Definition at line 55 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 53 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher().
|
private |
Definition at line 54 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 52 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 52 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 52 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 52 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().
|
private |
Definition at line 52 of file ME0SegmentMatcher.cc.
Referenced by ME0SegmentMatcher(), and produce().