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 RecoCTPPS_TotemRPLocal_CTPPSDiamondTrackRecognition
12 #define RecoCTPPS_TotemRPLocal_CTPPSDiamondTrackRecognition
13 
17 
19 
20 #include <unordered_map>
21 
26 class CTPPSDiamondTrackRecognition : public CTPPSTimingTrackRecognition<CTPPSDiamondLocalTrack, CTPPSDiamondRecHit>
27 {
28  public:
30 
31  void clear() override;
33  void addHit( const CTPPSDiamondRecHit& recHit ) override;
36 
37  private:
38  std::unordered_map<int,int> mhMap_;
40 };
41 
42 #endif
43 
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)
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.
std::unordered_map< int, int > mhMap_