CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TripletEngine.h
Go to the documentation of this file.
1 // TripletEngine: Adds third stub to stub pairs found by TrackletEngineDisplaced to form "triplet" seeds for the displaced (extended) tracking
2 #ifndef L1Trigger_TrackFindingTracklet_interface_TripletEngine_h
3 #define L1Trigger_TrackFindingTracklet_interface_TripletEngine_h
4 
9 
10 #include <vector>
11 #include <map>
12 
13 namespace trklet {
14 
15  class Settings;
16  class Globals;
17 
18  class TripletEngine : public ProcessBase {
19  public:
20  TripletEngine(std::string name, Settings const& settings, Globals* global);
21 
22  ~TripletEngine() override;
23 
24  void addOutput(MemoryBase* memory, std::string output) override;
25  void addInput(MemoryBase* memory, std::string input) override;
26 
27  void execute();
28 
29  void readTables();
30  void writeTables();
31 
32  private:
33  int count_;
34 
35  int layer1_;
36  int layer2_;
37  int layer3_;
38  int disk1_;
39  int disk2_;
40  int disk3_;
41  int dct1_;
42  int dct2_;
43  int dct3_;
44  int phi1_;
45  int phi2_;
46  int phi3_;
47  int z1_;
48  int z2_;
49  int z3_;
50  int r1_;
51  int r2_;
52  int r3_;
53 
54  std::vector<VMStubsTEMemory*> thirdvmstubs_;
55  std::vector<StubPairsMemory*> stubpairs_;
56 
58 
59  std::map<std::string, std::vector<std::vector<std::string> > > tmpSPTable_;
60  std::map<std::string, std::vector<std::map<std::string, unsigned> > > spTable_;
61  std::vector<bool> table_;
62 
65 
66  int iSeed_;
67  };
68 
69 }; // namespace trklet
70 #endif
std::map< std::string, std::vector< std::vector< std::string > > > tmpSPTable_
Definition: TripletEngine.h:59
void addInput(MemoryBase *memory, std::string input) override
static std::string const input
Definition: EdmProvDump.cc:47
std::vector< bool > table_
Definition: TripletEngine.h:61
void addOutput(MemoryBase *memory, std::string output) override
std::vector< VMStubsTEMemory * > thirdvmstubs_
Definition: TripletEngine.h:54
StubTripletsMemory * stubtriplets_
Definition: TripletEngine.h:57
std::map< std::string, std::vector< std::map< std::string, unsigned > > > spTable_
Definition: TripletEngine.h:60
std::vector< StubPairsMemory * > stubpairs_
Definition: TripletEngine.h:55
TripletEngine(std::string name, Settings const &settings, Globals *global)