#include <InOutConversionSeedFinder.h>
Public Member Functions | |
InOutConversionSeedFinder (const edm::ParameterSet &config, edm::ConsumesCollector &&iC) | |
virtual void | makeSeeds (const edm::Handle< edm::View< reco::CaloCluster > > &allBc) const |
void | setTracks (std::vector< Trajectory > const &in) |
virtual | ~InOutConversionSeedFinder () |
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_.
|
virtual |
Definition at line 39 of file InOutConversionSeedFinder.cc.
|
private |
}
/ end debug
Definition at line 593 of file InOutConversionSeedFinder.cc.
References GeomDetEnumerators::barrel, createSeed(), ConversionSeedFinder::getMeasurementTracker(), i, ConversionSeedFinder::layerList(), DetLayer::location(), LayerMeasurements::measurements(), ConversionSeedFinder::printLayer(), TrajectoryMeasurement::recHit(), mathSSE::sqrt(), GeometricSearchDet::surface(), the2ndHitdphi_, the2ndHitdzConst_, the2ndHitdznSigma_, and ConversionSeedFinder::theTrackerData_.
Referenced by findSeeds().
|
private |
Definition at line 667 of file InOutConversionSeedFinder.cc.
References alongMomentum, TrajectoryStateOnSurface::curvilinearError(), benchmark_cfg::errors, 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(), 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 410 of file InOutConversionSeedFinder.cc.
References GeomDetEnumerators::barrel, completeSeed(), dir, ConversionSeedFinder::getMeasurementTracker(), TrajectoryStateOnSurface::globalDirection(), TrajectoryStateOnSurface::globalPosition(), ConversionSeedFinder::layerList(), DetLayer::location(), visualization-live-secondInstance_cfg::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 367 of file InOutConversionSeedFinder.cc.
References bcCollection_, i, PV3DBase< T, PVType, FrameType >::phi(), and query::result.
Referenced by startSeed().
|
virtual |
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 313 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().