CMS 3D CMS Logo

TrackletProcessor.h
Go to the documentation of this file.
1 // TrackletProcessor: this class is an evolved version, performing the tasks of the TrackletEngine+TrackletCalculator.
2 // It will combine TEs that feed into a TC to a single module.
3 #ifndef L1Trigger_TrackFindingTracklet_interface_TrackletProcessor_h
4 #define L1Trigger_TrackFindingTracklet_interface_TrackletProcessor_h
5 
11 
12 #include <vector>
13 #include <map>
14 
15 namespace trklet {
16 
17  class Settings;
18  class Globals;
19  class MemoryBase;
20 
22  public:
23  TrackletProcessor(std::string name, Settings const& settings, Globals* globals, unsigned int iSector);
24 
25  ~TrackletProcessor() override = default;
26 
28 
29  void addOutput(MemoryBase* memory, std::string output) override;
30 
31  void addInput(MemoryBase* memory, std::string input) override;
32 
33  void execute();
34 
35  void setVMPhiBin();
36 
37  void writeTETable();
38 
39  private:
40  int iTC_;
41 
42  std::vector<VMStubsTEMemory*> innervmstubs_;
43  std::vector<VMStubsTEMemory*> outervmstubs_;
44 
45  std::vector<AllStubsMemory*> innerallstubs_;
46  std::vector<AllStubsMemory*> outerallstubs_;
47 
48  bool extra_;
49 
50  std::map<unsigned int, std::vector<bool> > phitable_;
51  std::map<unsigned int, std::vector<bool> > pttableinner_;
52  std::map<unsigned int, std::vector<bool> > pttableouter_;
53 
56  };
57 
58 }; // namespace trklet
59 #endif
input
static const std::string input
Definition: EdmProvDump.cc:48
trklet::TrackletProcessor::TrackletProcessor
TrackletProcessor(std::string name, Settings const &settings, Globals *globals, unsigned int iSector)
Definition: TrackletProcessor.cc:14
AllStubsMemory.h
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:32
trklet::TrackletProjectionsMemory
Definition: TrackletProjectionsMemory.h:15
trklet::Settings
Definition: Settings.h:26
trklet::TrackletProcessor::pttableouter_
std::map< unsigned int, std::vector< bool > > pttableouter_
Definition: TrackletProcessor.h:52
trklet::TrackletProcessor::extra_
bool extra_
Definition: TrackletProcessor.h:48
trklet::Globals
Definition: Globals.h:32
trklet::TrackletProcessor::pttableinner_
std::map< unsigned int, std::vector< bool > > pttableinner_
Definition: TrackletProcessor.h:51
TrackletProjectionsMemory.h
trklet::TrackletProcessor::innerallstubs_
std::vector< AllStubsMemory * > innerallstubs_
Definition: TrackletProcessor.h:45
trklet::TrackletProcessor::outerphibits_
int outerphibits_
Definition: TrackletProcessor.h:55
TrackletCalculatorBase.h
trklet::TrackletCalculatorBase
Definition: TrackletCalculatorBase.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
trklet::MemoryBase
Definition: MemoryBase.h:13
trklet::TrackletProcessor::~TrackletProcessor
~TrackletProcessor() override=default
trklet::TrackletProcessor::innerphibits_
int innerphibits_
Definition: TrackletProcessor.h:54
StubPairsMemory.h
trklet::TrackletProcessor::execute
void execute()
Definition: TrackletProcessor.cc:207
trklet::TrackletProcessor::writeTETable
void writeTETable()
Definition: TrackletProcessor.cc:917
trklet::TrackletProcessor::setVMPhiBin
void setVMPhiBin()
Definition: TrackletProcessor.cc:586
trklet::TrackletProcessor::outerallstubs_
std::vector< AllStubsMemory * > outerallstubs_
Definition: TrackletProcessor.h:46
trklet
Definition: AllProjectionsMemory.h:9
trklet::TrackletProcessor::innervmstubs_
std::vector< VMStubsTEMemory * > innervmstubs_
Definition: TrackletProcessor.h:42
VMStubsTEMemory.h
trklet::TrackletProcessor::addOutputProjection
void addOutputProjection(TrackletProjectionsMemory *&outputProj, MemoryBase *memory)
Definition: TrackletProcessor.cc:125
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
trklet::TrackletProcessor::outervmstubs_
std::vector< VMStubsTEMemory * > outervmstubs_
Definition: TrackletProcessor.h:43
trklet::TrackletProcessor::iTC_
int iTC_
Definition: TrackletProcessor.h:40
trklet::TrackletProcessor
Definition: TrackletProcessor.h:21
memory
Definition: vlib.h:178
trklet::TrackletProcessor::addOutput
void addOutput(MemoryBase *memory, std::string output) override
Definition: TrackletProcessor.cc:130
trklet::TrackletProcessor::phitable_
std::map< unsigned int, std::vector< bool > > phitable_
Definition: TrackletProcessor.h:50
trklet::TrackletProcessor::addInput
void addInput(MemoryBase *memory, std::string input) override
Definition: TrackletProcessor.cc:172