CMS 3D CMS Logo

TTStubAlgorithm.h
Go to the documentation of this file.
1 
15 #ifndef L1_TRACK_TRIGGER_STUB_ALGO_BASE_H
16 #define L1_TRACK_TRIGGER_STUB_ALGO_BASE_H
17 
22 
23 #include <sstream>
24 #include <string>
25 #include <map>
26 #include "classNameFinder.h"
27 
28 template <typename T>
30 protected:
35 
36 public:
38  TTStubAlgorithm(const TrackerGeometry *const theTrackerGeom,
39  const TrackerTopology *const theTrackerTopo,
41  : theTrackerGeom_(theTrackerGeom), theTrackerTopo_(theTrackerTopo) {
42  className_ = classNameFinder<T>(fName);
43  }
44 
46  virtual ~TTStubAlgorithm() {}
47 
49  virtual void PatternHitCorrelation(
50  bool &aConfirmation, int &aDisplacement, int &anOffset, float &anHardBend, const TTStub<T> &aTTStub) const {}
51  // Removed real offset. Ivan Reid 10/2019
52 
54  virtual std::string AlgorithmName() const { return className_; }
55 
56 };
57 
58 #endif
TTStubAlgorithm::TTStubAlgorithm
TTStubAlgorithm(const TrackerGeometry *const theTrackerGeom, const TrackerTopology *const theTrackerTopo, std::string fName)
Constructors.
Definition: TTStubAlgorithm.h:38
TTStubAlgorithm
Base class for any algorithm to be used in TTStubBuilder.
Definition: TTStubAlgorithm.h:29
TTStubAlgorithm::className_
std::string className_
Definition: TTStubAlgorithm.h:34
TrackerGeometry.h
TTTypes.h
TrackerTopology
Definition: TrackerTopology.h:16
MainPageGenerator.fName
fName
Definition: MainPageGenerator.py:301
TrackerTopology.h
classNameFinder.h
TTStubAlgorithm::theTrackerGeom_
const TrackerGeometry *const theTrackerGeom_
Data members.
Definition: TTStubAlgorithm.h:32
TTStub
Class to store the L1 Track Trigger stubs.
Definition: TTStub.h:22
TTStubAlgorithm::theTrackerTopo_
const TrackerTopology *const theTrackerTopo_
Definition: TTStubAlgorithm.h:33
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MagneticField.h
TTStubAlgorithm::PatternHitCorrelation
virtual void PatternHitCorrelation(bool &aConfirmation, int &aDisplacement, int &anOffset, float &anHardBend, const TTStub< T > &aTTStub) const
Matching operations.
Definition: TTStubAlgorithm.h:49
TTStubAlgorithm::AlgorithmName
virtual std::string AlgorithmName() const
Algorithm name.
Definition: TTStubAlgorithm.h:54
TTStubAlgorithm::~TTStubAlgorithm
virtual ~TTStubAlgorithm()
Destructor.
Definition: TTStubAlgorithm.h:46
TrackerGeometry
Definition: TrackerGeometry.h:14