Class performing smart reconstruction for CTPPS Diamond Detectors. More...
#include <CTPPSDiamondTrackRecognition.h>
Classes | |
struct | HitParameters |
Public Member Functions | |
void | addHit (const CTPPSDiamondRecHit &recHit) |
Feed a new hit to the tracks recognition algorithm. More... | |
void | clear () |
Reset the list of hits. More... | |
CTPPSDiamondTrackRecognition (const edm::ParameterSet &) | |
int | produceTracks (edm::DetSet< CTPPSDiamondLocalTrack > &tracks) |
Produce a collection of tracks for the current station, given its hits collection. More... | |
~CTPPSDiamondTrackRecognition () | |
Private Types | |
typedef std::vector < HitParameters > | HitParametersVector |
typedef std::unordered_map < int, HitParametersVector > | HitParametersVectorMap |
Private Attributes | |
TF1 | hit_f_ |
Function for pad efficiency. More... | |
HitParametersVectorMap | hitParametersVectorMap_ |
std::unordered_map< int, int > | mhMap_ |
const float | resolution_ |
const float | sigma_ |
const float | startFromX_ |
const float | stopAtX_ |
const float | threshold_ |
const float | thresholdFromMaximum_ |
float | yPosition_ |
float | yWidth_ |
Static Private Attributes | |
static const std::string | pixelEfficiencyDefaultFunction_ = "(x>[0]-0.5*[1])*(x<[0]+0.5*[1])" |
Default hit function accounting for the pad spatial efficiency. More... | |
Class performing smart reconstruction for CTPPS Diamond Detectors.
Definition at line 29 of file CTPPSDiamondTrackRecognition.h.
|
private |
Definition at line 51 of file CTPPSDiamondTrackRecognition.h.
|
private |
Definition at line 52 of file CTPPSDiamondTrackRecognition.h.
CTPPSDiamondTrackRecognition::CTPPSDiamondTrackRecognition | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 20 of file CTPPSDiamondTrackRecognition.cc.
References hit_f_, pixelEfficiencyDefaultFunction_, sigma_, startFromX_, and stopAtX_.
CTPPSDiamondTrackRecognition::~CTPPSDiamondTrackRecognition | ( | ) |
Definition at line 38 of file CTPPSDiamondTrackRecognition.cc.
void CTPPSDiamondTrackRecognition::addHit | ( | const CTPPSDiamondRecHit & | recHit | ) |
Feed a new hit to the tracks recognition algorithm.
Definition at line 53 of file CTPPSDiamondTrackRecognition.cc.
References CTPPSDiamondRecHit::getMultipleHits(), CTPPSDiamondRecHit::getOOTIndex(), CTPPSDiamondRecHit::getX(), CTPPSDiamondRecHit::getXWidth(), CTPPSDiamondRecHit::getY(), CTPPSDiamondRecHit::getYWidth(), hitParametersVectorMap_, mhMap_, yPosition_, and yWidth_.
Referenced by CTPPSDiamondLocalTrackFitter::produce().
void CTPPSDiamondTrackRecognition::clear | ( | void | ) |
Reset the list of hits.
Definition at line 44 of file CTPPSDiamondTrackRecognition.cc.
References hitParametersVectorMap_, and mhMap_.
Referenced by CTPPSDiamondLocalTrackFitter::produce().
int CTPPSDiamondTrackRecognition::produceTracks | ( | edm::DetSet< CTPPSDiamondLocalTrack > & | tracks | ) |
Produce a collection of tracks for the current station, given its hits collection.
Definition at line 78 of file CTPPSDiamondTrackRecognition.cc.
References hit_f_, hitParametersVectorMap_, i, j, mhMap_, edm::DetSet< T >::push_back(), resolution_, CTPPSDiamondLocalTrack::setValid(), sigma_, startFromX_, stopAtX_, dtDQMClient_cfg::threshold, threshold_, thresholdFromMaximum_, yPosition_, and yWidth_.
Referenced by CTPPSDiamondLocalTrackFitter::produce().
|
private |
Function for pad efficiency.
Definition at line 68 of file CTPPSDiamondTrackRecognition.h.
Referenced by CTPPSDiamondTrackRecognition(), and produceTracks().
|
private |
Definition at line 69 of file CTPPSDiamondTrackRecognition.h.
Referenced by addHit(), clear(), and produceTracks().
|
private |
Definition at line 70 of file CTPPSDiamondTrackRecognition.h.
Referenced by addHit(), clear(), and produceTracks().
|
staticprivate |
Default hit function accounting for the pad spatial efficiency.
Definition at line 55 of file CTPPSDiamondTrackRecognition.h.
Referenced by CTPPSDiamondTrackRecognition().
|
private |
Definition at line 59 of file CTPPSDiamondTrackRecognition.h.
Referenced by produceTracks().
|
private |
Definition at line 60 of file CTPPSDiamondTrackRecognition.h.
Referenced by CTPPSDiamondTrackRecognition(), and produceTracks().
|
private |
Definition at line 61 of file CTPPSDiamondTrackRecognition.h.
Referenced by CTPPSDiamondTrackRecognition(), and produceTracks().
|
private |
Definition at line 62 of file CTPPSDiamondTrackRecognition.h.
Referenced by CTPPSDiamondTrackRecognition(), and produceTracks().
|
private |
Definition at line 57 of file CTPPSDiamondTrackRecognition.h.
Referenced by produceTracks().
|
private |
Definition at line 58 of file CTPPSDiamondTrackRecognition.h.
Referenced by produceTracks().
|
private |
Definition at line 64 of file CTPPSDiamondTrackRecognition.h.
Referenced by addHit(), and produceTracks().
|
private |
Definition at line 65 of file CTPPSDiamondTrackRecognition.h.
Referenced by addHit(), and produceTracks().