CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TrackletEngineDisplaced.h
Go to the documentation of this file.
1 // TrackletEngineDisplaced: this class forms tracklets (pairs of stubs) w/o beamspot constraint for the displaced (extended) tracking.
2 // Triplet seeds are formed in the TripletEngine from these (=TrackletEngineDisplaced) + a third stub.
3 #ifndef L1Trigger_TrackFindingTracklet_interface_TrackletEngineDisplaced_h
4 #define L1Trigger_TrackFindingTracklet_interface_TrackletEngineDisplaced_h
5 
7 
8 #include <string>
9 #include <vector>
10 #include <set>
11 
12 namespace trklet {
13 
14  class Settings;
15  class Globals;
16  class MemoryBase;
17  class VMStubsTEMemory;
18  class StubPairsMemory;
19 
21  public:
22  TrackletEngineDisplaced(std::string name, Settings const& settings, Globals* global);
23 
24  ~TrackletEngineDisplaced() override;
25 
26  void addOutput(MemoryBase* memory, std::string output) override;
27  void addInput(MemoryBase* memory, std::string input) override;
28 
29  void execute();
30 
31  void readTables();
32 
33  short memNameToIndex(const std::string& name);
34 
35  private:
36  int layer1_;
37  int layer2_;
38  int disk1_;
39  int disk2_;
40 
41  std::vector<VMStubsTEMemory*> firstvmstubs_;
43 
44  std::vector<StubPairsMemory*> stubpairs_;
45 
46  std::vector<std::set<short> > table_;
47 
50 
51  int iSeed_;
52  };
53 }; // namespace trklet
54 #endif
short memNameToIndex(const std::string &name)
void addOutput(MemoryBase *memory, std::string output) override
TrackletEngineDisplaced(std::string name, Settings const &settings, Globals *global)
void addInput(MemoryBase *memory, std::string input) override
static std::string const input
Definition: EdmProvDump.cc:47
std::vector< VMStubsTEMemory * > firstvmstubs_
std::vector< std::set< short > > table_
std::vector< StubPairsMemory * > stubpairs_