1 #ifndef SeedForPhotonConversionFromQuadruplets_H
2 #define SeedForPhotonConversionFromQuadruplets_H
17 theBOFFMomentum(cfg.existsAs<double>(
"SeedMomentumForBOFF") ? cfg.getParameter<double>(
"SeedMomentumForBOFF") : 5.0)
21 const std::string &
propagator =
"PropagatorWithMaterial",
double seedMomentumForBOFF = -5.0)
32 std::stringstream& ss, std::vector<Quad> & quadV);
42 double verySimpleFit(
int size,
double*
ax,
double* ay,
double* e2y,
double& p0,
double& e2p0,
double&
p1);
70 const float cotTheta)
const;
75 float sinTheta)
const;
94 std::stringstream *
pss;
static const int cotTheta_Max
virtual CurvilinearTrajectoryError initialError(const GlobalVector &vertexBounds, float ptMin, float sinTheta) const
void stupidPrint(std::string s, float *d)
void bubbleReverseSortVsPhi(GlobalPoint arr[], int n, GlobalPoint vtx)
virtual ~SeedForPhotonConversionFromQuadruplets()
virtual const TrajectorySeed * trajectorySeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const TrackingRegion ®ion, const edm::EventSetup &es, const SeedComparitor *filter)
void bubbleSortVsPhi(GlobalPoint arr[], int n, GlobalPoint vtx)
SeedForPhotonConversionFromQuadruplets(const std::string &propagator="PropagatorWithMaterial", double seedMomentumForBOFF=-5.0)
double getSqrEffectiveErrorOnZ(const TransientTrackingRecHit::ConstRecHitPointer &hit, const TrackingRegion ®ion)
virtual GlobalTrajectoryParameters initialKinematic(const SeedingHitSet &hits, const GlobalPoint &vertexPos, const edm::EventSetup &es, const float cotTheta) const
double verySimpleFit(int size, double *ax, double *ay, double *e2y, double &p0, double &e2p0, double &p1)
std::vector< TrajectorySeed > TrajectorySeedCollection
virtual TransientTrackingRecHit::RecHitPointer refitHit(const TransientTrackingRecHit::ConstRecHitPointer &hit, const TrajectoryStateOnSurface &state) const
virtual bool checkHit(const TrajectoryStateOnSurface &, const TransientTrackingRecHit::ConstRecHitPointer &hit, const edm::EventSetup &es) const
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)
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)
bool similarQuadExist(Quad &thisQuad, std::vector< Quad > &quadV)
std::string thePropagatorLabel
SeedForPhotonConversionFromQuadruplets(const edm::ParameterSet &cfg)
virtual const TrajectorySeed * buildSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const FreeTrajectoryState &fts, const edm::EventSetup &es) const
tuple size
Write out results.