CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TrackletCalculator.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTracklet_interface_TrackletCalculator_h
2 #define L1Trigger_TrackFindingTracklet_interface_TrackletCalculator_h
3 
5 
6 #include <string>
7 #include <vector>
8 
9 namespace trklet {
10 
11  class Settings;
12  class Globals;
13  class TrackletProjectionsMemory;
14  class MemoryBase;
15  class AllStubsMemory;
16  class StubPairsMemory;
17  class VarInv;
18  class VarBase;
19 
21  public:
22  TrackletCalculator(std::string name, Settings const& settings, Globals* globals);
23 
24  ~TrackletCalculator() override = default;
25 
26  void addOutputProjection(TrackletProjectionsMemory*& outputProj, MemoryBase* memory);
27  void addOutput(MemoryBase* memory, std::string output) override;
28  void addInput(MemoryBase* memory, std::string input) override;
29 
30  void execute(unsigned int iSector, double phimin, double phimax);
31 
32  private:
33  int iTC_;
34 
35  std::vector<AllStubsMemory*> innerallstubs_;
36  std::vector<AllStubsMemory*> outerallstubs_;
37  std::vector<StubPairsMemory*> stubpairs_;
38 
39  void writeInvTable(void (*writeLUT)(const VarInv&, const std::string&));
40  void writeFirmwareDesign(void (*writeDesign)(const std::vector<VarBase*>&, const std::string&));
41  };
42 }; // namespace trklet
43 #endif
void writeFirmwareDesign(void(*writeDesign)(const std::vector< VarBase * > &, const std::string &))
~TrackletCalculator() override=default
void addOutput(MemoryBase *memory, std::string output) override
std::vector< AllStubsMemory * > innerallstubs_
static std::string const input
Definition: EdmProvDump.cc:47
void addInput(MemoryBase *memory, std::string input) override
std::vector< StubPairsMemory * > stubpairs_
void addOutputProjection(TrackletProjectionsMemory *&outputProj, MemoryBase *memory)
std::vector< AllStubsMemory * > outerallstubs_
TrackletCalculator(std::string name, Settings const &settings, Globals *globals)
void execute(unsigned int iSector, double phimin, double phimax)
void writeInvTable(void(*writeLUT)(const VarInv &, const std::string &))