CMS 3D CMS Logo

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
trklet::TripletEngine::~TripletEngine
~TripletEngine() override
Definition: TripletEngine.cc:72
trklet::TripletEngine::secondphibits_
int secondphibits_
Definition: TripletEngine.h:63
input
static const std::string input
Definition: EdmProvDump.cc:48
trklet::TripletEngine::tmpSPTable_
std::map< std::string, std::vector< std::vector< std::string > > > tmpSPTable_
Definition: TripletEngine.h:59
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
trklet::TripletEngine::dct3_
int dct3_
Definition: TripletEngine.h:43
memory
Definition: HGCRecHitSoA.h:20
trklet::TripletEngine::disk1_
int disk1_
Definition: TripletEngine.h:38
trklet::Settings
Definition: Settings.h:52
trklet::TripletEngine::addInput
void addInput(MemoryBase *memory, std::string input) override
Definition: TripletEngine.cc:91
trklet::TripletEngine::phi2_
int phi2_
Definition: TripletEngine.h:45
trklet::TripletEngine::layer1_
int layer1_
Definition: TripletEngine.h:35
trklet::TripletEngine::r3_
int r3_
Definition: TripletEngine.h:52
trklet::Globals
Definition: Globals.h:30
trklet::TripletEngine::z1_
int z1_
Definition: TripletEngine.h:47
trklet::TripletEngine::thirdphibits_
int thirdphibits_
Definition: TripletEngine.h:64
StubTripletsMemory.h
trklet::TripletEngine::disk2_
int disk2_
Definition: TripletEngine.h:39
trklet::TripletEngine::addOutput
void addOutput(MemoryBase *memory, std::string output) override
Definition: TripletEngine.cc:77
trklet::TripletEngine::layer3_
int layer3_
Definition: TripletEngine.h:37
trklet::TripletEngine::r2_
int r2_
Definition: TripletEngine.h:51
trklet::TripletEngine::r1_
int r1_
Definition: TripletEngine.h:50
trklet::TripletEngine::table_
std::vector< bool > table_
Definition: TripletEngine.h:61
trklet::TripletEngine::thirdvmstubs_
std::vector< VMStubsTEMemory * > thirdvmstubs_
Definition: TripletEngine.h:54
trklet::MemoryBase
Definition: MemoryBase.h:13
trklet::TripletEngine::execute
void execute()
Definition: TripletEngine.cc:111
trklet::TripletEngine::spTable_
std::map< std::string, std::vector< std::map< std::string, unsigned > > > spTable_
Definition: TripletEngine.h:60
trklet::TripletEngine::count_
int count_
Definition: TripletEngine.h:33
StubPairsMemory.h
trklet::TripletEngine::stubtriplets_
StubTripletsMemory * stubtriplets_
Definition: TripletEngine.h:57
trklet::TripletEngine::readTables
void readTables()
Definition: TripletEngine.cc:441
trklet
Definition: AllInnerStubsMemory.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
VMStubsTEMemory.h
trklet::TripletEngine::phi1_
int phi1_
Definition: TripletEngine.h:44
ProcessBase.h
trklet::TripletEngine::phi3_
int phi3_
Definition: TripletEngine.h:46
trklet::ProcessBase
Definition: ProcessBase.h:12
trklet::TripletEngine::disk3_
int disk3_
Definition: TripletEngine.h:40
trklet::TripletEngine::z2_
int z2_
Definition: TripletEngine.h:48
trklet::TripletEngine::writeTables
void writeTables()
Definition: TripletEngine.cc:462
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
trklet::TripletEngine::dct1_
int dct1_
Definition: TripletEngine.h:41
trklet::TripletEngine::TripletEngine
TripletEngine(std::string name, Settings const &settings, Globals *global)
Definition: TripletEngine.cc:13
trklet::TripletEngine::stubpairs_
std::vector< StubPairsMemory * > stubpairs_
Definition: TripletEngine.h:55
trklet::TripletEngine::dct2_
int dct2_
Definition: TripletEngine.h:42
trklet::TripletEngine::iSeed_
int iSeed_
Definition: TripletEngine.h:66
trklet::TripletEngine::z3_
int z3_
Definition: TripletEngine.h:49
trklet::TripletEngine::layer2_
int layer2_
Definition: TripletEngine.h:36
trklet::StubTripletsMemory
Definition: StubTripletsMemory.h:14
trklet::TripletEngine
Definition: TripletEngine.h:18