#include <SeedForPhotonConversionFromQuadruplets.h>
Public Member Functions | |
void | bubbleReverseSortVsPhi (GlobalPoint arr[], int n, GlobalPoint vtx) |
void | bubbleSortVsPhi (GlobalPoint arr[], int n, GlobalPoint vtx) |
double | getSqrEffectiveErrorOnZ (const TransientTrackingRecHit::ConstRecHitPointer &hit, const TrackingRegion ®ion) |
SeedForPhotonConversionFromQuadruplets (const edm::ParameterSet &cfg) | |
SeedForPhotonConversionFromQuadruplets (const std::string &propagator="PropagatorWithMaterial", double seedMomentumForBOFF=-5.0) | |
double | simpleGetSlope (const TransientTrackingRecHit::ConstRecHitPointer &ohit, const TransientTrackingRecHit::ConstRecHitPointer &nohit, const TransientTrackingRecHit::ConstRecHitPointer &ihit, const TransientTrackingRecHit::ConstRecHitPointer &nihit, const TrackingRegion ®ion, double &cotTheta, double &z0) |
void | stupidPrint (std::string s, float *d) |
void | stupidPrint (std::string s, double *d) |
void | stupidPrint (const char *s, GlobalPoint *d) |
void | stupidPrint (const char *s, GlobalPoint *d, int n) |
virtual const TrajectorySeed * | trajectorySeed (TrajectorySeedCollection &seedCollection, const SeedingHitSet &phits, const SeedingHitSet &mhits, const TrackingRegion ®ion, const edm::EventSetup &es, std::stringstream &ss, std::vector< Quad > &quadV) |
virtual const TrajectorySeed * | trajectorySeed (TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const TrackingRegion ®ion, const edm::EventSetup &es, const SeedComparitor *filter) |
double | verySimpleFit (int size, double *ax, double *ay, double *e2y, double &p0, double &e2p0, double &p1) |
virtual | ~SeedForPhotonConversionFromQuadruplets () |
Public Member Functions inherited from SeedCreator | |
virtual | ~SeedCreator () |
Static Public Attributes | |
static const int | cotTheta_Max =99999 |
Protected Member Functions | |
virtual const TrajectorySeed * | buildSeed (TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const FreeTrajectoryState &fts, const edm::EventSetup &es) const |
virtual bool | checkHit (const TrajectoryStateOnSurface &, const TransientTrackingRecHit::ConstRecHitPointer &hit, const edm::EventSetup &es) const |
virtual CurvilinearTrajectoryError | initialError (const GlobalVector &vertexBounds, float ptMin, float sinTheta) const |
virtual GlobalTrajectoryParameters | initialKinematic (const SeedingHitSet &hits, const GlobalPoint &vertexPos, const edm::EventSetup &es, const float cotTheta) const |
virtual TransientTrackingRecHit::RecHitPointer | refitHit (const TransientTrackingRecHit::ConstRecHitPointer &hit, const TrajectoryStateOnSurface &state) const |
bool | similarQuadExist (Quad &thisQuad, std::vector< Quad > &quadV) |
Protected Attributes | |
PrintRecoObjects | po |
std::stringstream * | pss |
double | theBOFFMomentum |
std::string | thePropagatorLabel |
Definition at line 11 of file SeedForPhotonConversionFromQuadruplets.h.
|
inline |
Definition at line 15 of file SeedForPhotonConversionFromQuadruplets.h.
|
inline |
Definition at line 20 of file SeedForPhotonConversionFromQuadruplets.h.
|
inlinevirtual |
Definition at line 25 of file SeedForPhotonConversionFromQuadruplets.h.
void SeedForPhotonConversionFromQuadruplets::bubbleReverseSortVsPhi | ( | GlobalPoint | arr[], |
int | n, | ||
GlobalPoint | vtx | ||
) |
Definition at line 429 of file SeedForPhotonConversionFromQuadruplets.cc.
References reco::deltaPhi(), i, j, phi, and tmp.
void SeedForPhotonConversionFromQuadruplets::bubbleSortVsPhi | ( | GlobalPoint | arr[], |
int | n, | ||
GlobalPoint | vtx | ||
) |
Definition at line 410 of file SeedForPhotonConversionFromQuadruplets.cc.
References reco::deltaPhi(), i, j, phi, and tmp.
|
protectedvirtual |
Definition at line 302 of file SeedForPhotonConversionFromQuadruplets.cc.
References alongMomentum, checkHit(), cond::rpcobgas::detid, TrackingRecHit::geographicalId(), edm::EventSetup::get(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::isValid(), TrackingRecHit::localPosition(), PV3DBase< T, PVType, FrameType >::perp(), trajectoryStateTransform::persistentState(), po, PrintRecoObjects::print(), Propagator::propagate(), LargeD0_PixelPairStep_cff::propagator, edm::OwnVector< T, P >::push_back(), DetId::rawId(), refitHit(), SeedingHitSet::size(), evf::utils::state, thePropagatorLabel, patCandidatesForDimuonsSequences_cff::tracker, and KFUpdator::update().
Referenced by trajectorySeed().
|
inlineprotectedvirtual |
Definition at line 61 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by buildSeed().
double SeedForPhotonConversionFromQuadruplets::getSqrEffectiveErrorOnZ | ( | const TransientTrackingRecHit::ConstRecHitPointer & | hit, |
const TrackingRegion & | region | ||
) |
Definition at line 492 of file SeedForPhotonConversionFromQuadruplets.cc.
References TrackingRegion::origin(), PV3DBase< T, PVType, FrameType >::perp(), funct::sqr(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by simpleGetSlope(), and trajectorySeed().
|
protectedvirtual |
Definition at line 273 of file SeedForPhotonConversionFromQuadruplets.cc.
References funct::C, GlobalErrorBase< T, ErrorWeightType >::cxx(), GlobalErrorBase< T, ErrorWeightType >::czz(), max(), funct::sqr(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by trajectorySeed().
|
protectedvirtual |
Definition at line 216 of file SeedForPhotonConversionFromQuadruplets.cc.
References abs, GlobalTrajectoryParameters::charge(), cotTheta_Max, cond::rpcobgas::detid, alignCSCRings::e, GlobalTrajectoryParameters::magneticField(), GlobalTrajectoryParameters::momentum(), PV3DBase< T, PVType, FrameType >::perp(), po, GlobalTrajectoryParameters::position(), PrintRecoObjects::print(), theBOFFMomentum, GlobalTrajectoryParameters::transverseCurvature(), Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
protectedvirtual |
Definition at line 361 of file SeedForPhotonConversionFromQuadruplets.cc.
Referenced by buildSeed().
|
protected |
Definition at line 503 of file SeedForPhotonConversionFromQuadruplets.cc.
References abs, Quad::cot, Quad::ptMinus, Quad::ptPlus, mathSSE::sqrt(), Quad::x, Quad::y, and Quad::z.
Referenced by trajectorySeed().
double SeedForPhotonConversionFromQuadruplets::simpleGetSlope | ( | const TransientTrackingRecHit::ConstRecHitPointer & | ohit, |
const TransientTrackingRecHit::ConstRecHitPointer & | nohit, | ||
const TransientTrackingRecHit::ConstRecHitPointer & | ihit, | ||
const TransientTrackingRecHit::ConstRecHitPointer & | nihit, | ||
const TrackingRegion & | region, | ||
double & | cotTheta, | ||
double & | z0 | ||
) |
Definition at line 449 of file SeedForPhotonConversionFromQuadruplets.cc.
References getSqrEffectiveErrorOnZ(), TrackingRegion::origin(), TrackingRegion::originZBound(), PV3DBase< T, PVType, FrameType >::perp(), funct::sqr(), verySimpleFit(), x, detailsBasic3DVector::y, and PV3DBase< T, PVType, FrameType >::z().
Referenced by trajectorySeed().
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | std::string | s, |
float * | d | ||
) |
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | std::string | s, |
double * | d | ||
) |
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | const char * | s, |
GlobalPoint * | d | ||
) |
Definition at line 394 of file SeedForPhotonConversionFromQuadruplets.cc.
References i, PV3DBase< T, PVType, FrameType >::perp(), and PV3DBase< T, PVType, FrameType >::phi().
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | const char * | s, |
GlobalPoint * | d, | ||
int | n | ||
) |
Definition at line 401 of file SeedForPhotonConversionFromQuadruplets.cc.
References i, n, PV3DBase< T, PVType, FrameType >::perp(), and PV3DBase< T, PVType, FrameType >::phi().
|
virtual |
Definition at line 26 of file SeedForPhotonConversionFromQuadruplets.cc.
References abs, buildSeed(), Conv4HitsReco::ConversionCandidate(), funct::cos(), gather_cfg::cout, cond::rpcobgas::detid, Conv4HitsReco::Dump(), Conv4HitsReco::GetMinusCenter(), Conv4HitsReco::GetPlusCenter(), getSqrEffectiveErrorOnZ(), initialError(), TrackingRegion::origin(), TrackingRegion::originRBound(), TrackingRegion::originZBound(), colinearityKinematic::Phi, TrackingRegion::ptMin(), ptmin, Conv4HitsReco::SetMaxNumberOfIterations(), similarQuadExist(), simpleGetSlope(), funct::sin(), SeedingHitSet::size(), mathSSE::sqrt(), Quad::x, x, PV3DBase< T, PVType, FrameType >::x(), detailsBasic3DVector::y, PV3DBase< T, PVType, FrameType >::y(), detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::inspect().
|
inlinevirtual |
Implements SeedCreator.
Definition at line 34 of file SeedForPhotonConversionFromQuadruplets.h.
double SeedForPhotonConversionFromQuadruplets::verySimpleFit | ( | int | size, |
double * | ax, | ||
double * | ay, | ||
double * | e2y, | ||
double & | p0, | ||
double & | e2p0, | ||
double & | p1 | ||
) |
Definition at line 486 of file SeedForPhotonConversionFromQuadruplets.cc.
Referenced by simpleGetSlope().
|
static |
Definition at line 13 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by initialKinematic().
|
protected |
Definition at line 95 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by buildSeed(), and initialKinematic().
|
protected |
Definition at line 94 of file SeedForPhotonConversionFromQuadruplets.h.
|
protected |
Definition at line 92 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by initialKinematic().
|
protected |
Definition at line 91 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by buildSeed().