CMS 3D CMS Logo

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 
17 
19 
20 #include <unordered_map>
21 
26 class CTPPSDiamondTrackRecognition : public CTPPSTimingTrackRecognition<CTPPSDiamondLocalTrack, CTPPSDiamondRecHit> {
27 public:
29 
30  void clear() override;
32  void addHit(const CTPPSDiamondRecHit& recHit) override;
35 
36 private:
37  std::unordered_map<int, int> mhMap_;
39 };
40 
41 #endif
Reconstructed hit in diamond detectors.
int produceTracks(edm::DetSet< CTPPSDiamondLocalTrack > &tracks) override
Produce a collection of tracks for the current station, given its hits collection.
CTPPSDiamondTrackRecognition(const edm::ParameterSet &iConfig)
auto const & tracks
cannot be loose
std::unordered_map< int, int > mhMap_
Class performing smart reconstruction for PPS Diamond Detectors.
void addHit(const CTPPSDiamondRecHit &recHit) override
Feed a new hit to the tracks recognition algorithm.
void clear() override
Reset internal state of a class instance.