Class to recognize straight line tracks, based on optimized Hough trasform. More...
Classes | |
struct | RPSettings |
block of (exceptional) settings for 1 RP More... | |
Public Member Functions | |
void | produce (edm::Event &e, const edm::EventSetup &c) override |
TotemRPUVPatternFinder (const edm::ParameterSet &conf) | |
~TotemRPUVPatternFinder () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Private Member Functions | |
void | recognizeAndSelect (TotemRPUVPattern::ProjectionType proj, double z0, double threshold, unsigned int planes_required, const edm::DetSetVector< TotemRPRecHit > &hits, edm::DetSet< TotemRPUVPattern > &patterns) |
executes line recognition in a projection More... | |
Private Attributes | |
edm::ESGetToken< CTPPSGeometry, VeryForwardRealGeometryRecord > | ctppsGeometryToken |
edm::EDGetTokenT< edm::DetSetVector< TotemRPRecHit > > | detSetVectorTotemRPRecHitToken |
std::map< unsigned int, RPSettings > | exceptionalSettings |
exceptional settings: RP Id --> settings More... | |
edm::ESWatcher< VeryForwardRealGeometryRecord > | geometryWatcher |
FastLineRecognition * | lrcgn |
the line recognition algorithm More... | |
double | max_a_toFit |
maximal angle (in any projection) to mark candidate as fittable - controls track parallelity More... | |
unsigned int | maxHitsPerPlaneToSearch |
above this limit, planes are considered noisy More... | |
unsigned char | minPlanesPerProjectionToFit |
minimal required number of active planes per projection to mark track candidate as fittable More... | |
unsigned char | minPlanesPerProjectionToSearch |
minimal required number of active planes per projection to even start track recognition More... | |
edm::InputTag | tagRecHit |
double | threshold |
minimal weight of (Hough) cluster to accept it as candidate More... | |
unsigned int | verbosity |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Class to recognize straight line tracks, based on optimized Hough trasform.
The search is perfomed in global U,V coordinates (wrt. beam). In this way (some of) the alignment corrections can be taken into account.
Definition at line 37 of file TotemRPUVPatternFinder.cc.
TotemRPUVPatternFinder::TotemRPUVPatternFinder | ( | const edm::ParameterSet & | conf | ) |
Definition at line 98 of file TotemRPUVPatternFinder.cc.
References detSetVectorTotemRPRecHitToken, exceptionalSettings, edm::ParameterSet::getParameter(), TotemRPUVPatternFinder::RPSettings::minPlanesPerProjectionToFit_U, profile_2016_postTS2_cff::rpId, and tagRecHit.
|
override |
|
static |
Definition at line 285 of file TotemRPUVPatternFinder.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, and HLT_FULL_cff::InputTag.
|
override |
Definition at line 164 of file TotemRPUVPatternFinder.cc.
References edm::ESWatcher< T >::check(), ctppsGeometryToken, data, detSetVectorTotemRPRecHitToken, exceptionalSettings, edm::DetSetVector< T >::find_or_insert(), geometryWatcher, edm::EventSetup::getData(), input, lrcgn, maxHitsPerPlaneToSearch, minPlanesPerProjectionToFit, minPlanesPerProjectionToSearch, AlCaHLTBitMon_ParallelJobs::p, TotemRPDetId::plane(), TotemRPUVPattern::projU, TotemRPUVPattern::projV, recognizeAndSelect(), FastLineRecognition::resetGeometry(), profile_2016_postTS2_cff::rpId, threshold, verbosity, and HLTMuonOfflineAnalyzer_cfi::z0.
|
private |
executes line recognition in a projection
Definition at line 132 of file TotemRPUVPatternFinder.cc.
References FastLineRecognition::getPatterns(), hfClusterShapes_cfi::hits, lrcgn, max_a_toFit, AlCaHLTBitMon_ParallelJobs::p, amptDefault_cfi::proj, edm::DetSet< T >::push_back(), and HLTMuonOfflineAnalyzer_cfi::z0.
Referenced by produce().
|
private |
Definition at line 55 of file TotemRPUVPatternFinder.cc.
Referenced by produce().
|
private |
Definition at line 53 of file TotemRPUVPatternFinder.cc.
Referenced by produce(), and TotemRPUVPatternFinder().
|
private |
exceptional settings: RP Id --> settings
Definition at line 85 of file TotemRPUVPatternFinder.cc.
Referenced by produce(), and TotemRPUVPatternFinder().
|
private |
Definition at line 56 of file TotemRPUVPatternFinder.cc.
Referenced by produce().
|
private |
the line recognition algorithm
Definition at line 70 of file TotemRPUVPatternFinder.cc.
Referenced by produce(), recognizeAndSelect(), and ~TotemRPUVPatternFinder().
|
private |
maximal angle (in any projection) to mark candidate as fittable - controls track parallelity
Definition at line 76 of file TotemRPUVPatternFinder.cc.
Referenced by recognizeAndSelect().
|
private |
above this limit, planes are considered noisy
Definition at line 67 of file TotemRPUVPatternFinder.cc.
Referenced by produce().
|
private |
minimal required number of active planes per projection to mark track candidate as fittable
Definition at line 64 of file TotemRPUVPatternFinder.cc.
Referenced by produce().
|
private |
minimal required number of active planes per projection to even start track recognition
Definition at line 61 of file TotemRPUVPatternFinder.cc.
Referenced by produce().
|
private |
Definition at line 52 of file TotemRPUVPatternFinder.cc.
Referenced by TotemRPUVPatternFinder().
|
private |
minimal weight of (Hough) cluster to accept it as candidate
Definition at line 73 of file TotemRPUVPatternFinder.cc.
Referenced by utils.StatisticalTest::get_status(), and produce().
|
private |
Definition at line 58 of file TotemRPUVPatternFinder.cc.
Referenced by produce().