#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 z2minB, float z2maxB, float r2minF, float r2maxF, float rMinI, 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 (const MagneticField *, const TrackerGeometry *trackerGeometry) |
Private Attributes | |
BarrelMeasurementEstimator | meas1stBLayer |
ForwardMeasurementEstimator | meas1stFLayer |
BarrelMeasurementEstimator | meas2ndBLayer |
ForwardMeasurementEstimator | meas2ndFLayer |
std::unique_ptr< PropagatorWithMaterial > | prop1stLayer |
std::unique_ptr< PropagatorWithMaterial > | prop2ndLayer |
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 | z2minB, | ||
float | z2maxB, | ||
float | r2minF, | ||
float | r2maxF, | ||
float | rMinI, | ||
float | rMaxI, | ||
bool | useRecoVertex | ||
) |
Definition at line 61 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 112 of file PixelHitMatcher.cc.
References funct::cos(), TrackerGeometry::dets(), HLT_2018_cff::distance, dt, GeomDet::gdetIndex(), FTSFromVertexToPointFactory::get(), hcalSimParameters_cfi::he, hfClusterShapes_cfi::hits, mps_fire::i, globals_cff::id1, globals_cff::id2, meas1stBLayer, meas1stFLayer, meas2ndBLayer, meas2ndFLayer, FreeTrajectoryState::momentum(), PV3DBase< T, PVType, FrameType >::perp(), FreeTrajectoryState::position(), prop1stLayer, prop2ndLayer, mps_fire::result, SimDataFormats::CaloAnalysis::sc, SurveyInfoScenario_cff::seed, mathSSE::sqrt(), DetId::subdetId(), 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 83 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 90 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 97 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 | ( | const MagneticField * | magField, |
const TrackerGeometry * | trackerGeometry | ||
) |
Definition at line 104 of file PixelHitMatcher.cc.
References alongMomentum, EgHLTOffHistBins_cfi::mass, oppositeToMomentum, prop1stLayer, prop2ndLayer, theMagField, and theTrackerGeometry.
Referenced by ElectronSeedGenerator::setupES().
|
private |
Definition at line 93 of file PixelHitMatcher.h.
Referenced by operator()(), set1stLayer(), and set1stLayerZRange().
|
private |
Definition at line 95 of file PixelHitMatcher.h.
Referenced by operator()(), set1stLayer(), and set1stLayerZRange().
|
private |
Definition at line 94 of file PixelHitMatcher.h.
Referenced by operator()(), and set2ndLayer().
|
private |
Definition at line 96 of file PixelHitMatcher.h.
Referenced by operator()(), and set2ndLayer().
|
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()(), and setES().
|
private |
Definition at line 99 of file PixelHitMatcher.h.
Referenced by operator()(), and setES().
|
private |
Definition at line 100 of file PixelHitMatcher.h.
Referenced by operator()(), and setES().
|
private |
Definition at line 101 of file PixelHitMatcher.h.
Referenced by operator()().