Public Types | |
typedef TwoBodyDecayTrajectory::ConstRecHitCollection | ConstRecHitCollection |
typedef TwoBodyDecayTrajectoryState::TsosContainer | TsosContainer |
typedef TwoBodyDecayVirtualMeasurement | VirtualMeasurement |
Public Types inherited from TrajectoryFactoryBase | |
typedef AlignmentAlgorithmBase::ConstTrajTrackPair | ConstTrajTrackPair |
typedef AlignmentAlgorithmBase::ConstTrajTrackPairCollection | ConstTrajTrackPairCollection |
typedef std::vector < TrajectoryStateOnSurface > | ExternalPredictionCollection |
typedef ReferenceTrajectoryBase::MaterialEffects | MaterialEffects |
typedef std::vector < ReferenceTrajectoryPtr > | ReferenceTrajectoryCollection |
typedef ReferenceTrajectoryBase::ReferenceTrajectoryPtr | ReferenceTrajectoryPtr |
typedef std::pair < TrajectoryStateOnSurface, TransientTrackingRecHit::ConstRecHitContainer > | TrajectoryInput |
Public Member Functions | |
virtual TwoBodyDecayTrajectoryFactory * | clone () const override |
virtual const ReferenceTrajectoryCollection | trajectories (const edm::EventSetup &setup, const ConstTrajTrackPairCollection &tracks, const reco::BeamSpot &beamSpot) const override |
Produce the trajectories. More... | |
virtual const ReferenceTrajectoryCollection | trajectories (const edm::EventSetup &setup, const ConstTrajTrackPairCollection &tracks, const ExternalPredictionCollection &external, const reco::BeamSpot &beamSpot) const override |
TwoBodyDecayTrajectoryFactory (const edm::ParameterSet &config) | |
~TwoBodyDecayTrajectoryFactory () | |
Public Member Functions inherited from TrajectoryFactoryBase | |
const edm::ParameterSet & | configuration () const |
MaterialEffects | materialEffects (void) const |
PropagationDirection | propagationDirection (void) const |
TrajectoryFactoryBase (const edm::ParameterSet &config) | |
virtual | ~TrajectoryFactoryBase (void) |
Protected Member Functions | |
const ReferenceTrajectoryCollection | constructTrajectories (const ConstTrajTrackPairCollection &tracks, const TwoBodyDecay &tbd, const MagneticField *magField, const reco::BeamSpot &beamSpot, bool setParameterErrors) const |
bool | match (const TrajectoryStateOnSurface &state, const TransientTrackingRecHit::ConstRecHitPointer &recHit) const |
Protected Member Functions inherited from TrajectoryFactoryBase | |
virtual const TrajectoryInput | innermostStateAndRecHits (const ConstTrajTrackPair &track) const |
virtual const Trajectory::DataContainer | orderedTrajectoryMeasurements (const Trajectory &trajectory) const |
bool | sameSurface (const Surface &s1, const Surface &s2) const |
bool | useRecHit (const TransientTrackingRecHit::ConstRecHitPointer &hitPtr) const |
Protected Attributes | |
double | theChi2CutValue |
bool | theConstructTsosWithErrorsFlag |
TwoBodyDecayFitter * | theFitter |
double | theNSigmaCutValue |
double | thePrimaryMass |
double | thePrimaryWidth |
double | theSecondaryMass |
bool | theUseRefittedStateFlag |
Protected Attributes inherited from TrajectoryFactoryBase | |
const bool | includeAPEs_ |
const bool | useBeamSpot_ |
by Edmund Widl, see CMS NOTE-2007/032. extension for BreakPoints or BrokenLines by Claus Kleinwort
Definition at line 30 of file TwoBodyDecayTrajectoryFactory.cc.
typedef TwoBodyDecayTrajectory::ConstRecHitCollection TwoBodyDecayTrajectoryFactory::ConstRecHitCollection |
Definition at line 36 of file TwoBodyDecayTrajectoryFactory.cc.
Definition at line 35 of file TwoBodyDecayTrajectoryFactory.cc.
Definition at line 34 of file TwoBodyDecayTrajectoryFactory.cc.
TwoBodyDecayTrajectoryFactory::TwoBodyDecayTrajectoryFactory | ( | const edm::ParameterSet & | config | ) |
Definition at line 80 of file TwoBodyDecayTrajectoryFactory.cc.
References edm::ParameterSet::getParameter(), theChi2CutValue, theConstructTsosWithErrorsFlag, theNSigmaCutValue, thePrimaryMass, thePrimaryWidth, theSecondaryMass, and theUseRefittedStateFlag.
Referenced by clone().
TwoBodyDecayTrajectoryFactory::~TwoBodyDecayTrajectoryFactory | ( | ) |
Definition at line 95 of file TwoBodyDecayTrajectoryFactory.cc.
References theFitter.
|
inlineoverridevirtual |
Implements TrajectoryFactoryBase.
Definition at line 51 of file TwoBodyDecayTrajectoryFactory.cc.
References TwoBodyDecayTrajectoryFactory().
|
protected |
Definition at line 198 of file TwoBodyDecayTrajectoryFactory.cc.
References mps_alisetup::config, ReferenceTrajectoryBase::Config::constructTsosWithErrors, TwoBodyDecay::covariance(), TwoBodyDecay::hasError(), ReferenceTrajectoryBase::Config::hitsAreReverse, ReferenceTrajectoryBase::Config::includeAPEs, TrajectoryFactoryBase::includeAPEs_, TrajectoryFactoryBase::innermostStateAndRecHits(), input1, input2, TwoBodyDecayTrajectoryState::isValid(), match(), TrajectoryFactoryBase::materialEffects(), TrajectoryFactoryBase::propagationDirection(), HLT_25ns10e33_v2_cff::recHits, mps_fire::result, ReferenceTrajectoryBase::setParameterErrors(), theConstructTsosWithErrorsFlag, theSecondaryMass, theUseRefittedStateFlag, trajectories(), TwoBodyDecayTrajectoryState::trajectoryStates(), ReferenceTrajectoryBase::Config::useBeamSpot, TrajectoryFactoryBase::useBeamSpot_, and ReferenceTrajectoryBase::Config::useRefittedState.
Referenced by trajectories().
|
protected |
Definition at line 262 of file TwoBodyDecayTrajectoryFactory.cc.
References TrajectoryStateOnSurface::localPosition(), mathSSE::sqrt(), theNSigmaCutValue, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().
Referenced by constructTrajectories().
|
overridevirtual |
Produce the trajectories.
Implements TrajectoryFactoryBase.
Definition at line 101 of file TwoBodyDecayTrajectoryFactory.cc.
References SiPixelRawToDigiRegional_cfi::beamSpot, TwoBodyDecay::chi2(), constructTrajectories(), TwoBodyDecayFitter::estimate(), edm::false, edm::EventSetup::get(), TwoBodyDecay::isValid(), HLT_25ns10e33_v2_cff::magneticField, edm::ESHandle< class >::product(), edm::second(), reco::TransientTrack::setES(), theChi2CutValue, theFitter, thePrimaryMass, thePrimaryWidth, and theSecondaryMass.
Referenced by constructTrajectories(), and trajectories().
|
overridevirtual |
Implements TrajectoryFactoryBase.
Definition at line 144 of file TwoBodyDecayTrajectoryFactory.cc.
References SiPixelRawToDigiRegional_cfi::beamSpot, TwoBodyDecay::chi2(), constructTrajectories(), TwoBodyDecayFitter::estimate(), edm::EventSetup::get(), TwoBodyDecay::isValid(), HLT_25ns10e33_v2_cff::magneticField, edm::ESHandle< class >::product(), edm::second(), reco::TransientTrack::setES(), theChi2CutValue, theFitter, thePrimaryMass, thePrimaryWidth, theSecondaryMass, trajectories(), and funct::true.
|
protected |
Definition at line 70 of file TwoBodyDecayTrajectoryFactory.cc.
Referenced by trajectories(), and TwoBodyDecayTrajectoryFactory().
|
protected |
Definition at line 72 of file TwoBodyDecayTrajectoryFactory.cc.
Referenced by constructTrajectories(), and TwoBodyDecayTrajectoryFactory().
|
protected |
Definition at line 63 of file TwoBodyDecayTrajectoryFactory.cc.
Referenced by trajectories(), and ~TwoBodyDecayTrajectoryFactory().
|
protected |
Definition at line 69 of file TwoBodyDecayTrajectoryFactory.cc.
Referenced by match(), and TwoBodyDecayTrajectoryFactory().
|
protected |
Definition at line 65 of file TwoBodyDecayTrajectoryFactory.cc.
Referenced by trajectories(), and TwoBodyDecayTrajectoryFactory().
|
protected |
Definition at line 66 of file TwoBodyDecayTrajectoryFactory.cc.
Referenced by trajectories(), and TwoBodyDecayTrajectoryFactory().
|
protected |
Definition at line 67 of file TwoBodyDecayTrajectoryFactory.cc.
Referenced by constructTrajectories(), trajectories(), and TwoBodyDecayTrajectoryFactory().
|
protected |
Definition at line 71 of file TwoBodyDecayTrajectoryFactory.cc.
Referenced by constructTrajectories(), and TwoBodyDecayTrajectoryFactory().