CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
Base class for any algorithm to be used in TTStubBuilder.
virtual std::string AlgorithmName() const
Algorithm name.
const TrackerGeometry *const theTrackerGeom_
Data members.
virtual ~TTStubAlgorithm()
Destructor.
virtual void PatternHitCorrelation(bool &aConfirmation, int &aDisplacement, int &anOffset, float &anHardBend, const TTStub< T > &aTTStub) const
Matching operations.
Class to store the L1 Track Trigger stubs.
Definition: TTStub.h:22
TTStubAlgorithm(const TrackerGeometry *const theTrackerGeom, const TrackerTopology *const theTrackerTopo, std::string fName)
Constructors.
const TrackerTopology *const theTrackerTopo_
std::string className_