![]() |
![]() |
#include <ClusterShapeHitFilter.h>
Classes | |
struct | PixelData |
struct | StripData |
Public Types | |
typedef TrajectoryFilter::Record | Record |
Public Member Functions | |
ClusterShapeHitFilter (const TrackerGeometry *theTracker_, const TrackerTopology *theTkTopol_, const MagneticField *theMagneticField_, const SiPixelLorentzAngle *theSiPixelLorentzAngle_, const SiStripLorentzAngle *theSiStripLorentzAngle_, const std::string &pixelShapeFile_, const std::string &pixelShapeFileL1_) | |
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 (std::string const &f1, std::string const &f2) | |
void | fillPixelData () |
void | fillStripData () |
std::pair< float, float > | getCotangent (const PixelGeomDetUnit *pixelDet) const |
float | getCotangent (const ClusterShapeHitFilter::StripData &sd, const LocalPoint &p) 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 |
const StripData & | getsd (DetId id) const |
bool | isNormalOriented (const GeomDetUnit *geomDet) const |
void | loadPixelLimits (std::string const &file, PixelLimits *plim) |
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] |
PixelLimits | pixelLimitsL1 [PixelKeys::N+1] |
std::unordered_map< unsigned int, StripData > | stripData |
StripLimits | stripLimits [StripKeys::N+1] |
float | theAngle [6] |
const MagneticField * | theMagneticField |
const SiPixelLorentzAngle * | theSiPixelLorentzAngle |
const SiStripLorentzAngle * | theSiStripLorentzAngle |
const TrackerTopology * | theTkTopol |
const TrackerGeometry * | theTracker |
Friends | |
int | test::ClusterShapeHitFilterTest::test () |
Definition at line 153 of file ClusterShapeHitFilter.h.
Definition at line 177 of file ClusterShapeHitFilter.h.
ClusterShapeHitFilter::ClusterShapeHitFilter | ( | const TrackerGeometry * | theTracker_, |
const TrackerTopology * | theTkTopol_, | ||
const MagneticField * | theMagneticField_, | ||
const SiPixelLorentzAngle * | theSiPixelLorentzAngle_, | ||
const SiStripLorentzAngle * | theSiStripLorentzAngle_, | ||
const std::string & | pixelShapeFile_, | ||
const std::string & | pixelShapeFileL1_ | ||
) |
Definition at line 37 of file ClusterShapeHitFilter.cc.
ClusterShapeHitFilter::~ClusterShapeHitFilter | ( | ) |
Definition at line 63 of file ClusterShapeHitFilter.cc.
|
inlineprivate |
Definition at line 261 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 452 of file ClusterShapeHitFilter.cc.
References siStripClusterTools::chargePerCM().
|
private |
Definition at line 458 of file ClusterShapeHitFilter.cc.
References siStripClusterTools::chargePerCM().
|
private |
Definition at line 137 of file ClusterShapeHitFilter.cc.
References ClusterShapeHitFilter::PixelData::cotangent, ClusterShapeHitFilter::PixelData::det, ClusterShapeHitFilter::PixelData::drift, GeomDet::geographicalId(), ClusterShapeHitFilter::PixelData::layer, and ClusterShapeHitFilter::PixelData::part.
|
private |
Definition at line 170 of file ClusterShapeHitFilter.cc.
References Surface::bounds(), GeomDet::geographicalId(), getCotangent(), mps_fire::i, GeomDet::index(), createfilelist::int, GeomDetType::isTrackerStrip(), PFRecoTauDiscriminationByIsolation_cfi::offset, AlCaHLTBitMon_ParallelJobs::p, GeomDet::specificSurface(), GeomDetEnumerators::tkDetEnum, StripGeomDetUnit::topology(), and StripGeomDetUnit::type().
|
private |
Definition at line 199 of file ClusterShapeHitFilter.cc.
References Surface::bounds(), PixelTopology::pitch(), PixelGeomDetUnit::specificTopology(), GeomDet::surface(), and Bounds::thickness().
Referenced by fillStripData().
|
private |
Definition at line 213 of file ClusterShapeHitFilter.cc.
References getDrift(), StripTopology::localPitch(), ClusterShapeHitFilter::StripData::thickness, and ClusterShapeHitFilter::StripData::topology.
|
private |
Definition at line 221 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().
Referenced by getCotangent().
|
private |
Definition at line 240 of file ClusterShapeHitFilter.cc.
References dir, GeomDet::geographicalId(), isNormalOriented(), GloballyPositioned< T >::position(), DetId::rawId(), GeomDet::surface(), toLocal(), and PV3DBase< T, PVType, FrameType >::y().
|
inlineprivate |
Definition at line 267 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), and AlCaHLTBitMon_ParallelJobs::p.
Definition at line 275 of file ClusterShapeHitFilter.h.
References FrontierConditions_GlobalTag_cff::file, AlCaHLTBitMon_ParallelJobs::p, sd, and AlCaHLTBitMon_QueryRunRegistry::string.
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 279 of file ClusterShapeHitFilter.cc.
References edm::VecArray< T, N >::capacity(), edm::VecArray< T, N >::clear(), SiPixelRecHit::cluster(), ClusterShapeHitFilter::PixelData::cotangent, data, ClusterShapeHitFilter::PixelData::det, SoftLeptonByDistance_cfi::distance, shallow::drift(), ClusterShapeHitFilter::PixelData::drift, SiPixelClusterShapeCache::get(), isCompatible(), 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 isCompatible(), isNormalOriented(), and PixelClusterShapeExtractor::processRec().
bool ClusterShapeHitFilter::getSizes | ( | DetId | detId, |
const SiStripCluster & | cluster, | ||
const LocalPoint & | lpos, | ||
const LocalVector & | ldir, | ||
int & | meas, | ||
float & | pred | ||
) | const |
Definition at line 377 of file ClusterShapeHitFilter.cc.
References SiStripCluster::amplitudes(), shallow::drift(), SiStripCluster::firstStrip(), isCompatible(), AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
|
inline |
Definition at line 215 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), and TrackerSingleRecHit::stripCluster().
bool ClusterShapeHitFilter::isCompatible | ( | const SiPixelRecHit & | recHit, |
const LocalVector & | ldir, | ||
const SiPixelClusterShapeCache & | clusterShapeCache, | ||
PixelData const * | pd = 0 |
||
) | const |
Definition at line 330 of file ClusterShapeHitFilter.cc.
References SiPixelRecHit::cluster(), TrackingRecHit::geographicalId(), PixelKeys::isValid(), crabWrapper::key, ClusterShapeHitFilter::PixelData::layer, and funct::m.
Referenced by PixelClusterShapeSeedComparitor::compatibleHit(), getSizes(), MultiHitGeneratorFromChi2::hitSets(), isCompatible(), ClusterShapeTrackFilter::operator()(), and ClusterShapeTrajectoryFilter::toBeContinued().
bool ClusterShapeHitFilter::isCompatible | ( | const SiPixelRecHit & | recHit, |
const GlobalVector & | gdir, | ||
const SiPixelClusterShapeCache & | clusterShapeCache, | ||
PixelData const * | pd = 0 |
||
) | const |
Definition at line 361 of file ClusterShapeHitFilter.cc.
References ClusterShapeHitFilter::PixelData::det, getSizes(), and GeomDet::toLocal().
bool ClusterShapeHitFilter::isCompatible | ( | DetId | detId, |
const SiStripCluster & | cluster, | ||
const LocalPoint & | lpos, | ||
const LocalVector & | ldir | ||
) | const |
Definition at line 412 of file ClusterShapeHitFilter.cc.
References isCompatible(), StripKeys::isValid(), and crabWrapper::key.
|
inline |
Definition at line 223 of file ClusterShapeHitFilter.h.
bool ClusterShapeHitFilter::isCompatible | ( | DetId | detId, |
const SiStripCluster & | cluster, | ||
const GlobalPoint & | gpos, | ||
const GlobalVector & | gdir | ||
) | const |
Definition at line 434 of file ClusterShapeHitFilter.cc.
References isCompatible(), GeomDet::toLocal(), and PV3DBase< T, PVType, FrameType >::z().
bool ClusterShapeHitFilter::isCompatible | ( | DetId | detId, |
const SiStripCluster & | cluster, | ||
const GlobalVector & | gdir | ||
) | const |
Definition at line 444 of file ClusterShapeHitFilter.cc.
|
inline |
Definition at line 238 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), and TrackerSingleRecHit::stripCluster().
|
inline |
Definition at line 243 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), and TrackerSingleRecHit::stripCluster().
|
inline |
Definition at line 247 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), and TrackerSingleRecHit::stripCluster().
|
inline |
Definition at line 252 of file ClusterShapeHitFilter.h.
References TrackingRecHit::geographicalId(), and TrackerSingleRecHit::stripCluster().
|
private |
Definition at line 259 of file ClusterShapeHitFilter.cc.
References getSizes(), GeomDetType::isBarrel(), PV3DBase< T, PVType, FrameType >::perp(), makeMuonMisalignmentScenario::rot, GeomDet::toGlobal(), GeomDet::type(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by getDrift().
|
private |
Definition at line 68 of file ClusterShapeHitFilter.cc.
References b, edmIntegrityCheck::d, PixelLimits::data, PVValHelper::dx, PVValHelper::dy, f, gen::k, crabWrapper::key, and LogTrace.
|
private |
Definition at line 107 of file ClusterShapeHitFilter.cc.
References b, PVValHelper::dx, edm::FileInPath::fullPath(), gen::k, crabWrapper::key, and LogTrace.
|
inline |
Definition at line 192 of file ClusterShapeHitFilter.h.
References trajectoryFilterForConversions_cfi::minGoodStripCharge, and rpcPointValidation_cfi::recHit.
|
inline |
Definition at line 189 of file ClusterShapeHitFilter.h.
|
friend |
|
private |
Definition at line 307 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 309 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 307 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 309 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 308 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 308 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 298 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 301 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 302 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 299 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 304 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 306 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 293 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 295 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 296 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 292 of file ClusterShapeHitFilter.h.
|
private |
Definition at line 291 of file ClusterShapeHitFilter.h.