#include <InOutConversionSeedFinder.h>
Public Member Functions | |
InOutConversionSeedFinder (const edm::ParameterSet &config) | |
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) | |
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 |
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 (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 39 of file InOutConversionSeedFinder.h.
|
private |
Definition at line 44 of file InOutConversionSeedFinder.h.
|
private |
Definition at line 45 of file InOutConversionSeedFinder.h.
InOutConversionSeedFinder::InOutConversionSeedFinder | ( | const edm::ParameterSet & | config | ) |
Definition at line 19 of file InOutConversionSeedFinder.cc.
References conf_, edm::ParameterSet::getParameter(), maxNumberOfInOutSeedsPerInputTrack_, the2ndHitdphi_, the2ndHitdzConst_, and the2ndHitdznSigma_.
|
virtual |
Definition at line 37 of file InOutConversionSeedFinder.cc.
|
private |
}
/ end debug
Definition at line 591 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_, and the2ndHitdznSigma_.
Referenced by findSeeds().
|
private |
Definition at line 664 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_, and track2InitialMomentum_.
Referenced by completeSeed().
|
privatevirtual |
Definition at line 66 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 408 of file InOutConversionSeedFinder.cc.
References GeomDetEnumerators::barrel, completeSeed(), dir, ConversionSeedFinder::getMeasurementTracker(), TrajectoryStateOnSurface::globalDirection(), TrajectoryStateOnSurface::globalPosition(), ConversionSeedFinder::layerList(), DetLayer::location(), m, myPointer, reco::CaloCluster::position(), TrajectoryMeasurement::recHit(), ConversionFastHelix::stateAtVertex(), GeometricSearchDet::surface(), theFirstMeasurements_, ConversionSeedFinder::thePropagatorAlongMomentum_, theSecondBC_, track2InitialMomentum_, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by startSeed().
|
private |
Definition at line 365 of file InOutConversionSeedFinder.cc.
References bcCollection_, i, PV3DBase< T, PVType, FrameType >::phi(), and query::result.
Referenced by startSeed().
|
virtual |
Implements ConversionSeedFinder.
Definition at line 43 of file InOutConversionSeedFinder.cc.
References bcCollection_, fillClusterSeeds(), ConversionSeedFinder::findLayers(), inputTracks_, theFirstMeasurements_, theOutInTracks_, and ConversionSeedFinder::theSeeds_.
Referenced by ConversionTrackCandidateProducer::buildCollections().
|
inline |
Definition at line 63 of file InOutConversionSeedFinder.h.
References recoMuon::in, and theOutInTracks_.
Referenced by ConversionTrackCandidateProducer::buildCollections().
|
private |
Definition at line 311 of file InOutConversionSeedFinder.cc.
References FreeTrajectoryState::charge(), dir, findSeeds(), getSecondCaloClusters(), TrajectoryStateOnSurface::globalDirection(), TrajectoryStateOnSurface::globalPosition(), PV3DBase< T, PVType, FrameType >::phi(), reco::CaloCluster::position(), ConversionFastHelix::stateAtVertex(), theSecondBC_, track2Charge_, TrajectoryStateOnSurface::transverseCurvature(), x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by fillClusterSeeds().
|
mutableprivate |
Definition at line 96 of file InOutConversionSeedFinder.h.
Referenced by getSecondCaloClusters(), and makeSeeds().
|
private |
Definition at line 68 of file InOutConversionSeedFinder.h.
Referenced by InOutConversionSeedFinder().
|
mutableprivate |
Definition at line 91 of file InOutConversionSeedFinder.h.
Referenced by makeSeeds().
|
private |
Definition at line 86 of file InOutConversionSeedFinder.h.
Referenced by createSeed(), and InOutConversionSeedFinder().
|
mutableprivate |
Definition at line 89 of file InOutConversionSeedFinder.h.
Referenced by fillClusterSeeds(), and findSeeds().
|
mutableprivate |
Definition at line 85 of file InOutConversionSeedFinder.h.
Referenced by createSeed(), and fillClusterSeeds().
|
private |
Definition at line 80 of file InOutConversionSeedFinder.h.
Referenced by completeSeed(), and InOutConversionSeedFinder().
|
private |
Definition at line 81 of file InOutConversionSeedFinder.h.
Referenced by completeSeed(), and InOutConversionSeedFinder().
|
private |
Definition at line 82 of file InOutConversionSeedFinder.h.
Referenced by completeSeed(), and InOutConversionSeedFinder().
|
mutableprivate |
Definition at line 93 of file InOutConversionSeedFinder.h.
Referenced by findSeeds(), and makeSeeds().
|
mutableprivate |
Definition at line 92 of file InOutConversionSeedFinder.h.
Referenced by fillClusterSeeds(), makeSeeds(), and setTracks().
|
mutableprivate |
Definition at line 95 of file InOutConversionSeedFinder.h.
Referenced by findSeeds(), and startSeed().
|
mutableprivate |
Definition at line 83 of file InOutConversionSeedFinder.h.
Referenced by createSeed(), and startSeed().
|
mutableprivate |
Definition at line 84 of file InOutConversionSeedFinder.h.
Referenced by createSeed(), and findSeeds().