#include <PixelHitMatcher.h>
Classes | |
struct | BarrelMeasurementEstimator |
struct | ForwardMeasurementEstimator |
Public Member Functions | |
std::vector< SeedWithInfo > | operator() (const std::vector< const TrajectorySeedCollection *> &seedsV, const GlobalPoint &xmeas, const GlobalPoint &vprim, float energy, int charge) const |
PixelHitMatcher (float phi1min, float phi1max, float phi2minB, float phi2maxB, float phi2minF, float phi2maxF, float z2maxB, float r2maxF, float rMaxI, bool useRecoVertex) | |
void | set1stLayer (float dummyphi1min, float dummyphi1max) |
void | set1stLayerZRange (float zmin1, float zmax1) |
void | set2ndLayer (float dummyphi2minB, float dummyphi2maxB, float dummyphi2minF, float dummyphi2maxF) |
void | setES (MagneticField const &, TrackerGeometry const &trackerGeometry) |
Private Attributes | |
BarrelMeasurementEstimator | meas1stBLayer |
ForwardMeasurementEstimator | meas1stFLayer |
BarrelMeasurementEstimator | meas2ndBLayer |
ForwardMeasurementEstimator | meas2ndFLayer |
std::unique_ptr< PropagatorWithMaterial > | prop1stLayer = nullptr |
std::unique_ptr< PropagatorWithMaterial > | prop2ndLayer = nullptr |
const MagneticField * | theMagField |
const TrackerGeometry * | theTrackerGeometry |
const bool | useRecoVertex_ |
Description: Class to match an ECAL cluster to the pixel hits. Two compatible hits in the pixel layers are required.
Implementation: future redesign
Definition at line 44 of file PixelHitMatcher.h.
PixelHitMatcher::PixelHitMatcher | ( | float | phi1min, |
float | phi1max, | ||
float | phi2minB, | ||
float | phi2maxB, | ||
float | phi2minF, | ||
float | phi2maxF, | ||
float | z2maxB, | ||
float | r2maxF, | ||
float | rMaxI, | ||
bool | useRecoVertex | ||
) |
Definition at line 63 of file PixelHitMatcher.cc.
std::vector< SeedWithInfo > PixelHitMatcher::operator() | ( | const std::vector< const TrajectorySeedCollection *> & | seedsV, |
const GlobalPoint & | xmeas, | ||
const GlobalPoint & | vprim, | ||
float | energy, | ||
int | charge | ||
) | const |
Definition at line 109 of file PixelHitMatcher.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, funct::cos(), TrackerGeometry::dets(), HLT_2022v12_cff::distance, dt, HCALHighEnergyHPDFilter_cfi::energy, trackingTools::ftsFromVertexToPoint(), GeomDet::gdetIndex(), hcalSimParameters_cfi::he, hfClusterShapes_cfi::hits, mps_fire::i, globals_cff::id1, globals_cff::id2, meas1stBLayer, meas1stFLayer, meas2ndBLayer, meas2ndFLayer, PV3DBase< T, PVType, FrameType >::perp(), prop1stLayer, prop2ndLayer, mps_fire::result, fileCollector::seed, DetachedQuadStep_cff::seeds, mathSSE::sqrt(), GeomDet::surface(), theMagField, theTrackerGeometry, useRecoVertex_, bphysicsOniaDQM_cfi::vertex, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and HLT_FULL_cff::zVertex.
void PixelHitMatcher::set1stLayer | ( | float | dummyphi1min, |
float | dummyphi1max | ||
) |
Definition at line 80 of file PixelHitMatcher.cc.
References meas1stBLayer, meas1stFLayer, PixelHitMatcher::BarrelMeasurementEstimator::thePhiMax, PixelHitMatcher::ForwardMeasurementEstimator::thePhiMax, PixelHitMatcher::BarrelMeasurementEstimator::thePhiMin, and PixelHitMatcher::ForwardMeasurementEstimator::thePhiMin.
Referenced by ElectronSeedGenerator::seedsFromThisCluster().
void PixelHitMatcher::set1stLayerZRange | ( | float | zmin1, |
float | zmax1 | ||
) |
Definition at line 87 of file PixelHitMatcher.cc.
References meas1stBLayer, meas1stFLayer, PixelHitMatcher::ForwardMeasurementEstimator::theRMax, PixelHitMatcher::ForwardMeasurementEstimator::theRMin, PixelHitMatcher::BarrelMeasurementEstimator::theZMax, and PixelHitMatcher::BarrelMeasurementEstimator::theZMin.
Referenced by ElectronSeedGenerator::seedsFromThisCluster().
void PixelHitMatcher::set2ndLayer | ( | float | dummyphi2minB, |
float | dummyphi2maxB, | ||
float | dummyphi2minF, | ||
float | dummyphi2maxF | ||
) |
Definition at line 94 of file PixelHitMatcher.cc.
References meas2ndBLayer, meas2ndFLayer, PixelHitMatcher::BarrelMeasurementEstimator::thePhiMax, PixelHitMatcher::ForwardMeasurementEstimator::thePhiMax, PixelHitMatcher::BarrelMeasurementEstimator::thePhiMin, and PixelHitMatcher::ForwardMeasurementEstimator::thePhiMin.
Referenced by ElectronSeedGenerator::seedsFromThisCluster().
void PixelHitMatcher::setES | ( | MagneticField const & | magField, |
TrackerGeometry const & | trackerGeometry | ||
) |
Definition at line 101 of file PixelHitMatcher.cc.
References alongMomentum, EgHLTOffHistBins_cfi::mass, oppositeToMomentum, prop1stLayer, prop2ndLayer, theMagField, and theTrackerGeometry.
Referenced by ElectronSeedGenerator::setupES().
|
private |
Definition at line 90 of file PixelHitMatcher.h.
Referenced by operator()(), set1stLayer(), and set1stLayerZRange().
|
private |
Definition at line 92 of file PixelHitMatcher.h.
Referenced by operator()(), set1stLayer(), and set1stLayerZRange().
|
private |
Definition at line 91 of file PixelHitMatcher.h.
Referenced by operator()(), and set2ndLayer().
|
private |
Definition at line 93 of file PixelHitMatcher.h.
Referenced by operator()(), and set2ndLayer().
|
private |
Definition at line 94 of file PixelHitMatcher.h.
Referenced by operator()(), and setES().
|
private |
Definition at line 95 of file PixelHitMatcher.h.
Referenced by operator()(), and setES().
|
private |
Definition at line 96 of file PixelHitMatcher.h.
Referenced by operator()(), and setES().
|
private |
Definition at line 97 of file PixelHitMatcher.h.
Referenced by operator()(), and setES().
|
private |
Definition at line 98 of file PixelHitMatcher.h.
Referenced by operator()().