#include <InOutConversionSeedFinder.h>
Public Member Functions | |
InOutConversionSeedFinder (const edm::ParameterSet &config, edm::ConsumesCollector &&iC) | |
void | makeSeeds (const edm::Handle< edm::View< reco::CaloCluster > > &allBc) const override |
void | setTracks (std::vector< Trajectory > const &in) |
~InOutConversionSeedFinder () override | |
Public Member Functions inherited from ConversionSeedFinder | |
void | clear () |
ConversionSeedFinder () | |
ConversionSeedFinder (const edm::ParameterSet &config, edm::ConsumesCollector &iC) | |
const MeasurementTracker * | getMeasurementTracker () const |
std::vector< const DetLayer * > const & | layerList () const |
TrajectorySeedCollection & | seeds () |
virtual void | setCandidate (float e, GlobalPoint pos) const |
void | setEvent (const edm::Event &e) |
void | setEventSetup (const edm::EventSetup &es) |
Initialize EventSetup objects at each event. More... | |
void | setMeasurementTracker (const MeasurementTracker *tracker) const |
void | setNavigationSchool (const NavigationSchool *navigation) |
virtual | ~ConversionSeedFinder () |
Private Types | |
typedef FreeTrajectoryState | FTS |
typedef TrajectoryStateOnSurface | TSOS |
Private Member Functions | |
void | completeSeed (const TrajectoryMeasurement &m1, FreeTrajectoryState &fts, const Propagator *propagator, int ilayer) const |
void | createSeed (const TrajectoryMeasurement &m1, const TrajectoryMeasurement &m2) const |
virtual void | fillClusterSeeds () const |
virtual void | findSeeds (const TrajectoryStateOnSurface &startingState, float signedpt, unsigned int startingLayer) const |
std::vector< const reco::CaloCluster * > | getSecondCaloClusters (const GlobalPoint &conversionPosition, float charge) const |
void | startSeed (const FreeTrajectoryState *fts, const TrajectoryStateOnSurface &stateAtPreviousLayer, int charge, int layer) const |
Private Attributes | |
edm::Handle< edm::View< reco::CaloCluster > > | bcCollection_ |
edm::ParameterSet | conf_ |
std::vector< Trajectory > | inputTracks_ |
int | maxNumberOfInOutSeedsPerInputTrack_ |
TrajectoryMeasurement * | myPointer |
int | nSeedsPerInputTrack_ |
float | the2ndHitdphi_ |
float | the2ndHitdzConst_ |
float | the2ndHitdznSigma_ |
std::vector< TrajectoryMeasurement > | theFirstMeasurements_ |
std::vector< Trajectory > | theOutInTracks_ |
reco::CaloCluster | theSecondBC_ |
int | track2Charge_ |
GlobalVector | track2InitialMomentum_ |
Definition at line 36 of file InOutConversionSeedFinder.h.
|
private |
Definition at line 41 of file InOutConversionSeedFinder.h.
|
private |
Definition at line 42 of file InOutConversionSeedFinder.h.
InOutConversionSeedFinder::InOutConversionSeedFinder | ( | const edm::ParameterSet & | config, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 21 of file InOutConversionSeedFinder.cc.
References conf_, edm::ParameterSet::getParameter(), maxNumberOfInOutSeedsPerInputTrack_, the2ndHitdphi_, the2ndHitdzConst_, and the2ndHitdznSigma_.
|
override |
Definition at line 39 of file InOutConversionSeedFinder.cc.
|
private |
} / end debug
Definition at line 594 of file InOutConversionSeedFinder.cc.
References GeomDetEnumerators::barrel, createSeed(), runTauDisplay::dr, PVValHelper::dz, ConversionSeedFinder::getMeasurementTracker(), mps_fire::i, ConversionSeedFinder::layerList(), DetLayer::location(), LayerMeasurements::measurements(), ConversionSeedFinder::printLayer(), rpcPointValidation_cfi::recHit, TrajectoryMeasurement::recHit(), mathSSE::sqrt(), GeometricSearchDet::surface(), the2ndHitdphi_, the2ndHitdzConst_, the2ndHitdznSigma_, and ConversionSeedFinder::theTrackerData_.
Referenced by findSeeds().
|
private |
Definition at line 668 of file InOutConversionSeedFinder.cc.
References alongMomentum, TrajectoryStateOnSurface::curvilinearError(), TrajectoryMeasurement::estimate(), TrajectoryStateOnSurface::freeTrajectoryState(), TrajectoryStateOnSurface::isValid(), TrajectoryMeasurement::layer(), maxNumberOfInOutSeedsPerInputTrack_, nSeedsPerInputTrack_, trajectoryStateTransform::persistentState(), TrajectoryMeasurement::predictedState(), Propagator::propagate(), edm::OwnVector< T, P >::push_back(), TrajectoryMeasurement::recHit(), ConversionSeedFinder::thePropagatorAlongMomentum_, ConversionSeedFinder::theSeeds_, ConversionSeedFinder::theUpdator_, track2Charge_, track2InitialMomentum_, and KFUpdator::update().
Referenced by completeSeed().
|
privatevirtual |
Definition at line 68 of file InOutConversionSeedFinder.cc.
References GeomDetEnumerators::barrel, TrajectoryStateOnSurface::freeTrajectoryState(), mps_fire::i, TrackingGeometry::idToDet(), TrajectoryStateOnSurface::isValid(), ConversionSeedFinder::layerList(), myPointer, nSeedsPerInputTrack_, ConversionSeedFinder::printLayer(), Propagator::propagate(), TrajectoryMeasurement::recHit(), startSeed(), GeometricSearchDet::surface(), theOutInTracks_, ConversionSeedFinder::thePropagatorOppositeToMomentum_, ConversionSeedFinder::theTrackerGeom_, and TrajectoryMeasurement::updatedState().
Referenced by makeSeeds().
|
privatevirtual |
Rememeber that this alwyas give back at least one dummy-innvalid it which prevents from everything getting stopped
Definition at line 411 of file InOutConversionSeedFinder.cc.
References GeomDetEnumerators::barrel, completeSeed(), dir, ConversionSeedFinder::getMeasurementTracker(), TrajectoryStateOnSurface::globalDirection(), TrajectoryStateOnSurface::globalPosition(), ConversionSeedFinder::layerList(), DetLayer::location(), funct::m, myPointer, reco::CaloCluster::position(), TrajectoryMeasurement::recHit(), ConversionFastHelix::stateAtVertex(), GeometricSearchDet::surface(), theFirstMeasurements_, ConversionSeedFinder::thePropagatorAlongMomentum_, theSecondBC_, ConversionSeedFinder::theTrackerData_, track2InitialMomentum_, x, y, and z.
Referenced by startSeed().
|
private |
Definition at line 368 of file InOutConversionSeedFinder.cc.
References bcCollection_, mps_fire::i, PV3DBase< T, PVType, FrameType >::phi(), and mps_fire::result.
Referenced by startSeed().
|
overridevirtual |
Implements ConversionSeedFinder.
Definition at line 45 of file InOutConversionSeedFinder.cc.
References bcCollection_, fillClusterSeeds(), ConversionSeedFinder::findLayers(), inputTracks_, theFirstMeasurements_, theOutInTracks_, and ConversionSeedFinder::theSeeds_.
|
inline |
Definition at line 60 of file InOutConversionSeedFinder.h.
References recoMuon::in, and theOutInTracks_.
|
private |
Definition at line 314 of file InOutConversionSeedFinder.cc.
References FreeTrajectoryState::charge(), dir, findSeeds(), getSecondCaloClusters(), TrajectoryStateOnSurface::globalDirection(), TrajectoryStateOnSurface::globalPosition(), reco::CaloCluster::position(), ConversionFastHelix::stateAtVertex(), theSecondBC_, track2Charge_, TrajectoryStateOnSurface::transverseCurvature(), x, y, and z.
Referenced by fillClusterSeeds().
|
mutableprivate |
Definition at line 93 of file InOutConversionSeedFinder.h.
Referenced by getSecondCaloClusters(), and makeSeeds().
|
private |
Definition at line 65 of file InOutConversionSeedFinder.h.
Referenced by InOutConversionSeedFinder().
|
mutableprivate |
Definition at line 88 of file InOutConversionSeedFinder.h.
Referenced by makeSeeds().
|
private |
Definition at line 83 of file InOutConversionSeedFinder.h.
Referenced by createSeed(), and InOutConversionSeedFinder().
|
mutableprivate |
Definition at line 86 of file InOutConversionSeedFinder.h.
Referenced by fillClusterSeeds(), and findSeeds().
|
mutableprivate |
Definition at line 82 of file InOutConversionSeedFinder.h.
Referenced by createSeed(), and fillClusterSeeds().
|
private |
Definition at line 77 of file InOutConversionSeedFinder.h.
Referenced by completeSeed(), and InOutConversionSeedFinder().
|
private |
Definition at line 78 of file InOutConversionSeedFinder.h.
Referenced by completeSeed(), and InOutConversionSeedFinder().
|
private |
Definition at line 79 of file InOutConversionSeedFinder.h.
Referenced by completeSeed(), and InOutConversionSeedFinder().
|
mutableprivate |
Definition at line 90 of file InOutConversionSeedFinder.h.
Referenced by findSeeds(), and makeSeeds().
|
mutableprivate |
Definition at line 89 of file InOutConversionSeedFinder.h.
Referenced by fillClusterSeeds(), makeSeeds(), and setTracks().
|
mutableprivate |
Definition at line 92 of file InOutConversionSeedFinder.h.
Referenced by findSeeds(), and startSeed().
|
mutableprivate |
Definition at line 80 of file InOutConversionSeedFinder.h.
Referenced by createSeed(), and startSeed().
|
mutableprivate |
Definition at line 81 of file InOutConversionSeedFinder.h.
Referenced by createSeed(), and findSeeds().