#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 (const char *s, GlobalPoint *d) |
void | stupidPrint (const char *s, GlobalPoint *d, int n) |
void | stupidPrint (std::string s, double *d) |
void | stupidPrint (std::string s, float *d) |
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 39 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 47 of file SeedForPhotonConversionFromQuadruplets.cc.
References get, HLT_FULL_cff::SeedComparitorPSet, AlCaHLTBitMon_QueryRunRegistry::string, and theComparitor.
SeedForPhotonConversionFromQuadruplets::~SeedForPhotonConversionFromQuadruplets | ( | ) |
Definition at line 59 of file SeedForPhotonConversionFromQuadruplets.cc.
void SeedForPhotonConversionFromQuadruplets::bubbleReverseSortVsPhi | ( | GlobalPoint | arr[], |
int | n, | ||
GlobalPoint | vtx | ||
) |
Definition at line 965 of file SeedForPhotonConversionFromQuadruplets.cc.
References barePhi(), reco::deltaPhi(), mps_fire::i, dqmiolumiharvest::j, dqmiodumpmetadata::n, createJobs::tmp, and extraflags_cff::vtx.
void SeedForPhotonConversionFromQuadruplets::bubbleSortVsPhi | ( | GlobalPoint | arr[], |
int | n, | ||
GlobalPoint | vtx | ||
) |
Definition at line 947 of file SeedForPhotonConversionFromQuadruplets.cc.
References barePhi(), reco::deltaPhi(), mps_fire::i, dqmiolumiharvest::j, dqmiodumpmetadata::n, createJobs::tmp, and extraflags_cff::vtx.
|
protected |
Definition at line 693 of file SeedForPhotonConversionFromQuadruplets.cc.
References alongMomentum, edm::EventSetup::get(), get, hfClusterShapes_cfi::hits, BaseTrackerRecHit::localPosition(), trajectoryStateTransform::persistentState(), po, PrintRecoObjects::print(), TrackCandidateProducer_cfi::propagator, edm::OwnVector< T, P >::push_back(), refitHit(), ElectronSeedTrackRefFix_cfi::seedCollection, thePropagatorLabel, PbPb_ZMuSkimMuonDPG_cff::tracker, and HLT_FULL_cff::updator.
Referenced by trajectorySeed().
|
protected |
Implement here the dz cut:::
Definition at line 749 of file SeedForPhotonConversionFromQuadruplets.cc.
References checkHit(), TrackingRecHit::clone(), gather_cfg::cout, MillePedeFileConverter_cfg::e, edm::EventSetup::get(), get, TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), BaseTrackerRecHit::hit(), hfClusterShapes_cfi::hits, mps_fire::i, TrajectoryStateClosestToBeamLine::isValid(), TrajectoryStateOnSurface::isValid(), dqmiolumiharvest::j, FreeTrajectoryState::position(), TrackCandidateProducer_cfi::propagator, edm::OwnVector< T, P >::push_back(), refitHit(), HLT_FULL_cff::region, mathSSE::sqrt(), thePropagatorLabel, PbPb_ZMuSkimMuonDPG_cff::tracker, TrajectoryStateClosestToBeamLine::trackStateAtPCA(), reco::BeamSpot::Unknown, 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 68 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by buildSeedBool().
|
protected |
Definition at line 1073 of file SeedForPhotonConversionFromQuadruplets.cc.
References kPI_.
Referenced by trajectorySeed().
double SeedForPhotonConversionFromQuadruplets::getSqrEffectiveErrorOnZ | ( | const SeedingHitSet::ConstRecHitPointer & | hit, |
const TrackingRegion & | region | ||
) |
Definition at line 1031 of file SeedForPhotonConversionFromQuadruplets.cc.
References HLT_FULL_cff::region, sqr(), and hit::z.
Referenced by simpleGetSlope(), and trajectorySeed().
|
protected |
Definition at line 670 of file SeedForPhotonConversionFromQuadruplets.cc.
References gen::C, GlobalErrorBase< T, ErrorWeightType >::cxx(), GlobalErrorBase< T, ErrorWeightType >::czz(), SiStripPI::max, ptMin, sqr(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by trajectorySeed().
|
protected |
Definition at line 619 of file SeedForPhotonConversionFromQuadruplets.cc.
References GlobalTrajectoryParameters::charge(), cotTheta_Max, edm::EventSetup::get(), get, hfClusterShapes_cfi::hits, 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 905 of file SeedForPhotonConversionFromQuadruplets.cc.
References cloner.
Referenced by buildSeed(), and buildSeedBool().
|
protected |
Definition at line 1042 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 983 of file SeedForPhotonConversionFromQuadruplets.cc.
References hltPixelTracks_cff::chi2, getSqrEffectiveErrorOnZ(), HLT_FULL_cff::region, sqr(), verySimpleFit(), x, y, and HLTMuonOfflineAnalyzer_cfi::z0.
Referenced by trajectorySeed().
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | const char * | s, |
GlobalPoint * | d | ||
) |
Definition at line 933 of file SeedForPhotonConversionFromQuadruplets.cc.
References ztail::d, mps_fire::i, and alignCSCRings::s.
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | const char * | s, |
GlobalPoint * | d, | ||
int | n | ||
) |
Definition at line 939 of file SeedForPhotonConversionFromQuadruplets.cc.
References ztail::d, mps_fire::i, dqmiodumpmetadata::n, and alignCSCRings::s.
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | std::string | s, |
double * | d | ||
) |
Definition at line 927 of file SeedForPhotonConversionFromQuadruplets.cc.
References ztail::d, mps_fire::i, and alignCSCRings::s.
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | std::string | s, |
float * | d | ||
) |
Definition at line 921 of file SeedForPhotonConversionFromQuadruplets.cc.
References ztail::d, mps_fire::i, and alignCSCRings::s.
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 61 of file SeedForPhotonConversionFromQuadruplets.cc.
References funct::abs(), TtFullHadDaughter::B, buildSeed(), buildSeedBool(), gen::C, hltPixelTracks_cff::chi2, cloner, Conv4HitsReco2::ConversionCandidate(), funct::cos(), gather_cfg::cout, ztail::d, DeltaPhiManual(), Conv4HitsReco2::Dump(), ev, edm::EventSetup::get(), get, getSqrEffectiveErrorOnZ(), initialError(), MagneticField::inTesla(), listHistos::IP, dqmdumpme::k, kPI_, MagneticField::nominalValue(), VtxSmearedParameters_cfi::Phi, phits, edm::ESHandle< T >::product(), ptmin, PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::QuadCutPSet, HLT_FULL_cff::region, PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::rejectAllQuads, photonAnalyzer_cfi::rMax, ElectronSeedTrackRefFix_cfi::seedCollection, Conv4HitsReco2::SetMaxNumberOfIterations(), similarQuadExist(), simpleGetSlope(), funct::sin(), SeedingHitSet::size(), mathSSE::sqrt(), contentValuesCheck::ss, 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 1025 of file SeedForPhotonConversionFromQuadruplets.cc.
Referenced by simpleGetSlope().
|
protected |
Definition at line 109 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 106 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by DeltaPhiManual(), and trajectorySeed().
|
protected |
Definition at line 112 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by buildSeed(), and initialKinematic().
|
protected |
Definition at line 111 of file SeedForPhotonConversionFromQuadruplets.h.
|
protected |
Definition at line 105 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by initialKinematic().
|
protected |
Definition at line 113 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by SeedForPhotonConversionFromQuadruplets(), and trajectorySeed().
|
protected |
Definition at line 104 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by buildSeed(), and buildSeedBool().