#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 |
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | theBfieldToken |
double | theBOFFMomentum |
std::unique_ptr< SeedComparitor > | theComparitor |
edm::ESGetToken< Propagator, TrackingComponentsRecord > | thePropagatorToken |
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | theTrackerToken |
edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > | theTTRHBuilderToken |
Definition at line 22 of file SeedForPhotonConversionFromQuadruplets.h.
SeedForPhotonConversionFromQuadruplets::SeedForPhotonConversionFromQuadruplets | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC, | ||
const edm::ParameterSet & | SeedComparitorPSet | ||
) |
Definition at line 38 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 46 of file SeedForPhotonConversionFromQuadruplets.cc.
References get, HLT_2023v12_cff::SeedComparitorPSet, AlCaHLTBitMon_QueryRunRegistry::string, and theComparitor.
SeedForPhotonConversionFromQuadruplets::~SeedForPhotonConversionFromQuadruplets | ( | ) |
Definition at line 62 of file SeedForPhotonConversionFromQuadruplets.cc.
void SeedForPhotonConversionFromQuadruplets::bubbleReverseSortVsPhi | ( | GlobalPoint | arr[], |
int | n, | ||
GlobalPoint | vtx | ||
) |
Definition at line 954 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 936 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 690 of file SeedForPhotonConversionFromQuadruplets.cc.
References alongMomentum, edm::EventSetup::getData(), hfClusterShapes_cfi::hits, BaseTrackerRecHit::localPosition(), trajectoryStateTransform::persistentState(), po, PrintRecoObjects::print(), TrackCandidateProducer_cfi::propagator, edm::OwnVector< T, P >::push_back(), refitHit(), ElectronSeedTrackRefFix_cfi::seedCollection, thePropagatorToken, theTrackerToken, PbPb_ZMuSkimMuonDPG_cff::tracker, and HLT_2023v12_cff::updator.
Referenced by trajectorySeed().
|
protected |
Implement here the dz cut:::
Definition at line 743 of file SeedForPhotonConversionFromQuadruplets.cc.
References checkHit(), TrackingRecHit::clone(), gather_cfg::cout, MillePedeFileConverter_cfg::e, edm::EventSetup::getData(), 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_2023v12_cff::region, mathSSE::sqrt(), theBfieldToken, thePropagatorToken, theTrackerToken, PbPb_ZMuSkimMuonDPG_cff::tracker, TrajectoryStateClosestToBeamLine::trackStateAtPCA(), reco::BeamSpot::Unknown, HLT_2023v12_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 70 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by buildSeedBool().
|
protected |
Definition at line 1062 of file SeedForPhotonConversionFromQuadruplets.cc.
References kPI_.
Referenced by trajectorySeed().
double SeedForPhotonConversionFromQuadruplets::getSqrEffectiveErrorOnZ | ( | const SeedingHitSet::ConstRecHitPointer & | hit, |
const TrackingRegion & | region | ||
) |
Definition at line 1020 of file SeedForPhotonConversionFromQuadruplets.cc.
References HLT_2023v12_cff::region, sqr(), and hit::z.
Referenced by simpleGetSlope(), and trajectorySeed().
|
protected |
Definition at line 667 of file SeedForPhotonConversionFromQuadruplets.cc.
References correctionTermsCaloMet_cff::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 617 of file SeedForPhotonConversionFromQuadruplets.cc.
References GlobalTrajectoryParameters::charge(), cotTheta_Max, edm::EventSetup::getData(), hfClusterShapes_cfi::hits, GlobalTrajectoryParameters::magneticField(), GlobalTrajectoryParameters::momentum(), PV3DBase< T, PVType, FrameType >::perp(), po, GlobalTrajectoryParameters::position(), PrintRecoObjects::print(), theBfieldToken, theBOFFMomentum, GlobalTrajectoryParameters::transverseCurvature(), Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
protected |
Definition at line 894 of file SeedForPhotonConversionFromQuadruplets.cc.
References cloner.
Referenced by buildSeed(), and buildSeedBool().
|
protected |
Definition at line 1031 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 972 of file SeedForPhotonConversionFromQuadruplets.cc.
References hltPixelTracks_cff::chi2, getSqrEffectiveErrorOnZ(), HLT_2023v12_cff::region, sqr(), verySimpleFit(), x, y, and HLTMuonOfflineAnalyzer_cfi::z0.
Referenced by trajectorySeed().
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | std::string | s, |
float * | d | ||
) |
Definition at line 910 of file SeedForPhotonConversionFromQuadruplets.cc.
References ztail::d, mps_fire::i, and alignCSCRings::s.
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | std::string | s, |
double * | d | ||
) |
Definition at line 916 of file SeedForPhotonConversionFromQuadruplets.cc.
References ztail::d, mps_fire::i, and alignCSCRings::s.
void SeedForPhotonConversionFromQuadruplets::stupidPrint | ( | const char * | s, |
GlobalPoint * | d | ||
) |
Definition at line 922 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 928 of file SeedForPhotonConversionFromQuadruplets.cc.
References ztail::d, mps_fire::i, dqmiodumpmetadata::n, 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 64 of file SeedForPhotonConversionFromQuadruplets.cc.
References funct::abs(), B, buildSeed(), buildSeedBool(), correctionTermsCaloMet_cff::C, hltPixelTracks_cff::chi2, cloner, runTheMatrix::const, Conv4HitsReco2::ConversionCandidate(), funct::cos(), gather_cfg::cout, ztail::d, DeltaPhiManual(), Conv4HitsReco2::Dump(), makeMEIFBenchmarkPlots::ev, edm::EventSetup::getData(), getSqrEffectiveErrorOnZ(), initialError(), listHistos::IP, dqmdumpme::k, kPI_, VtxSmearedParameters_cfi::Phi, phits, ptmin, PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::QuadCutPSet, HLT_2023v12_cff::region, PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::rejectAllQuads, photonAnalyzer_cfi::rMax, ElectronSeedTrackRefFix_cfi::seedCollection, Conv4HitsReco2::SetMaxNumberOfIterations(), similarQuadExist(), simpleGetSlope(), funct::sin(), SeedingHitSet::size(), mathSSE::sqrt(), contentValuesCheck::ss, theBfieldToken, theComparitor, theTTRHBuilderToken, 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 1014 of file SeedForPhotonConversionFromQuadruplets.cc.
Referenced by simpleGetSlope().
|
protected |
Definition at line 114 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by refitHit(), and trajectorySeed().
|
static |
Definition at line 24 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by initialKinematic().
|
protected |
Definition at line 111 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by DeltaPhiManual(), and trajectorySeed().
|
protected |
Definition at line 117 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by buildSeed(), and initialKinematic().
|
protected |
Definition at line 116 of file SeedForPhotonConversionFromQuadruplets.h.
|
protected |
Definition at line 106 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by buildSeedBool(), initialKinematic(), and trajectorySeed().
|
protected |
Definition at line 110 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by initialKinematic().
|
protected |
Definition at line 118 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by SeedForPhotonConversionFromQuadruplets(), and trajectorySeed().
|
protected |
Definition at line 109 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by buildSeed(), and buildSeedBool().
|
protected |
Definition at line 108 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by buildSeed(), and buildSeedBool().
|
protected |
Definition at line 107 of file SeedForPhotonConversionFromQuadruplets.h.
Referenced by trajectorySeed().