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 | yPositionInitial_ |
float | yWidth_ |
float | yWidthInitial_ |
float | zPosition_ |
float | zPositionInitial_ |
float | zWidth_ |
float | zWidthInitial_ |
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 57 of file CTPPSDiamondTrackRecognition.cc.
References CTPPSDiamondRecHit::getOOTIndex(), CTPPSDiamondRecHit::getX(), CTPPSDiamondRecHit::getXWidth(), CTPPSDiamondRecHit::getY(), CTPPSDiamondRecHit::getYWidth(), CTPPSDiamondRecHit::getZ(), CTPPSDiamondRecHit::getZWidth(), hitParametersVectorMap_, yPosition_, yPositionInitial_, yWidth_, yWidthInitial_, zPosition_, zPositionInitial_, zWidth_, and zWidthInitial_.
Referenced by CTPPSDiamondLocalTrackFitter::produce().
void CTPPSDiamondTrackRecognition::clear | ( | void | ) |
Reset the list of hits.
Definition at line 44 of file CTPPSDiamondTrackRecognition.cc.
References hitParametersVectorMap_, mhMap_, yPosition_, yPositionInitial_, yWidth_, yWidthInitial_, zPosition_, zPositionInitial_, zWidth_, and zWidthInitial_.
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_, mps_fire::i, mhMap_, edm::DetSet< T >::push_back(), resolution_, sigma_, startFromX_, stopAtX_, electronIdCutBased_cfi::threshold, threshold_, thresholdFromMaximum_, HiIsolationCommonParameters_cff::track, yPosition_, yWidth_, zPosition_, and zWidth_.
Referenced by CTPPSDiamondLocalTrackFitter::produce().
|
private |
Function for pad efficiency.
Definition at line 74 of file CTPPSDiamondTrackRecognition.h.
Referenced by CTPPSDiamondTrackRecognition(), and produceTracks().
|
private |
Definition at line 75 of file CTPPSDiamondTrackRecognition.h.
Referenced by addHit(), clear(), and produceTracks().
|
private |
Definition at line 76 of file CTPPSDiamondTrackRecognition.h.
Referenced by 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(), clear(), and produceTracks().
|
private |
Definition at line 66 of file CTPPSDiamondTrackRecognition.h.
|
private |
Definition at line 65 of file CTPPSDiamondTrackRecognition.h.
Referenced by addHit(), clear(), and produceTracks().
|
private |
Definition at line 67 of file CTPPSDiamondTrackRecognition.h.
|
private |
Definition at line 68 of file CTPPSDiamondTrackRecognition.h.
Referenced by addHit(), clear(), and produceTracks().
|
private |
Definition at line 70 of file CTPPSDiamondTrackRecognition.h.
|
private |
Definition at line 69 of file CTPPSDiamondTrackRecognition.h.
Referenced by addHit(), clear(), and produceTracks().
|
private |
Definition at line 71 of file CTPPSDiamondTrackRecognition.h.