CMS 3D CMS Logo

TrackletCalculator.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTracklet_interface_TrackletCalculator_h
2 #define L1Trigger_TrackFindingTracklet_interface_TrackletCalculator_h
3 
5 
6 #include <string>
7 #include <vector>
8 
9 namespace trklet {
10 
11  class Settings;
12  class Globals;
13  class TrackletProjectionsMemory;
14  class MemoryBase;
15  class AllStubsMemory;
16  class StubPairsMemory;
17  class VarInv;
18  class VarBase;
19 
21  public:
22  TrackletCalculator(std::string name, Settings const& settings, Globals* globals);
23 
24  ~TrackletCalculator() override = default;
25 
27  void addOutput(MemoryBase* memory, std::string output) override;
28  void addInput(MemoryBase* memory, std::string input) override;
29 
30  void execute(unsigned int iSector, double phimin, double phimax);
31 
32  private:
33  int iTC_;
34 
35  std::vector<AllStubsMemory*> innerallstubs_;
36  std::vector<AllStubsMemory*> outerallstubs_;
37  std::vector<StubPairsMemory*> stubpairs_;
38 
39  void writeInvTable(void (*writeLUT)(const VarInv&, const std::string&));
40  void writeFirmwareDesign(void (*writeDesign)(const std::vector<VarBase*>&, const std::string&));
41  };
42 }; // namespace trklet
43 #endif
input
static const std::string input
Definition: EdmProvDump.cc:48
trklet::TrackletCalculator::addOutputProjection
void addOutputProjection(TrackletProjectionsMemory *&outputProj, MemoryBase *memory)
Definition: TrackletCalculator.cc:81
trklet::TrackletCalculator::outerallstubs_
std::vector< AllStubsMemory * > outerallstubs_
Definition: TrackletCalculator.h:36
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
phimin
float phimin
Definition: ReggeGribovPartonMCHadronizer.h:107
memory
Definition: HGCRecHitSoA.h:20
trklet::TrackletProjectionsMemory
Definition: TrackletProjectionsMemory.h:15
trklet::Settings
Definition: Settings.h:52
trklet::TrackletCalculator::iTC_
int iTC_
Definition: TrackletCalculator.h:33
trklet::TrackletCalculator::TrackletCalculator
TrackletCalculator(std::string name, Settings const &settings, Globals *globals)
Definition: TrackletCalculator.cc:17
trklet::TrackletCalculator::execute
void execute(unsigned int iSector, double phimin, double phimax)
Definition: TrackletCalculator.cc:154
trklet::Globals
Definition: Globals.h:30
trklet::TrackletCalculator::writeInvTable
void writeInvTable(void(*writeLUT)(const VarInv &, const std::string &))
Definition: TrackletCalculator.cc:237
TrackletCalculatorBase.h
trklet::TrackletCalculatorBase
Definition: TrackletCalculatorBase.h:18
trklet::MemoryBase
Definition: MemoryBase.h:13
trklet::TrackletCalculator::writeFirmwareDesign
void writeFirmwareDesign(void(*writeDesign)(const std::vector< VarBase * > &, const std::string &))
Definition: TrackletCalculator.cc:282
trklet::VarInv
Definition: imath.h:955
trklet
Definition: AllInnerStubsMemory.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
phimax
float phimax
Definition: ReggeGribovPartonMCHadronizer.h:106
trklet::TrackletCalculator::~TrackletCalculator
~TrackletCalculator() override=default
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
trklet::TrackletCalculator::addOutput
void addOutput(MemoryBase *memory, std::string output) override
Definition: TrackletCalculator.cc:86
trklet::TrackletCalculator::innerallstubs_
std::vector< AllStubsMemory * > innerallstubs_
Definition: TrackletCalculator.h:35
trklet::TrackletCalculator::addInput
void addInput(MemoryBase *memory, std::string input) override
Definition: TrackletCalculator.cc:128
trklet::TrackletCalculator
Definition: TrackletCalculator.h:20
trklet::TrackletCalculator::stubpairs_
std::vector< StubPairsMemory * > stubpairs_
Definition: TrackletCalculator.h:37