#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 SeedingHitSet::ConstRecHitPointer &hit, const TrackingRegion ®ion) |
SeedForPhotonConversionFromQuadruplets (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC, const edm::ParameterSet &SeedComparitorPSet) | |
SeedForPhotonConversionFromQuadruplets (edm::ConsumesCollector &iC, const edm::ParameterSet &SeedComparitorPSet, const std::string &propagator="PropagatorWithMaterial", double seedMomentumForBOFF=-5.0) | |
double | simpleGetSlope (const SeedingHitSet::ConstRecHitPointer &ohit, const SeedingHitSet::ConstRecHitPointer &nohit, const SeedingHitSet::ConstRecHitPointer &ihit, const SeedingHitSet::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) |
const TrajectorySeed * | trajectorySeed (TrajectorySeedCollection &seedCollection, const SeedingHitSet &phits, const SeedingHitSet &mhits, const TrackingRegion ®ion, const edm::Event &ev, const edm::EventSetup &es, std::stringstream &ss, std::vector< Quad > &quadV, edm::ParameterSet &QuadCutPSet) |
double | verySimpleFit (int size, double *ax, double *ay, double *e2y, double &p0, double &e2p0, double &p1) |
~SeedForPhotonConversionFromQuadruplets () | |
Static Public Attributes | |
static const int | cotTheta_Max =99999 |
Protected Attributes | |
TkClonerImpl | cloner |
double | kPI_ |
PrintRecoObjects | po |
std::stringstream * | pss |
double | theBOFFMomentum |
std::unique_ptr< SeedComparitor > | theComparitor |
std::string | thePropagatorLabel |
Definition at line 20 of file SeedForPhotonConversionFromQuadruplets.h.
SeedForPhotonConversionFromQuadruplets::SeedForPhotonConversionFromQuadruplets | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC, | ||
const edm::ParameterSet & | SeedComparitorPSet | ||
) |
Definition at line 37 of file SeedForPhotonConversionFromQuadruplets.cc.
SeedForPhotonConversionFromQuadruplets::SeedForPhotonConversionFromQuadruplets | ( | edm::ConsumesCollector & | iC, |
const edm::ParameterSet & | SeedComparitorPSet, | ||
const std::string & | propagator = "PropagatorWithMaterial" , |
||
double | seedMomentumForBOFF = -5.0 |
||
) |
Definition at line 44 of file SeedForPhotonConversionFromQuadruplets.cc.
References SurfaceDeformationFactory::create(), reco::get(), edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, and theComparitor.
SeedForPhotonConversionFromQuadruplets::~SeedForPhotonConversionFromQuadruplets | ( | ) |
Definition at line 53 of file SeedForPhotonConversionFromQuadruplets.cc.
void SeedForPhotonConversionFromQuadruplets::bubbleReverseSortVsPhi | ( | GlobalPoint | arr[], |
int | n, | ||
GlobalPoint | vtx | ||
) |
Definition at line 984 of file SeedForPhotonConversionFromQuadruplets.cc.
References barePhi(), reco::deltaPhi(), i, j, and tmp.
void SeedForPhotonConversionFromQuadruplets::bubbleSortVsPhi | ( | GlobalPoint | arr[], |
int | n, | ||
GlobalPoint | vtx | ||
) |
Definition at line 965 of file SeedForPhotonConversionFromQuadruplets.cc.
References barePhi(), reco::deltaPhi(), i, j, and tmp.
|
protected |
Definition at line 689 of file SeedForPhotonConversionFromQuadruplets.cc.
References alongMomentum, TrackingRecHit::geographicalId(), edm::EventSetup::get(), TrajectoryStateOnSurface::globalMomentum(), BaseTrackerRecHit::localPosition(), TrackingRecHit::localPosition(), PV3DBase< T, PVType, FrameType >::perp(), trajectoryStateTransform::persistentState(), po, PrintRecoObjects::print(), Propagator::propagate(), HLT_FULL_cff::propagator, edm::OwnVector< T, P >::push_back(), DetId::rawId(), refitHit(), SeedingHitSet::size(), thePropagatorLabel, patCandidatesForDimuonsSequences_cff::tracker, KFUpdator::update(), and HLT_FULL_cff::updator.
Referenced by trajectorySeed().
|
protected |
Implement here the dz cut:::
Definition at line 751 of file SeedForPhotonConversionFromQuadruplets.cc.
References checkHit(), TrackingRecHit::clone(), cloner, gather_cfg::cout, alignCSCRings::e, TrackingRecHit::geographicalId(), edm::EventSetup::get(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), BaseTrackerRecHit::hit(), i, TrajectoryStateClosestToBeamLine::isValid(), TrajectoryStateOnSurface::isValid(), j, TrackingRegion::origin(), FreeTrajectoryState::position(), edm::ESHandle< class >::product(), Propagator::propagate(), HLT_FULL_cff::propagator, edm::OwnVector< T, P >::push_back(), refitHit(), SeedingHitSet::size(), mathSSE::sqrt(), thePropagatorLabel, patCandidatesForDimuonsSequences_cff::tracker, TrajectoryStateClosestToBeamLine::trackStateAtPCA(), HLT_FULL_cff::TTRHBuilder, reco::BeamSpot::Unknown, KFUpdator::update(), HLT_FULL_cff::updator, findQualityFiles::v, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by trajectorySeed().
|
inlineprotected |
Definition at line 62 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by buildSeedBool().
|
protected |
Definition at line 1095 of file SeedForPhotonConversionFromQuadruplets.cc.
References kPI_.
Referenced by trajectorySeed().
double SeedForPhotonConversionFromQuadruplets::getSqrEffectiveErrorOnZ | ( | const SeedingHitSet::ConstRecHitPointer & | hit, |
const TrackingRegion & | region | ||
) |
Definition at line 1047 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().
|
protected |
Definition at line 660 of file SeedForPhotonConversionFromQuadruplets.cc.
References funct::C, GlobalErrorBase< T, ErrorWeightType >::cxx(), GlobalErrorBase< T, ErrorWeightType >::czz(), bookConverter::max, funct::sqr(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by trajectorySeed().
|
protected |
Definition at line 601 of file SeedForPhotonConversionFromQuadruplets.cc.
References GlobalTrajectoryParameters::charge(), cotTheta_Max, edm::EventSetup::get(), 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().
|
protected |
Definition at line 916 of file SeedForPhotonConversionFromQuadruplets.cc.
References cloner.
Referenced by buildSeed(), and buildSeedBool().
|
protected |
Definition at line 1058 of file SeedForPhotonConversionFromQuadruplets.cc.
References Quad::ptMinus, Quad::ptPlus, mathSSE::sqrt(), Quad::x, and Quad::y.
Referenced by trajectorySeed().
double SeedForPhotonConversionFromQuadruplets::simpleGetSlope | ( | const SeedingHitSet::ConstRecHitPointer & | ohit, |
const SeedingHitSet::ConstRecHitPointer & | nohit, | ||
const SeedingHitSet::ConstRecHitPointer & | ihit, | ||
const SeedingHitSet::ConstRecHitPointer & | nihit, | ||
const TrackingRegion & | region, | ||
double & | cotTheta, | ||
double & | z0 | ||
) |
Definition at line 1004 of file SeedForPhotonConversionFromQuadruplets.cc.
References HLT_FULL_cff::chi2, getSqrEffectiveErrorOnZ(), TrackingRegion::origin(), TrackingRegion::originZBound(), PV3DBase< T, PVType, FrameType >::perp(), funct::sqr(), verySimpleFit(), x, 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 949 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 956 of file SeedForPhotonConversionFromQuadruplets.cc.
References i, gen::n, PV3DBase< T, PVType, FrameType >::perp(), and PV3DBase< T, PVType, FrameType >::phi().
const TrajectorySeed * SeedForPhotonConversionFromQuadruplets::trajectorySeed | ( | TrajectorySeedCollection & | seedCollection, |
const SeedingHitSet & | phits, | ||
const SeedingHitSet & | mhits, | ||
const TrackingRegion & | region, | ||
const edm::Event & | ev, | ||
const edm::EventSetup & | es, | ||
std::stringstream & | ss, | ||
std::vector< Quad > & | quadV, | ||
edm::ParameterSet & | QuadCutPSet | ||
) |
Definition at line 56 of file SeedForPhotonConversionFromQuadruplets.cc.
References funct::abs(), buildSeed(), buildSeedBool(), funct::C, HLT_FULL_cff::chi2, Conv4HitsReco2::ConversionCandidate(), funct::cos(), gather_cfg::cout, ztail::d, DeltaPhiManual(), Conv4HitsReco2::Dump(), edm::EventSetup::get(), edm::ParameterSet::getParameter(), getSqrEffectiveErrorOnZ(), initialError(), listHistos::IP, relval_2017::k, kPI_, TrackingRegion::origin(), TrackingRegion::originRBound(), TrackingRegion::originZBound(), colinearityKinematic::Phi, TrackingRegion::ptMin(), ptmin, HLT_FULL_cff::region, Conv4HitsReco2::SetMaxNumberOfIterations(), similarQuadExist(), simpleGetSlope(), funct::sin(), SeedingHitSet::size(), mathSSE::sqrt(), contentValuesCheck::ss, theComparitor, Quad::x, x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
double SeedForPhotonConversionFromQuadruplets::verySimpleFit | ( | int | size, |
double * | ax, | ||
double * | ay, | ||
double * | e2y, | ||
double & | p0, | ||
double & | e2p0, | ||
double & | p1 | ||
) |
Definition at line 1041 of file SeedForPhotonConversionFromQuadruplets.cc.
Referenced by simpleGetSlope().
|
mutableprotected |
Definition at line 110 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by buildSeedBool(), and refitHit().
|
static |
Definition at line 22 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by initialKinematic().
|
protected |
Definition at line 107 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by DeltaPhiManual(), and trajectorySeed().
|
protected |
Definition at line 113 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by buildSeed(), and initialKinematic().
|
protected |
Definition at line 112 of file SeedForPhotonConversionFromQuadruplets.h.
|
protected |
Definition at line 106 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by initialKinematic().
|
protected |
Definition at line 114 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by SeedForPhotonConversionFromQuadruplets(), and trajectorySeed().
|
protected |
Definition at line 105 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by buildSeed(), and buildSeedBool().