#include <InOutConversionSeedFinder.h>
Public Member Functions | |
InOutConversionSeedFinder (const edm::ParameterSet &config, edm::ConsumesCollector &&iC) | |
void | makeSeeds (const edm::Handle< edm::View< reco::CaloCluster > > &allBc) 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) |
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, const FreeTrajectoryState &fts, const Propagator *propagator, int ilayer) |
void | createSeed (const TrajectoryMeasurement &m1, const TrajectoryMeasurement &m2) |
virtual void | fillClusterSeeds () |
virtual void | findSeeds (const TrajectoryStateOnSurface &startingState, float signedpt, unsigned int startingLayer) |
std::vector< const reco::CaloCluster * > | getSecondCaloClusters (const GlobalPoint &conversionPosition, float charge) const |
void | startSeed (const FreeTrajectoryState *fts, const TrajectoryStateOnSurface &stateAtPreviousLayer, int charge, int layer) |
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 34 of file InOutConversionSeedFinder.h.
|
private |
Definition at line 36 of file InOutConversionSeedFinder.h.
|
private |
Definition at line 37 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 32 of file InOutConversionSeedFinder.cc.
|
private |
} / end debug
Definition at line 484 of file InOutConversionSeedFinder.cc.
References GeomDetEnumerators::barrel, createSeed(), flavorHistoryFilter_cfi::dr, PVValHelper::dz, ConversionSeedFinder::getMeasurementTracker(), mps_fire::i, phase1PixelTopology::layer, ConversionSeedFinder::layerList(), LayerMeasurements::measurements(), ConversionSeedFinder::printLayer(), TrackCandidateProducer_cfi::propagator, rpcPointValidation_cfi::recHit, TrajectoryMeasurement::recHit(), mathSSE::sqrt(), the2ndHitdphi_, the2ndHitdzConst_, the2ndHitdznSigma_, and ConversionSeedFinder::theTrackerData_.
Referenced by findSeeds().
|
private |
Definition at line 545 of file InOutConversionSeedFinder.cc.
References alongMomentum, TrajectoryStateOnSurface::curvilinearError(), TrajectoryMeasurement::estimate(), TrajectoryStateOnSurface::freeTrajectoryState(), TrajectoryStateOnSurface::isValid(), TrajectoryMeasurement::layer(), callgraph::m2, 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 52 of file InOutConversionSeedFinder.cc.
References cms::cuda::assert(), GeomDetEnumerators::barrel, TrajectoryStateOnSurface::freeTrajectoryState(), mps_fire::i, TrackingGeometry::idToDet(), TrajectoryStateOnSurface::isValid(), ConversionSeedFinder::layerList(), EcalCondDBWriter_cfi::location, 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 320 of file InOutConversionSeedFinder.cc.
References GeomDetEnumerators::barrel, completeSeed(), DeadROC_duringRun::dir, ConversionSeedFinder::getMeasurementTracker(), TrajectoryStateOnSurface::globalDirection(), TrajectoryStateOnSurface::globalPosition(), phase1PixelTopology::layer, ConversionSeedFinder::layerList(), visualization-live-secondInstance_cfg::m, myPointer, reco::CaloCluster::position(), TrajectoryMeasurement::recHit(), ConversionFastHelix::stateAtVertex(), theFirstMeasurements_, ConversionSeedFinder::thePropagatorAlongMomentum_, theSecondBC_, ConversionSeedFinder::theTrackerData_, track2InitialMomentum_, x, y, z, and TkClusParameters_cff::zrange.
Referenced by startSeed().
|
private |
Definition at line 301 of file InOutConversionSeedFinder.cc.
References funct::abs(), bcCollection_, ALCARECOTkAlJpsiMuMu_cff::charge, PV3DBase< T, PVType, FrameType >::phi(), and mps_fire::result.
Referenced by startSeed().
|
overridevirtual |
Implements ConversionSeedFinder.
Definition at line 36 of file InOutConversionSeedFinder.cc.
References bcCollection_, fillClusterSeeds(), ConversionSeedFinder::findLayers(), inputTracks_, theFirstMeasurements_, theOutInTracks_, and ConversionSeedFinder::theSeeds_.
Referenced by ConversionTrackCandidateProducer::buildCollections().
|
inline |
Definition at line 46 of file InOutConversionSeedFinder.h.
References recoMuon::in, and theOutInTracks_.
Referenced by ConversionTrackCandidateProducer::buildCollections().
|
private |
Definition at line 255 of file InOutConversionSeedFinder.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, FreeTrajectoryState::charge(), DeadROC_duringRun::dir, findSeeds(), getSecondCaloClusters(), TrajectoryStateOnSurface::globalDirection(), TrajectoryStateOnSurface::globalPosition(), reco::CaloCluster::position(), ConversionFastHelix::stateAtVertex(), theSecondBC_, track2Charge_, TrajectoryStateOnSurface::transverseCurvature(), x, y, and z.
Referenced by fillClusterSeeds().
|
private |
Definition at line 81 of file InOutConversionSeedFinder.h.
Referenced by getSecondCaloClusters(), and makeSeeds().
|
private |
Definition at line 49 of file InOutConversionSeedFinder.h.
Referenced by InOutConversionSeedFinder().
|
private |
Definition at line 76 of file InOutConversionSeedFinder.h.
Referenced by makeSeeds().
|
private |
Definition at line 72 of file InOutConversionSeedFinder.h.
Referenced by createSeed(), and InOutConversionSeedFinder().
|
private |
Definition at line 74 of file InOutConversionSeedFinder.h.
Referenced by fillClusterSeeds(), and findSeeds().
|
private |
Definition at line 71 of file InOutConversionSeedFinder.h.
Referenced by createSeed(), and fillClusterSeeds().
|
private |
Definition at line 66 of file InOutConversionSeedFinder.h.
Referenced by completeSeed(), and InOutConversionSeedFinder().
|
private |
Definition at line 67 of file InOutConversionSeedFinder.h.
Referenced by completeSeed(), and InOutConversionSeedFinder().
|
private |
Definition at line 68 of file InOutConversionSeedFinder.h.
Referenced by completeSeed(), and InOutConversionSeedFinder().
|
private |
Definition at line 78 of file InOutConversionSeedFinder.h.
Referenced by findSeeds(), and makeSeeds().
|
private |
Definition at line 77 of file InOutConversionSeedFinder.h.
Referenced by fillClusterSeeds(), makeSeeds(), and setTracks().
|
private |
Definition at line 80 of file InOutConversionSeedFinder.h.
Referenced by findSeeds(), and startSeed().
|
private |
Definition at line 69 of file InOutConversionSeedFinder.h.
Referenced by createSeed(), and startSeed().
|
private |
Definition at line 70 of file InOutConversionSeedFinder.h.
Referenced by createSeed(), and findSeeds().