#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 984 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 965 of file SeedForPhotonConversionFromQuadruplets.cc.
References barePhi(), bubbleReverseSortVsPhi(), reco::deltaPhi(), mps_fire::i, and tmp.
Referenced by stupidPrint().
|
protected |
Definition at line 689 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, mixOne_simraw_on_sim_cfi::tracker, KFUpdator::update(), TrackInfoProducer_cfi::updatedState, and gsfElectronCkfTrackCandidateMaker_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, 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(), edm::ESHandle< T >::product(), Propagator::propagate(), PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, edm::OwnVector< T, P >::push_back(), refitHit(), SeedingHitSet::size(), mathSSE::sqrt(), thePropagatorLabel, mixOne_simraw_on_sim_cfi::tracker, TrajectoryStateClosestToBeamLine::trackStateAtPCA(), LaserSeedGenerator_cfi::TTRHBuilder, 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 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(), sqr(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by simpleGetSlope(), and trajectorySeed().
|
protected |
Definition at line 660 of file SeedForPhotonConversionFromQuadruplets.cc.
References patCaloMETCorrections_cff::C, GlobalErrorBase< T, ErrorWeightType >::cxx(), GlobalErrorBase< T, ErrorWeightType >::czz(), hpstanc_transforms::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 601 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 916 of file SeedForPhotonConversionFromQuadruplets.cc.
References cloner, and stupidPrint().
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 HiEvtPlane_cfi::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 935 of file SeedForPhotonConversionFromQuadruplets.cc.
References mps_fire::i.
Referenced by refitHit(), and stupidPrint().
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | std::string | s, |
double * | d | ||
) |
Definition at line 942 of file SeedForPhotonConversionFromQuadruplets.cc.
References mps_fire::i, and stupidPrint().
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | const char * | s, |
GlobalPoint * | d | ||
) |
Definition at line 949 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 956 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, HiEvtPlane_cfi::chi2, 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, TrackingRegion::ptMin(), ptmin, PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::rejectAllQuads, conversionPostprocessing_cfi::rMax, Conv4HitsReco2::SetMaxNumberOfIterations(), similarQuadExist(), simpleGetSlope(), funct::sin(), SeedingHitSet::size(), mathSSE::sqrt(), 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().