#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_, const std::string *use_PixelShapeFile_) | |
bool | getSizes (const SiPixelRecHit &recHit, const LocalVector &ldir, const SiPixelClusterShapeCache &clusterShapeCache, int &part, ClusterData::ArrayType &meas, std::pair< float, float > &predr, PixelData const *pd=0) const |
bool | getSizes (DetId detId, const SiStripCluster &cluster, const LocalPoint &lpos, const LocalVector &ldir, int &meas, float &pred) const |
bool | getSizes (const SiStripRecHit2D &recHit, const LocalPoint &lpos, const LocalVector &ldir, int &meas, float &pred) const |
bool | isCompatible (const SiPixelRecHit &recHit, const LocalVector &ldir, const SiPixelClusterShapeCache &clusterShapeCache, PixelData const *pd=0) const |
bool | isCompatible (const SiPixelRecHit &recHit, const GlobalVector &gdir, const SiPixelClusterShapeCache &clusterShapeCache, PixelData const *pd=0) const |
bool | isCompatible (DetId detId, const SiStripCluster &cluster, const LocalPoint &lpos, const LocalVector &ldir) const |
bool | isCompatible (DetId detId, const SiStripCluster &cluster, const LocalVector &ldir) const |
bool | isCompatible (DetId detId, const SiStripCluster &cluster, const GlobalPoint &gpos, const GlobalVector &gdir) const |
bool | isCompatible (DetId detId, const SiStripCluster &cluster, const GlobalVector &gdir) const |
bool | isCompatible (const SiStripRecHit2D &recHit, const LocalPoint &lpos, const LocalVector &ldir) const |
bool | isCompatible (const SiStripRecHit2D &recHit, const LocalVector &ldir) const |
bool | isCompatible (const SiStripRecHit2D &recHit, const GlobalPoint &gpos, const GlobalVector &gdir) const |
bool | isCompatible (const SiStripRecHit2D &recHit, const GlobalVector &gdir) const |
void | setChargeCuts (bool cutOnPixelCharge, float minGoodPixelCharge, bool cutOnStripCharge, float minGoodStripCharge) |
void | setShapeCuts (bool cutOnPixelShape, bool cutOnStripShape) |
~ClusterShapeHitFilter () | |
Private Member Functions | |
bool | checkClusterCharge (DetId detId, const SiStripCluster &cluster, const LocalVector &ldir) const |
bool | checkClusterCharge (DetId detId, const SiPixelCluster &cluster, const LocalVector &ldir) const |
ClusterShapeHitFilter () | |
void | fillPixelData () |
std::pair< float, float > | getCotangent (const PixelGeomDetUnit *pixelDet) const |
float | getCotangent (const StripGeomDetUnit *stripDet, const LocalPoint &p=LocalPoint(0, 0, 0)) 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 | |
bool | cutOnPixelCharge_ |
bool | cutOnPixelShape_ |
bool | cutOnStripCharge_ |
bool | cutOnStripShape_ |
float | minGoodPixelCharge_ |
float | minGoodStripCharge_ |
std::unordered_map< unsigned int, PixelData > | pixelData |
PixelLimits | pixelLimits [PixelKeys::N+1] |
const std::string * | PixelShapeFile |
StripLimits | stripLimits [StripKeys::N+1] |
float | theAngle [6] |
const MagneticField * | theMagneticField |
const SiPixelLorentzAngle * | theSiPixelLorentzAngle |
const SiStripLorentzAngle * | theSiStripLorentzAngle |
const TrackerGeometry * | theTracker |
Friends | |
int | test::ClusterShapeHitFilterTest::test () |
Definition at line 151 of file ClusterShapeHitFilter.h.
Definition at line 166 of file ClusterShapeHitFilter.h.
ClusterShapeHitFilter::ClusterShapeHitFilter | ( | const TrackerGeometry * | theTracker_, |
const MagneticField * | theMagneticField_, | ||
const SiPixelLorentzAngle * | theSiPixelLorentzAngle_, | ||
const SiStripLorentzAngle * | theSiStripLorentzAngle_, | ||
const std::string * | use_PixelShapeFile_ | ||
) |
Definition at line 37 of file ClusterShapeHitFilter.cc.
ClusterShapeHitFilter::~ClusterShapeHitFilter | ( | ) |
Definition at line 59 of file ClusterShapeHitFilter.cc.
|
inlineprivate |
Definition at line 247 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 423 of file ClusterShapeHitFilter.cc.
References siStripClusterTools::chargePerCM().
|
private |
Definition at line 429 of file ClusterShapeHitFilter.cc.
References siStripClusterTools::chargePerCM().
|
private |
Definition at line 136 of file ClusterShapeHitFilter.cc.
References assert(), ClusterShapeHitFilter::PixelData::cotangent, ClusterShapeHitFilter::PixelData::det, ClusterShapeHitFilter::PixelData::drift, GeomDet::geographicalId(), and ClusterShapeHitFilter::PixelData::part.
|
private |
Definition at line 169 of file ClusterShapeHitFilter.cc.
References Surface::bounds(), PixelTopology::pitch(), PixelGeomDetUnit::specificTopology(), GeomDet::surface(), and Bounds::thickness().
|
private |
Definition at line 183 of file ClusterShapeHitFilter.cc.
References Surface::bounds(), StripTopology::localPitch(), StripGeomDetUnit::specificTopology(), GeomDet::surface(), and Bounds::thickness().
|
private |
Definition at line 192 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 211 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 249 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), AlCaHLTBitMon_ParallelJobs::p, and pixelData.
bool ClusterShapeHitFilter::getSizes | ( | const SiPixelRecHit & | recHit, |
const LocalVector & | ldir, | ||
const SiPixelClusterShapeCache & | clusterShapeCache, | ||
int & | part, | ||
ClusterData::ArrayType & | meas, | ||
std::pair< float, float > & | predr, | ||
PixelData const * | pd = 0 |
||
) | const |
Definition at line 250 of file ClusterShapeHitFilter.cc.
References assert(), edm::VecArray< T, N >::capacity(), edm::VecArray< T, N >::clear(), SiPixelRecHit::cluster(), ClusterShapeHitFilter::PixelData::cotangent, data, ClusterShapeHitFilter::PixelData::det, HLT_25ns14e33_v1_cff::distance, shallow::drift(), ClusterShapeHitFilter::PixelData::drift, SiPixelClusterShapeCache::get(), SiPixelClusterShapeData::isComplete(), SiPixelClusterShapeData::isStraight(), ClusterShapeHitFilter::PixelData::part, edm::VecArray< T, N >::push_back_unchecked(), alignCSCRings::s, SiPixelClusterShapeData::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 LocalPoint & | lpos, | ||
const LocalVector & | ldir, | ||
int & | meas, | ||
float & | pred | ||
) | const |
Definition at line 347 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 203 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), getSizes(), and TrackerSingleRecHit::stripCluster().
bool ClusterShapeHitFilter::isCompatible | ( | const SiPixelRecHit & | recHit, |
const LocalVector & | ldir, | ||
const SiPixelClusterShapeCache & | clusterShapeCache, | ||
PixelData const * | pd = 0 |
||
) | const |
Definition at line 301 of file ClusterShapeHitFilter.cc.
References SiPixelRecHit::cluster(), TrackingRecHit::geographicalId(), PixelKeys::isValid(), relval_steps::key, and visualization-live-secondInstance_cfg::m.
Referenced by MultiHitGeneratorFromChi2::hitSets(), and isCompatible().
bool ClusterShapeHitFilter::isCompatible | ( | const SiPixelRecHit & | recHit, |
const GlobalVector & | gdir, | ||
const SiPixelClusterShapeCache & | clusterShapeCache, | ||
PixelData const * | pd = 0 |
||
) | const |
Definition at line 331 of file ClusterShapeHitFilter.cc.
References ClusterShapeHitFilter::PixelData::det, and GeomDet::toLocal().
bool ClusterShapeHitFilter::isCompatible | ( | DetId | detId, |
const SiStripCluster & | cluster, | ||
const LocalPoint & | lpos, | ||
const LocalVector & | ldir | ||
) | const |
Definition at line 383 of file ClusterShapeHitFilter.cc.
References StripKeys::isValid(), and relval_steps::key.
|
inline |
Definition at line 211 of file ClusterShapeHitFilter.h.
References isCompatible().
bool ClusterShapeHitFilter::isCompatible | ( | DetId | detId, |
const SiStripCluster & | cluster, | ||
const GlobalPoint & | gpos, | ||
const GlobalVector & | gdir | ||
) | const |
Definition at line 405 of file ClusterShapeHitFilter.cc.
References GeomDet::toLocal(), and PV3DBase< T, PVType, FrameType >::z().
bool ClusterShapeHitFilter::isCompatible | ( | DetId | detId, |
const SiStripCluster & | cluster, | ||
const GlobalVector & | gdir | ||
) | const |
Definition at line 415 of file ClusterShapeHitFilter.cc.
|
inline |
Definition at line 224 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), isCompatible(), and TrackerSingleRecHit::stripCluster().
|
inline |
Definition at line 229 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), isCompatible(), and TrackerSingleRecHit::stripCluster().
|
inline |
Definition at line 233 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), isCompatible(), and TrackerSingleRecHit::stripCluster().
|
inline |
Definition at line 238 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), isCompatible(), and TrackerSingleRecHit::stripCluster().
|
private |
Definition at line 230 of file ClusterShapeHitFilter.cc.
References GeomDetType::isBarrel(), PV3DBase< T, PVType, FrameType >::perp(), makeMuonMisalignmentScenario::rot, GeomDet::toGlobal(), GeomDet::type(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 64 of file ClusterShapeHitFilter.cc.
References b, ztail::d, f, relval_steps::k, relval_steps::key, LogTrace, and HLT_25ns14e33_v1_cff::PixelShapeFile.
|
private |
Definition at line 106 of file ClusterShapeHitFilter.cc.
References b, edm::FileInPath::fullPath(), relval_steps::k, relval_steps::key, and LogTrace.
|
inline |
Definition at line 180 of file ClusterShapeHitFilter.h.
References cutOnPixelCharge_, cutOnStripCharge_, minGoodPixelCharge_, and minGoodStripCharge_.
|
inline |
Definition at line 177 of file ClusterShapeHitFilter.h.
References cutOnPixelShape_, and cutOnStripShape_.
|
friend |
|
private |
Definition at line 284 of file ClusterShapeHitFilter.h.
Referenced by setChargeCuts().
|
private |
Definition at line 286 of file ClusterShapeHitFilter.h.
Referenced by setShapeCuts().
|
private |
Definition at line 284 of file ClusterShapeHitFilter.h.
Referenced by setChargeCuts().
|
private |
Definition at line 286 of file ClusterShapeHitFilter.h.
Referenced by setShapeCuts().
|
private |
Definition at line 285 of file ClusterShapeHitFilter.h.
Referenced by setChargeCuts().
|
private |
Definition at line 285 of file ClusterShapeHitFilter.h.
Referenced by setChargeCuts().
|
private |
Definition at line 277 of file ClusterShapeHitFilter.h.
Referenced by getpd().
|
private |
Definition at line 279 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 275 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 281 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 283 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 270 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 272 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 273 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 269 of file ClusterShapeHitFilter.h.