CMS 3D CMS Logo

StubWindowSuggest.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTMTT_StubWindowsSuggest_h
2 #define L1Trigger_TrackFindingTMTT_StubWindowsSuggest_h
3 
6 
7 #include <vector>
8 #include <memory>
9 
10 class TrackerTopology;
11 
12 namespace tmtt {
13 
14  class Stub;
15 
29  public:
30  // Configure
31  StubWindowSuggest(const Settings* settings) : settings_(settings), ptMin_(settings->houghMinPt()) {}
32 
33  // Get FE window size arrays (via copy) used with stub producer, but set to zero.
34  void setFEWindows(const StubFEWindows* sw);
35 
36  // Analyse stub window required for this stub.
37  void process(const TrackerTopology* trackerTopo, const Stub* stub);
38 
39  // Print results (should be done in endJob();
40  void printResults() const;
41 
42  private:
43  // Update stored stub window size with this stub.
44  void updateStoredWindow(const TrackerTopology* trackerTopo, const Stub* stub, double bendWind);
45 
46  private:
47  // Configuration parameters.
49  const float ptMin_;
50 
51  // Stub window sizes as encoded in L1Trigger/TrackTrigger/interface/TTStubAlgorithm_official.h
52  std::unique_ptr<StubFEWindows> sw_;
53  };
54 
55 } // namespace tmtt
56 
57 #endif
TrackerTopology
Definition: TrackerTopology.h:16
tmtt::StubWindowSuggest::process
void process(const TrackerTopology *trackerTopo, const Stub *stub)
Definition: StubWindowSuggest.cc:30
tmtt::StubWindowSuggest
Definition: StubWindowSuggest.h:28
tmtt::StubWindowSuggest::sw_
std::unique_ptr< StubFEWindows > sw_
Definition: StubWindowSuggest.h:52
tmtt::StubFEWindows
Definition: StubFEWindows.h:15
tmtt::StubWindowSuggest::StubWindowSuggest
StubWindowSuggest(const Settings *settings)
Definition: StubWindowSuggest.h:31
tmtt::Settings
Definition: Settings.h:17
tmtt::StubWindowSuggest::ptMin_
const float ptMin_
Definition: StubWindowSuggest.h:49
tmtt::StubWindowSuggest::setFEWindows
void setFEWindows(const StubFEWindows *sw)
Definition: StubWindowSuggest.cc:18
StubFEWindows.h
Settings.h
tmtt::StubWindowSuggest::settings_
const Settings * settings_
Definition: StubWindowSuggest.h:48
tmtt::StubWindowSuggest::updateStoredWindow
void updateStoredWindow(const TrackerTopology *trackerTopo, const Stub *stub, double bendWind)
Definition: StubWindowSuggest.cc:48
tmtt::Stub
Definition: Stub.h:43
tmtt::StubWindowSuggest::printResults
void printResults() const
Definition: StubWindowSuggest.cc:63
tmtt
=== This is the base class for the linearised chi-squared track fit algorithms.
Definition: Array2D.h:16