RecoPPS
Local
interface
CTPPSDiamondTrackRecognition.h
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* This is a part of CTPPS offline software.
4
* Authors:
5
* Laurent Forthomme (laurent.forthomme@cern.ch)
6
* Nicola Minafra (nicola.minafra@cern.ch)
7
* Mateusz Szpyrka (mateusz.szpyrka@cern.ch)
8
*
9
****************************************************************************/
10
11
#ifndef RecoPPS_Local_CTPPSDiamondTrackRecognition
12
#define RecoPPS_Local_CTPPSDiamondTrackRecognition
13
14
#include "
DataFormats/Common/interface/DetSet.h
"
15
#include "
DataFormats/CTPPSReco/interface/CTPPSDiamondRecHit.h
"
16
#include "
DataFormats/CTPPSReco/interface/CTPPSDiamondLocalTrack.h
"
17
18
#include "
RecoPPS/Local/interface/CTPPSTimingTrackRecognition.h
"
19
20
#include <unordered_map>
21
26
class
CTPPSDiamondTrackRecognition
:
public
CTPPSTimingTrackRecognition
<CTPPSDiamondLocalTrack, CTPPSDiamondRecHit> {
27
public
:
28
CTPPSDiamondTrackRecognition
(
const
edm::ParameterSet
& iConfig);
29
30
void
clear
()
override
;
32
void
addHit
(
const
CTPPSDiamondRecHit
&
recHit
)
override
;
34
int
produceTracks
(
edm::DetSet<CTPPSDiamondLocalTrack>
&
tracks
)
override
;
35
36
private
:
37
std::unordered_map<int, int>
mhMap_
;
38
bool
excludeSingleEdgeHits_
;
39
};
40
41
#endif
edm::DetSet
Definition:
DetSet.h:23
CTPPSDiamondTrackRecognition::CTPPSDiamondTrackRecognition
CTPPSDiamondTrackRecognition(const edm::ParameterSet &iConfig)
Definition:
CTPPSDiamondTrackRecognition.cc:14
CTPPSDiamondRecHit
Reconstructed hit in diamond detectors.
Definition:
CTPPSDiamondRecHit.h:16
CTPPSDiamondTrackRecognition::mhMap_
std::unordered_map< int, int > mhMap_
Definition:
CTPPSDiamondTrackRecognition.h:44
CTPPSTimingTrackRecognition
Definition:
CTPPSTimingTrackRecognition.h:30
CTPPSDiamondTrackRecognition::excludeSingleEdgeHits_
bool excludeSingleEdgeHits_
Definition:
CTPPSDiamondTrackRecognition.h:45
rpcPointValidation_cfi.recHit
recHit
Definition:
rpcPointValidation_cfi.py:7
CTPPSDiamondTrackRecognition::addHit
void addHit(const CTPPSDiamondRecHit &recHit) override
Feed a new hit to the tracks recognition algorithm.
Definition:
CTPPSDiamondTrackRecognition.cc:27
CTPPSDiamondTrackRecognition::clear
void clear() override
Reset internal state of a class instance.
Definition:
CTPPSDiamondTrackRecognition.cc:20
CTPPSDiamondRecHit.h
CTPPSTimingTrackRecognition.h
CTPPSDiamondTrackRecognition
Class performing smart reconstruction for PPS Diamond Detectors.
Definition:
CTPPSDiamondTrackRecognition.h:26
edm::ParameterSet
Definition:
ParameterSet.h:47
tracks
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
Definition:
CAHitNtupletGeneratorKernelsImpl.h:176
CTPPSDiamondLocalTrack.h
DetSet.h
CTPPSDiamondTrackRecognition::produceTracks
int produceTracks(edm::DetSet< CTPPSDiamondLocalTrack > &tracks) override
Produce a collection of tracks for the current station, given its hits collection.
Definition:
CTPPSDiamondTrackRecognition.cc:36
Generated for CMSSW Reference Manual by
1.8.16