#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 beamerCreator::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 983 of file SeedForPhotonConversionFromQuadruplets.cc.
References barePhi(), reco::deltaPhi(), mps_fire::i, simpleGetSlope(), and tmp.
Referenced by bubbleSortVsPhi().
void SeedForPhotonConversionFromQuadruplets::bubbleSortVsPhi | ( | GlobalPoint | arr[], |
int | n, | ||
GlobalPoint | vtx | ||
) |
Definition at line 964 of file SeedForPhotonConversionFromQuadruplets.cc.
References barePhi(), bubbleReverseSortVsPhi(), reco::deltaPhi(), mps_fire::i, and tmp.
Referenced by stupidPrint().
|
protected |
Definition at line 695 of file SeedForPhotonConversionFromQuadruplets.cc.
References alongMomentum, TrackingRecHit::geographicalId(), edm::EventSetup::get(), TrajectoryStateOnSurface::globalMomentum(), TrackerGeometry::idToDet(), BaseTrackerRecHit::localPosition(), TrackingRecHit::localPosition(), PV3DBase< T, PVType, FrameType >::perp(), trajectoryStateTransform::persistentState(), po, PrintRecoObjects::print(), Propagator::propagate(), PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, edm::OwnVector< T, P >::push_back(), DetId::rawId(), refitHit(), SeedingHitSet::size(), thePropagatorLabel, trackingTruthProducer_cfi::tracker, KFUpdator::update(), TrackInfoProducer_cfi::updatedState, and gsfElectronCkfTrackCandidateMaker_cff::updator.
Referenced by trajectorySeed().
|
protected |
Implement here the dz cut:::
Definition at line 757 of file SeedForPhotonConversionFromQuadruplets.cc.
References checkHit(), TrackingRecHit::clone(), gather_cfg::cout, MillePedeFileConverter_cfg::e, TrackingRecHit::geographicalId(), edm::EventSetup::get(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), BaseTrackerRecHit::hit(), mps_fire::i, TrackerGeometry::idToDet(), TrajectoryStateClosestToBeamLine::isValid(), TrajectoryStateOnSurface::isValid(), TrackingRegion::origin(), FreeTrajectoryState::position(), Propagator::propagate(), PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, edm::OwnVector< T, P >::push_back(), refitHit(), SeedingHitSet::size(), mathSSE::sqrt(), thePropagatorLabel, trackingTruthProducer_cfi::tracker, TrajectoryStateClosestToBeamLine::trackStateAtPCA(), reco::BeamSpot::Unknown, KFUpdator::update(), TrackInfoProducer_cfi::updatedState, gsfElectronCkfTrackCandidateMaker_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.
References hfClusterShapes_cfi::hits, and ALCARECOTkAlBeamHalo_cff::ptMin.
Referenced by buildSeedBool().
|
protected |
Definition at line 1094 of file SeedForPhotonConversionFromQuadruplets.cc.
References kPI_.
Referenced by trajectorySeed().
double SeedForPhotonConversionFromQuadruplets::getSqrEffectiveErrorOnZ | ( | const SeedingHitSet::ConstRecHitPointer & | hit, |
const TrackingRegion & | region | ||
) |
Definition at line 1046 of file SeedForPhotonConversionFromQuadruplets.cc.
References TrackingRegion::origin(), PV3DBase< T, PVType, FrameType >::perp(), sqr(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by simpleGetSlope(), and trajectorySeed().
|
protected |
Definition at line 666 of file SeedForPhotonConversionFromQuadruplets.cc.
References patCaloMETCorrections_cff::C, GlobalErrorBase< T, ErrorWeightType >::cxx(), GlobalErrorBase< T, ErrorWeightType >::czz(), SiStripPI::max, sqr(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by initialKinematic(), and trajectorySeed().
|
protected |
Definition at line 607 of file SeedForPhotonConversionFromQuadruplets.cc.
References GlobalTrajectoryParameters::charge(), cotTheta_Max, edm::EventSetup::get(), initialError(), GlobalTrajectoryParameters::magneticField(), GlobalTrajectoryParameters::momentum(), MagneticField::nominalValue(), 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 915 of file SeedForPhotonConversionFromQuadruplets.cc.
References cloner, and stupidPrint().
Referenced by buildSeed(), and buildSeedBool().
|
protected |
Definition at line 1057 of file SeedForPhotonConversionFromQuadruplets.cc.
References PVValHelper::dx, PVValHelper::dy, 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 1003 of file SeedForPhotonConversionFromQuadruplets.cc.
References vertices_cff::chi2, getSqrEffectiveErrorOnZ(), TrackingRegion::origin(), TrackingRegion::originZBound(), PV3DBase< T, PVType, FrameType >::perp(), sqr(), verySimpleFit(), x, y, and PV3DBase< T, PVType, FrameType >::z().
Referenced by bubbleReverseSortVsPhi(), and trajectorySeed().
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | std::string | s, |
float * | d | ||
) |
Definition at line 934 of file SeedForPhotonConversionFromQuadruplets.cc.
References mps_fire::i.
Referenced by refitHit(), and stupidPrint().
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | std::string | s, |
double * | d | ||
) |
Definition at line 941 of file SeedForPhotonConversionFromQuadruplets.cc.
References mps_fire::i, and stupidPrint().
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | const char * | s, |
GlobalPoint * | d | ||
) |
Definition at line 948 of file SeedForPhotonConversionFromQuadruplets.cc.
References mps_fire::i, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), and stupidPrint().
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | const char * | s, |
GlobalPoint * | d, | ||
int | n | ||
) |
Definition at line 955 of file SeedForPhotonConversionFromQuadruplets.cc.
References bubbleSortVsPhi(), mps_fire::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(), TtFullHadDaughter::B, buildSeed(), buildSeedBool(), patCaloMETCorrections_cff::C, vertices_cff::chi2, cloner, Conv4HitsReco2::ConversionCandidate(), funct::cos(), gather_cfg::cout, edmIntegrityCheck::d, DeltaPhiManual(), Conv4HitsReco2::Dump(), edm::EventSetup::get(), edm::ParameterSet::getParameter(), getSqrEffectiveErrorOnZ(), initialError(), MagneticField::inTesla(), listHistos::IP, gen::k, kPI_, MagneticField::nominalValue(), TrackingRegion::origin(), TrackingRegion::originRBound(), TrackingRegion::originZBound(), colinearityKinematic::Phi, edm::ESHandle< T >::product(), TrackingRegion::ptMin(), ptmin, PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::rejectAllQuads, conversionPostprocessing_cfi::rMax, Conv4HitsReco2::SetMaxNumberOfIterations(), similarQuadExist(), simpleGetSlope(), funct::sin(), SeedingHitSet::size(), mathSSE::sqrt(), theComparitor, LaserSeedGenerator_cfi::TTRHBuilder, 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 1040 of file SeedForPhotonConversionFromQuadruplets.cc.
Referenced by simpleGetSlope().
|
protected |
Definition at line 110 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by refitHit(), and trajectorySeed().
|
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().