CMS 3D CMS Logo

TrackletEngine.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTracklet_interface_TrackletEngine_h
2 #define L1Trigger_TrackFindingTracklet_interface_TrackletEngine_h
3 
5 
6 #include <vector>
7 #include <string>
8 
9 namespace trklet {
10 
11  class Settings;
12  class Globals;
13  class MemoryBase;
14  class VMStubsTEMemory;
15  class StubPairsMemory;
16 
17  class TrackletEngine : public ProcessBase {
18  public:
19  TrackletEngine(std::string name, Settings const& settings, Globals* global, unsigned int iSector);
20 
21  ~TrackletEngine() override = default;
22 
23  void addOutput(MemoryBase* memory, std::string output) override;
24  void addInput(MemoryBase* memory, std::string input) override;
25 
26  void execute();
27 
28  void setVMPhiBin();
29 
30  void writeTETable();
31 
32  private:
33  //Which seed type and which layer/disk is used
34  unsigned int iSeed_;
35  unsigned int layerdisk1_; //inner seeding layer
36  unsigned int layerdisk2_; //outer seeding layer
37 
38  //The input vmstubs memories
41 
42  //The output stub pair memory
44 
45  //The stub pt (bend) lookup table for the inner and outer stub
46  std::vector<bool> pttableinner_;
47  std::vector<bool> pttableouter_;
48 
49  //Number of phi bits used in the lookup table
50  unsigned int innerphibits_;
51  unsigned int outerphibits_;
52  };
53 
54 }; // namespace trklet
55 #endif
trklet::TrackletEngine::innerphibits_
unsigned int innerphibits_
Definition: TrackletEngine.h:50
input
static const std::string input
Definition: EdmProvDump.cc:48
trklet::StubPairsMemory
Definition: StubPairsMemory.h:13
trklet::TrackletEngine::~TrackletEngine
~TrackletEngine() override=default
trklet::TrackletEngine::addInput
void addInput(MemoryBase *memory, std::string input) override
Definition: TrackletEngine.cc:40
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:32
trklet::TrackletEngine::outerphibits_
unsigned int outerphibits_
Definition: TrackletEngine.h:51
trklet::Settings
Definition: Settings.h:26
trklet::TrackletEngine::layerdisk2_
unsigned int layerdisk2_
Definition: TrackletEngine.h:36
trklet::VMStubsTEMemory
Definition: VMStubsTEMemory.h:16
trklet::TrackletEngine::outervmstubs_
VMStubsTEMemory * outervmstubs_
Definition: TrackletEngine.h:40
trklet::Globals
Definition: Globals.h:32
trklet::TrackletEngine::setVMPhiBin
void setVMPhiBin()
Definition: TrackletEngine.cc:143
trklet::TrackletEngine::pttableinner_
std::vector< bool > pttableinner_
Definition: TrackletEngine.h:46
trklet::TrackletEngine::writeTETable
void writeTETable()
Definition: TrackletEngine.cc:267
trklet::TrackletEngine::pttableouter_
std::vector< bool > pttableouter_
Definition: TrackletEngine.h:47
trklet::TrackletEngine::iSeed_
unsigned int iSeed_
Definition: TrackletEngine.h:34
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
trklet::MemoryBase
Definition: MemoryBase.h:13
trklet::TrackletEngine::execute
void execute()
Definition: TrackletEngine.cc:62
trklet::TrackletEngine::layerdisk1_
unsigned int layerdisk1_
Definition: TrackletEngine.h:35
trklet
Definition: AllProjectionsMemory.h:9
trklet::TrackletEngine
Definition: TrackletEngine.h:17
ProcessBase.h
trklet::TrackletEngine::addOutput
void addOutput(MemoryBase *memory, std::string output) override
Definition: TrackletEngine.cc:26
trklet::ProcessBase
Definition: ProcessBase.h:12
trklet::TrackletEngine::TrackletEngine
TrackletEngine(std::string name, Settings const &settings, Globals *global, unsigned int iSector)
Definition: TrackletEngine.cc:14
trklet::TrackletEngine::innervmstubs_
VMStubsTEMemory * innervmstubs_
Definition: TrackletEngine.h:39
trklet::TrackletEngine::stubpairs_
StubPairsMemory * stubpairs_
Definition: TrackletEngine.h:43
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
memory
Definition: vlib.h:178