#include <FastPixelHitMatcher.h>
Public Types | |
typedef TransientTrackingRecHit::ConstRecHitPointer | ConstRecHitPointer |
typedef TransientTrackingRecHit::RecHitContainer | RecHitContainer |
typedef TransientTrackingRecHit::RecHitPointer | RecHitPointer |
Public Member Functions | |
bool | checkRZCompatibility (double zCluster, double rCluster, double zVertex, float rzMin, float rzMax, GlobalPoint &theHit, bool forward) |
std::vector< std::pair < ConstRecHitPointer, ConstRecHitPointer > > | compatibleHits (const GlobalPoint &xmeas, const GlobalPoint &vprim, float energy, std::vector< TrackerRecHit > &theHits) |
FastPixelHitMatcher (float, float, float, float, float, float, float, float, float, float, float, float, bool) | |
double | getVertex () |
bool | isASeed (const ParticlePropagator &myElec, const ParticlePropagator &myPosi, const GlobalPoint &theVertex, double rCluster, double zCluster, const TrackerRecHit &hit1, const TrackerRecHit &hit2) |
bool | propagateToLayer (ParticlePropagator &myPart, const GlobalPoint &theVertex, GlobalPoint &theHit, double phimin, double phimax, unsigned layer) |
void | set1stLayer (float ephimin, float ephimax, float pphimin, float pphimax) |
void | set1stLayerZRange (double zmin1, double zmax1) |
void | set2ndLayer (float phimin, float phimax) |
void | setES (const MagneticFieldMap *aFieldMap, const TrackerGeometry *aTrackerGeometry, const GeometricSearchTracker *geomSearchTracker, const TrackerInteractionGeometry *interactionGeometry) |
double | zVertex (double zCluster, double rCluster, GlobalPoint &theHit) |
virtual | ~FastPixelHitMatcher () |
Private Attributes | |
const TrackerInteractionGeometry * | _theGeometry |
float | ephi1max |
float | ephi1min |
RecHitContainer | hitsInTrack |
float | phi2max |
float | phi2min |
float | pphi1max |
float | pphi1min |
float | r2maxF |
float | r2minF |
float | rMaxI |
float | rMinI |
bool | searchInTIDTEC |
const MagneticFieldMap * | theFieldMap |
const GeometricSearchTracker * | theGeomSearchTracker |
const MagneticField * | theMagneticField |
std::vector< const TrackerLayer * > | thePixelLayers |
const TrackerGeometry * | theTrackerGeometry |
double | vertex |
float | z1max |
float | z1min |
float | z2maxB |
float | z2minB |
Description: central class for finding compatible hits
Implementation: <Notes on="" implementation>="">
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 38 of file FastPixelHitMatcher.h.
Definition at line 42 of file FastPixelHitMatcher.h.
Definition at line 44 of file FastPixelHitMatcher.h.
Definition at line 43 of file FastPixelHitMatcher.h.
FastPixelHitMatcher::FastPixelHitMatcher | ( | float | ephi1min, |
float | ephi1max, | ||
float | pphi1min, | ||
float | pphi1max, | ||
float | phi2min, | ||
float | phi2max, | ||
float | z2minB, | ||
float | z2maxB, | ||
float | r2minF, | ||
float | r2maxF, | ||
float | rMinI, | ||
float | rMaxI, | ||
bool | searchInTIDTEC | ||
) |
Definition at line 30 of file FastPixelHitMatcher.cc.
|
virtual |
Definition at line 51 of file FastPixelHitMatcher.cc.
bool FastPixelHitMatcher::checkRZCompatibility | ( | double | zCluster, |
double | rCluster, | ||
double | zVertex, | ||
float | rzMin, | ||
float | rzMax, | ||
GlobalPoint & | theHit, | ||
bool | forward | ||
) |
Definition at line 321 of file FastPixelHitMatcher.cc.
References PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::z(), and zVertex().
Referenced by isASeed().
std::vector< std::pair< FastPixelHitMatcher::ConstRecHitPointer, FastPixelHitMatcher::ConstRecHitPointer > > FastPixelHitMatcher::compatibleHits | ( | const GlobalPoint & | xmeas, |
const GlobalPoint & | vprim, | ||
float | energy, | ||
std::vector< TrackerRecHit > & | theHits | ||
) |
Definition at line 81 of file FastPixelHitMatcher.cc.
References GenericTransientTrackingRecHit::build(), gather_cfg::cout, isASeed(), PV3DBase< T, PVType, FrameType >::mag(), PV3DBase< T, PVType, FrameType >::perp(), ParticlePropagator::propagateToNominalVertex(), query::result, theFieldMap, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by FastElectronSeedGenerator::addASeedToThisCluster().
|
inline |
Definition at line 62 of file FastPixelHitMatcher.h.
References vertex.
Referenced by FastElectronSeedGenerator::addASeedToThisCluster().
bool FastPixelHitMatcher::isASeed | ( | const ParticlePropagator & | myElec, |
const ParticlePropagator & | myPosi, | ||
const GlobalPoint & | theVertex, | ||
double | rCluster, | ||
double | zCluster, | ||
const TrackerRecHit & | hit1, | ||
const TrackerRecHit & | hit2 | ||
) |
Definition at line 151 of file FastPixelHitMatcher.cc.
References checkRZCompatibility(), gather_cfg::cout, TrackerRecHit::cylinderNumber(), ephi1max, ephi1min, TrackerRecHit::globalPosition(), TrackerRecHit::isOnTheSameLayer(), phi2max, phi2min, pphi1max, pphi1min, propagateToLayer(), r2maxF, r2minF, rMaxI, rMinI, TrackerRecHit::subDetId(), vertex, z1max, z1min, z2maxB, z2minB, and zVertex().
Referenced by compatibleHits().
bool FastPixelHitMatcher::propagateToLayer | ( | ParticlePropagator & | myPart, |
const GlobalPoint & | theVertex, | ||
GlobalPoint & | theHit, | ||
double | phimin, | ||
double | phimax, | ||
unsigned | layer | ||
) |
Definition at line 248 of file FastPixelHitMatcher.cc.
References gather_cfg::cout, M_PI, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), BaseParticlePropagator::propagate(), ParticlePropagator::propagateToNominalVertex(), BaseParticlePropagator::setPropagationConditions(), RawParticle::setVertex(), summarizeEdmComparisonLogfiles::success, thePixelLayers, vertex, RawParticle::vertex(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by isASeed().
|
inline |
Definition at line 64 of file FastPixelHitMatcher.h.
References ephi1max, ephi1min, pphi1max, and pphi1min.
Referenced by FastElectronSeedGenerator::addASeedToThisCluster().
|
inline |
Definition at line 105 of file FastPixelHitMatcher.h.
Referenced by FastElectronSeedGenerator::run().
|
inline |
Definition at line 74 of file FastPixelHitMatcher.h.
References phi2max, phi2min, phimax, and phimin.
Referenced by FastElectronSeedGenerator::addASeedToThisCluster().
void FastPixelHitMatcher::setES | ( | const MagneticFieldMap * | aFieldMap, |
const TrackerGeometry * | aTrackerGeometry, | ||
const GeometricSearchTracker * | geomSearchTracker, | ||
const TrackerInteractionGeometry * | interactionGeometry | ||
) |
Definition at line 54 of file FastPixelHitMatcher.cc.
References _theGeometry, TrackerInteractionGeometry::cylinderBegin(), TrackerInteractionGeometry::cylinderEnd(), theFieldMap, theGeomSearchTracker, thePixelLayers, and theTrackerGeometry.
Referenced by FastElectronSeedGenerator::setupES().
double FastPixelHitMatcher::zVertex | ( | double | zCluster, |
double | rCluster, | ||
GlobalPoint & | theHit | ||
) |
Definition at line 307 of file FastPixelHitMatcher.cc.
References PV3DBase< T, PVType, FrameType >::perp(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by checkRZCompatibility(), and isASeed().
|
private |
Definition at line 126 of file FastPixelHitMatcher.h.
Referenced by setES().
|
private |
Definition at line 114 of file FastPixelHitMatcher.h.
Referenced by isASeed(), and set1stLayer().
|
private |
Definition at line 114 of file FastPixelHitMatcher.h.
Referenced by isASeed(), and set1stLayer().
|
private |
Definition at line 112 of file FastPixelHitMatcher.h.
|
private |
Definition at line 116 of file FastPixelHitMatcher.h.
Referenced by isASeed(), and set2ndLayer().
|
private |
Definition at line 116 of file FastPixelHitMatcher.h.
Referenced by isASeed(), and set2ndLayer().
|
private |
Definition at line 115 of file FastPixelHitMatcher.h.
Referenced by isASeed(), and set1stLayer().
|
private |
Definition at line 115 of file FastPixelHitMatcher.h.
Referenced by isASeed(), and set1stLayer().
|
private |
Definition at line 119 of file FastPixelHitMatcher.h.
Referenced by isASeed().
|
private |
Definition at line 119 of file FastPixelHitMatcher.h.
Referenced by isASeed().
|
private |
Definition at line 120 of file FastPixelHitMatcher.h.
Referenced by isASeed().
|
private |
Definition at line 120 of file FastPixelHitMatcher.h.
Referenced by isASeed().
|
private |
Definition at line 121 of file FastPixelHitMatcher.h.
|
private |
Definition at line 127 of file FastPixelHitMatcher.h.
Referenced by compatibleHits(), and setES().
|
private |
Definition at line 125 of file FastPixelHitMatcher.h.
Referenced by setES().
|
private |
Definition at line 124 of file FastPixelHitMatcher.h.
|
private |
Definition at line 128 of file FastPixelHitMatcher.h.
Referenced by propagateToLayer(), and setES().
|
private |
Definition at line 123 of file FastPixelHitMatcher.h.
Referenced by setES().
|
private |
Definition at line 129 of file FastPixelHitMatcher.h.
Referenced by getVertex(), isASeed(), and propagateToLayer().
|
private |
Definition at line 117 of file FastPixelHitMatcher.h.
Referenced by isASeed(), and set1stLayerZRange().
|
private |
Definition at line 117 of file FastPixelHitMatcher.h.
Referenced by isASeed(), and set1stLayerZRange().
|
private |
Definition at line 118 of file FastPixelHitMatcher.h.
Referenced by isASeed().
|
private |
Definition at line 118 of file FastPixelHitMatcher.h.
Referenced by isASeed().