#include <ClusterShapeHitFilter.h>
Classes | |
struct | PixelData |
Public Types | |
typedef TrajectoryFilter::Record | Record |
Public Member Functions | |
ClusterShapeHitFilter (const TrackerGeometry *theTracker_, const MagneticField *theMagneticField_, const SiPixelLorentzAngle *theSiPixelLorentzAngle_, const SiStripLorentzAngle *theSiStripLorentzAngle_) | |
bool | getSizes (const SiPixelRecHit &recHit, const LocalVector &ldir, int &part, std::vector< std::pair< int, int > > &meas, std::pair< float, float > &predr, PixelData const *pd=0) const |
bool | getSizes (DetId detId, const SiStripCluster &cluster, const LocalVector &ldir, int &meas, float &pred) const |
bool | getSizes (const SiStripRecHit2D &recHit, const LocalVector &ldir, int &meas, float &pred) const |
bool | isCompatible (const SiPixelRecHit &recHit, const LocalVector &ldir, PixelData const *pd=0) const |
bool | isCompatible (const SiPixelRecHit &recHit, const GlobalVector &gdir, PixelData const *pd=0) const |
bool | isCompatible (DetId detId, const SiStripCluster &cluster, const LocalVector &ldir) const |
bool | isCompatible (DetId detId, const SiStripCluster &cluster, const GlobalVector &gdir) const |
bool | isCompatible (const SiStripRecHit2D &recHit, const LocalVector &ldir) const |
bool | isCompatible (const SiStripRecHit2D &recHit, const GlobalVector &gdir) const |
~ClusterShapeHitFilter () | |
Private Member Functions | |
ClusterShapeHitFilter () | |
void | fillPixelData () |
std::pair< float, float > | getCotangent (const PixelGeomDetUnit *pixelDet) const |
float | getCotangent (const StripGeomDetUnit *stripDet) const |
std::pair< float, float > | getDrift (const PixelGeomDetUnit *pixelDet) const |
float | getDrift (const StripGeomDetUnit *stripDet) const |
const PixelData & | getpd (const SiPixelRecHit &recHit, PixelData const *pd=0) const |
bool | isNormalOriented (const GeomDetUnit *geomDet) const |
void | loadPixelLimits () |
void | loadStripLimits () |
Private Attributes | |
std::unordered_map< unsigned int, PixelData > | pixelData |
PixelLimits | pixelLimits [PixelKeys::N+1] |
StripLimits | stripLimits [StripKeys::N+1] |
float | theAngle [6] |
const MagneticField * | theMagneticField |
const SiPixelLorentzAngle * | theSiPixelLorentzAngle |
const SiStripLorentzAngle * | theSiStripLorentzAngle |
const TrackerGeometry * | theTracker |
Definition at line 143 of file ClusterShapeHitFilter.h.
Definition at line 155 of file ClusterShapeHitFilter.h.
ClusterShapeHitFilter::ClusterShapeHitFilter | ( | const TrackerGeometry * | theTracker_, |
const MagneticField * | theMagneticField_, | ||
const SiPixelLorentzAngle * | theSiPixelLorentzAngle_, | ||
const SiStripLorentzAngle * | theSiStripLorentzAngle_ | ||
) |
Definition at line 44 of file ClusterShapeHitFilter.cc.
ClusterShapeHitFilter::~ClusterShapeHitFilter | ( | ) |
Definition at line 63 of file ClusterShapeHitFilter.cc.
|
inlineprivate |
Definition at line 202 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 138 of file ClusterShapeHitFilter.cc.
References ClusterShapeHitFilter::PixelData::cotangent, ClusterShapeHitFilter::PixelData::det, ClusterShapeHitFilter::PixelData::drift, GeomDet::geographicalId(), and ClusterShapeHitFilter::PixelData::part.
|
private |
Definition at line 171 of file ClusterShapeHitFilter.cc.
References BoundSurface::bounds(), PixelTopology::pitch(), PixelGeomDetUnit::specificTopology(), GeomDet::surface(), and Bounds::thickness().
|
private |
Definition at line 185 of file ClusterShapeHitFilter.cc.
References BoundSurface::bounds(), StripTopology::localPitch(), StripGeomDetUnit::specificTopology(), GeomDet::surface(), and Bounds::thickness().
|
private |
Definition at line 194 of file ClusterShapeHitFilter.cc.
References dir, GeomDet::geographicalId(), GloballyPositioned< T >::position(), DetId::rawId(), GeomDet::surface(), toLocal(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 213 of file ClusterShapeHitFilter.cc.
References dir, GeomDet::geographicalId(), GloballyPositioned< T >::position(), DetId::rawId(), GeomDet::surface(), toLocal(), and PV3DBase< T, PVType, FrameType >::y().
|
inlineprivate |
Definition at line 204 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), AlCaHLTBitMon_ParallelJobs::p, and pixelData.
bool ClusterShapeHitFilter::getSizes | ( | const SiPixelRecHit & | recHit, |
const LocalVector & | ldir, | ||
int & | part, | ||
std::vector< std::pair< int, int > > & | meas, | ||
std::pair< float, float > & | predr, | ||
PixelData const * | pd = 0 |
||
) | const |
Definition at line 252 of file ClusterShapeHitFilter.cc.
References ClusterShapeHitFilter::PixelData::cotangent, data, ClusterShapeHitFilter::PixelData::det, ClusterShape::determineShape(), shallow::drift(), ClusterShapeHitFilter::PixelData::drift, ClusterData::isComplete, ClusterData::isStraight, ClusterShapeHitFilter::PixelData::part, alignCSCRings::s, ClusterData::size, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by getSizes().
bool ClusterShapeHitFilter::getSizes | ( | DetId | detId, |
const SiStripCluster & | cluster, | ||
const LocalVector & | ldir, | ||
int & | meas, | ||
float & | pred | ||
) | const |
Definition at line 345 of file ClusterShapeHitFilter.cc.
References SiStripCluster::amplitudes(), shallow::drift(), SiStripCluster::firstStrip(), StripTopology::nstrips(), StripGeomDetUnit::specificTopology(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
|
inline |
Definition at line 180 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), getSizes(), and TrackerSingleRecHit::stripCluster().
bool ClusterShapeHitFilter::isCompatible | ( | const SiPixelRecHit & | recHit, |
const LocalVector & | ldir, | ||
PixelData const * | pd = 0 |
||
) | const |
Definition at line 303 of file ClusterShapeHitFilter.cc.
References PixelKeys::isValid(), combine::key, and m.
Referenced by isCompatible().
bool ClusterShapeHitFilter::isCompatible | ( | const SiPixelRecHit & | recHit, |
const GlobalVector & | gdir, | ||
PixelData const * | pd = 0 |
||
) | const |
Definition at line 330 of file ClusterShapeHitFilter.cc.
References ClusterShapeHitFilter::PixelData::det, and GeomDet::toLocal().
bool ClusterShapeHitFilter::isCompatible | ( | DetId | detId, |
const SiStripCluster & | cluster, | ||
const LocalVector & | ldir | ||
) | const |
Definition at line 381 of file ClusterShapeHitFilter.cc.
References StripKeys::isValid(), and combine::key.
bool ClusterShapeHitFilter::isCompatible | ( | DetId | detId, |
const SiStripCluster & | cluster, | ||
const GlobalVector & | gdir | ||
) | const |
Definition at line 400 of file ClusterShapeHitFilter.cc.
|
inline |
Definition at line 190 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), isCompatible(), and TrackerSingleRecHit::stripCluster().
|
inline |
Definition at line 194 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), isCompatible(), and TrackerSingleRecHit::stripCluster().
|
private |
Definition at line 232 of file ClusterShapeHitFilter.cc.
References GeomDetType::isBarrel(), PV3DBase< T, PVType, FrameType >::perp(), pos, makeMuonMisalignmentScenario::rot, GeomDet::toGlobal(), GeomDetUnit::type(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 68 of file ClusterShapeHitFilter.cc.
References b, f, edm::FileInPath::fullPath(), gen::k, combine::key, and LogTrace.
|
private |
Definition at line 108 of file ClusterShapeHitFilter.cc.
References b, edm::FileInPath::fullPath(), gen::k, combine::key, and LogTrace.
|
private |
Definition at line 230 of file ClusterShapeHitFilter.h.
Referenced by getpd().
|
private |
Definition at line 232 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 234 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 236 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 225 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 227 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 228 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 224 of file ClusterShapeHitFilter.h.