#include <OutInConversionSeedFinder.h>
Public Member Functions | |
virtual void | makeSeeds (const edm::Handle< edm::View< reco::CaloCluster > > &allBc) const |
virtual void | makeSeeds (const reco::CaloClusterPtr &aBC) const |
OutInConversionSeedFinder (const edm::ParameterSet &config) | |
virtual | ~OutInConversionSeedFinder () |
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 *, int layer) const |
void | createSeed (const TrajectoryMeasurement &m1, const TrajectoryMeasurement &m2) const |
FreeTrajectoryState | createSeedFTS (const TrajectoryMeasurement &m1, const TrajectoryMeasurement &m2) const |
void | fillClusterSeeds (const reco::CaloClusterPtr &bc) const |
GlobalPoint | fixPointRadius (const TrajectoryMeasurement &) const |
MeasurementEstimator * | makeEstimator (const DetLayer *, float dphi) const |
std::pair< FreeTrajectoryState, bool > | makeTrackState (int charge) const |
void | startSeed (const FreeTrajectoryState &) const |
Private Attributes | |
edm::ParameterSet | conf_ |
int | maxNumberOfOutInSeedsPerBC_ |
int | nSeedsPerBC_ |
float | the2ndHitdphi_ |
float | the2ndHitdzConst_ |
float | the2ndHitdznSigma_ |
std::vector < TrajectoryMeasurement > | theFirstMeasurements_ |
Additional Inherited Members | |
Protected Member Functions inherited from ConversionSeedFinder | |
void | findLayers () const |
void | findLayers (const FreeTrajectoryState &fts) const |
void | printLayer (int i) const |
FreeTrajectoryState | trackStateFromClusters (int aCharge, const GlobalPoint &gpOrigine, PropagationDirection dir, float scaleFactor) const |
Protected Attributes inherited from ConversionSeedFinder | |
edm::ParameterSet | conf_ |
PropagationDirection | dir_ |
float | theBCEnergy_ |
GlobalPoint | theBCPosition_ |
reco::BeamSpot | theBeamSpot_ |
edm::ESHandle < GeometricSearchTracker > | theGeomSearchTracker_ |
std::vector< const DetLayer * > | theLayerList_ |
const MeasurementTracker * | theMeasurementTracker_ |
edm::ESHandle< MagneticField > | theMF_ |
const Propagator * | thePropagatorAlongMomentum_ |
const Propagator * | thePropagatorOppositeToMomentum_ |
reco::CaloCluster * | theSC_ |
float | theSCenergy_ |
GlobalPoint | theSCPosition_ |
TrajectorySeedCollection | theSeeds_ |
const TrackingGeometry * | theTrackerGeom_ |
KFUpdator | theUpdator_ |
Definition at line 34 of file OutInConversionSeedFinder.h.
|
private |
Definition at line 39 of file OutInConversionSeedFinder.h.
|
private |
Definition at line 40 of file OutInConversionSeedFinder.h.
OutInConversionSeedFinder::OutInConversionSeedFinder | ( | const edm::ParameterSet & | config | ) |
Definition at line 30 of file OutInConversionSeedFinder.cc.
References conf_, edm::ParameterSet::getParameter(), LogDebug, maxNumberOfOutInSeedsPerBC_, the2ndHitdphi_, the2ndHitdzConst_, and the2ndHitdznSigma_.
|
virtual |
|
private |
Definition at line 382 of file OutInConversionSeedFinder.cc.
References GeomDetEnumerators::barrel, createSeed(), ConversionSeedFinder::getMeasurementTracker(), i, DetLayer::location(), LogDebug, LayerMeasurements::measurements(), Propagator::propagationDirection(), TrajectoryMeasurement::recHit(), mathSSE::sqrt(), GeometricSearchDet::surface(), the2ndHitdphi_, the2ndHitdzConst_, the2ndHitdznSigma_, and ConversionSeedFinder::theLayerList_.
Referenced by startSeed().
|
private |
Definition at line 437 of file OutInConversionSeedFinder.cc.
References createSeedFTS(), TrajectoryMeasurement::estimate(), PV3DBase< T, PVType, FrameType >::eta(), TrajectoryStateOnSurface::freeTrajectoryState(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), TrajectoryMeasurement::layer(), LogDebug, maxNumberOfOutInSeedsPerBC_, nSeedsPerBC_, oppositeToMomentum, PTrajectoryStateOnDet::parameters(), PV3DBase< T, PVType, FrameType >::perp(), TrajectoryStateTransform::persistentState(), PV3DBase< T, PVType, FrameType >::phi(), LocalTrajectoryParameters::position(), Propagator::propagate(), edm::OwnVector< T, P >::push_back(), TrajectoryMeasurement::recHit(), ConversionSeedFinder::thePropagatorOppositeToMomentum_, ConversionSeedFinder::theSeeds_, ConversionSeedFinder::theUpdator_, and KFUpdator::update().
Referenced by completeSeed().
|
private |
Definition at line 505 of file OutInConversionSeedFinder.cc.
References alpha, DeDxDiscriminatorTools::charge(), TrajectoryStateOnSurface::charge(), funct::cos(), fixPointRadius(), m, PV3DBase< T, PVType, FrameType >::perp(), phi, PV3DBase< T, PVType, FrameType >::phi(), TrajectoryMeasurement::predictedState(), funct::sin(), ConversionSeedFinder::theMF_, ConversionSeedFinder::theSCenergy_, ConversionSeedFinder::theSCPosition_, and PV3DBase< T, PVType, FrameType >::theta().
Referenced by createSeed().
|
private |
negative charge state
positive charge state
Definition at line 177 of file OutInConversionSeedFinder.cc.
References makeTrackState(), edm::second(), startSeed(), and theFirstMeasurements_.
Referenced by makeSeeds().
|
private |
Definition at line 551 of file OutInConversionSeedFinder.cc.
References GeomDetEnumerators::barrel, funct::cos(), TrajectoryMeasurement::layer(), DetLayer::location(), p1, p2, phi, PV3DBase< T, PVType, FrameType >::phi(), csvReporter::r, TrajectoryMeasurement::recHit(), funct::sin(), funct::tan(), ConversionSeedFinder::theSCPosition_, PV3DBase< T, PVType, FrameType >::theta(), theta(), detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by createSeedFTS().
|
private |
Definition at line 344 of file OutInConversionSeedFinder.cc.
References GeomDetEnumerators::barrel, GeomDetEnumerators::endcap, BoundDisk::innerRadius(), DetLayer::location(), LogDebug, BoundDisk::outerRadius(), PV3DBase< T, PVType, FrameType >::perp(), GloballyPositioned< T >::position(), csvReporter::r, Cylinder::radius(), ForwardDetLayer::specificSurface(), BarrelDetLayer::specificSurface(), ForwardDetLayer::surface(), ConversionSeedFinder::theBCPosition_, detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by startSeed().
|
virtual |
Implements ConversionSeedFinder.
Definition at line 55 of file OutInConversionSeedFinder.cc.
References PV3DBase< T, PVType, FrameType >::eta(), fillClusterSeeds(), ConversionSeedFinder::findLayers(), i, LogDebug, nSeedsPerBC_, PV3DBase< T, PVType, FrameType >::phi(), ConversionSeedFinder::theBCEnergy_, ConversionSeedFinder::theBCPosition_, ConversionSeedFinder::theSCPosition_, and ConversionSeedFinder::theSeeds_.
Referenced by ConversionTrackCandidateProducer::buildCollections().
|
virtual |
Definition at line 148 of file OutInConversionSeedFinder.cc.
References PV3DBase< T, PVType, FrameType >::eta(), fillClusterSeeds(), ConversionSeedFinder::findLayers(), nSeedsPerBC_, PV3DBase< T, PVType, FrameType >::phi(), ConversionSeedFinder::theBCEnergy_, ConversionSeedFinder::theBCPosition_, ConversionSeedFinder::theSCPosition_, and ConversionSeedFinder::theSeeds_.
|
private |
Definition at line 199 of file OutInConversionSeedFinder.cc.
References PixelRecoUtilities::curvature(), LogDebug, m, PV3DBase< T, PVType, FrameType >::perp(), reco::BeamSpot::position(), csvReporter::r, dttmaxenums::R, query::result, rho, mathSSE::sqrt(), ConversionSeedFinder::theBCEnergy_, ConversionSeedFinder::theBCPosition_, ConversionSeedFinder::theBeamSpot_, and ConversionSeedFinder::theMF_.
Referenced by fillClusterSeeds().
|
private |
Definition at line 271 of file OutInConversionSeedFinder.cc.
References alongMomentum, FreeTrajectoryState::charge(), completeSeed(), ConversionSeedFinder::getMeasurementTracker(), i, ConversionSeedFinder::layerList(), LogDebug, makeEstimator(), LayerMeasurements::measurements(), Propagator::propagationDirection(), TrajectoryMeasurement::recHit(), GeometricSearchDet::surface(), theFirstMeasurements_, ConversionSeedFinder::thePropagatorAlongMomentum_, ConversionSeedFinder::thePropagatorOppositeToMomentum_, and ConversionSeedFinder::trackStateFromClusters().
Referenced by fillClusterSeeds().
|
private |
Definition at line 57 of file OutInConversionSeedFinder.h.
Referenced by OutInConversionSeedFinder().
|
private |
Definition at line 83 of file OutInConversionSeedFinder.h.
Referenced by createSeed(), and OutInConversionSeedFinder().
|
mutableprivate |
Definition at line 82 of file OutInConversionSeedFinder.h.
Referenced by createSeed(), and makeSeeds().
|
private |
Definition at line 78 of file OutInConversionSeedFinder.h.
Referenced by completeSeed(), and OutInConversionSeedFinder().
|
private |
Definition at line 79 of file OutInConversionSeedFinder.h.
Referenced by completeSeed(), and OutInConversionSeedFinder().
|
private |
Definition at line 80 of file OutInConversionSeedFinder.h.
Referenced by completeSeed(), and OutInConversionSeedFinder().
|
mutableprivate |
Definition at line 81 of file OutInConversionSeedFinder.h.
Referenced by fillClusterSeeds(), and startSeed().