CMS 3D CMS Logo

MatchCalculator.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTracklet_interface_MatchCalculator_h
2 #define L1Trigger_TrackFindingTracklet_interface_MatchCalculator_h
3 
7 
8 #include <string>
9 #include <vector>
10 
11 namespace trklet {
12 
13  class Globals;
14  class Stub;
15  class L1TStub;
16  class Tracklet;
17  class AllStubsMemory;
18  class AllProjectionsMemory;
19  class CandidateMatchMemory;
20  class FullMatchMemory;
21 
22  class MatchCalculator : public ProcessBase {
23  public:
24  MatchCalculator(std::string name, Settings const& settings, Globals* global);
25 
26  ~MatchCalculator() override = default;
27 
28  void addOutput(MemoryBase* memory, std::string output) override;
29  void addInput(MemoryBase* memory, std::string input) override;
30 
31  void execute(double phioffset);
32 
33  std::vector<std::pair<std::pair<Tracklet*, int>, const Stub*> > mergeMatches(
34  std::vector<CandidateMatchMemory*>& candmatch);
35 
36  private:
37  unsigned int layerdisk_;
38  unsigned int phiregion_;
39 
40  int fact_;
44 
47 
52 
55 
58 
59  std::vector<CandidateMatchMemory*> matches_;
60  std::vector<FullMatchMemory*> fullMatches_;
61  };
62 
63 }; // namespace trklet
64 #endif
void execute(double phioffset)
MatchCalculator(std::string name, Settings const &settings, Globals *global)
~MatchCalculator() override=default
constexpr unsigned int N_DSS_MOD
Definition: Settings.h:27
static std::string const input
Definition: EdmProvDump.cc:47
void addOutput(MemoryBase *memory, std::string output) override
AllStubsMemory * allstubs_
std::vector< CandidateMatchMemory * > matches_
AllProjectionsMemory * allprojs_
std::vector< std::pair< std::pair< Tracklet *, int >, const Stub * > > mergeMatches(std::vector< CandidateMatchMemory *> &candmatch)
void addInput(MemoryBase *memory, std::string input) override
int ialphafactouter_[N_DSS_MOD *2]
int ialphafactinner_[N_DSS_MOD *2]
std::vector< FullMatchMemory * > fullMatches_