CMS 3D CMS Logo

MatchCalculator.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTracklet_interface_MatchCalculator_h
2 #define L1Trigger_TrackFindingTracklet_interface_MatchCalculator_h
3 
7 
8 #include <string>
9 #include <vector>
10 
11 namespace trklet {
12 
13  class Globals;
14  class Stub;
15  class L1TStub;
16  class Tracklet;
17  class AllStubsMemory;
18  class AllProjectionsMemory;
19  class CandidateMatchMemory;
20  class FullMatchMemory;
21 
22  class MatchCalculator : public ProcessBase {
23  public:
24  MatchCalculator(std::string name, Settings const& settings, Globals* global);
25 
26  ~MatchCalculator() override = default;
27 
28  void addOutput(MemoryBase* memory, std::string output) override;
29  void addInput(MemoryBase* memory, std::string input) override;
30 
31  void execute(double phioffset);
32 
33  std::vector<std::pair<std::pair<Tracklet*, int>, const Stub*> > mergeMatches(
34  std::vector<CandidateMatchMemory*>& candmatch);
35 
36  private:
37  unsigned int layerdisk_;
38  unsigned int phiregion_;
39 
40  int fact_;
44 
47 
52 
55 
58 
59  std::vector<CandidateMatchMemory*> matches_;
60  std::vector<FullMatchMemory*> fullMatches_;
61  };
62 
63 }; // namespace trklet
64 #endif
trklet::MatchCalculator::MatchCalculator
MatchCalculator(std::string name, Settings const &settings, Globals *global)
Definition: MatchCalculator.cc:21
Settings.h
trklet::AllStubsMemory
Definition: AllStubsMemory.h:16
trklet::MatchCalculator::phiregion_
unsigned int phiregion_
Definition: MatchCalculator.h:38
input
static const std::string input
Definition: EdmProvDump.cc:48
trklet::MatchCalculator
Definition: MatchCalculator.h:22
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
trklet::MatchCalculator::zmatchcuttable_
TrackletLUT zmatchcuttable_
Definition: MatchCalculator.h:46
memory
Definition: HGCRecHitSoA.h:20
TrackletLUT.h
trklet::Settings
Definition: Settings.h:52
trklet::TrackletLUT
Definition: TrackletLUT.h:12
trklet::MatchCalculator::execute
void execute(double phioffset)
Definition: MatchCalculator.cc:116
trklet::AllProjectionsMemory
Definition: AllProjectionsMemory.h:14
trklet::MatchCalculator::addInput
void addInput(MemoryBase *memory, std::string input) override
Definition: MatchCalculator.cc:90
trklet::Globals
Definition: Globals.h:30
trklet::MatchCalculator::icorzshift_
int icorzshift_
Definition: MatchCalculator.h:42
trklet::MatchCalculator::~MatchCalculator
~MatchCalculator() override=default
trklet::MatchCalculator::allprojs_
AllProjectionsMemory * allprojs_
Definition: MatchCalculator.h:57
trklet::MatchCalculator::rcut2Stable_
TrackletLUT rcut2Stable_
Definition: MatchCalculator.h:51
trklet::Stub
Definition: Stub.h:18
trklet::MatchCalculator::ialphafactouter_
int ialphafactouter_[N_DSS_MOD *2]
Definition: MatchCalculator.h:54
trklet::MatchCalculator::addOutput
void addOutput(MemoryBase *memory, std::string output) override
Definition: MatchCalculator.cc:75
trklet::MatchCalculator::fullMatches_
std::vector< FullMatchMemory * > fullMatches_
Definition: MatchCalculator.h:60
trklet::MatchCalculator::rcutPStable_
TrackletLUT rcutPStable_
Definition: MatchCalculator.h:50
trklet::MatchCalculator::phimatchcuttable_
TrackletLUT phimatchcuttable_
Definition: MatchCalculator.h:45
trklet::MatchCalculator::phi0shift_
int phi0shift_
Definition: MatchCalculator.h:43
trklet::MemoryBase
Definition: MemoryBase.h:13
trklet::N_DSS_MOD
constexpr unsigned int N_DSS_MOD
Definition: Settings.h:27
trklet::MatchCalculator::icorrshift_
int icorrshift_
Definition: MatchCalculator.h:41
trklet::MatchCalculator::matches_
std::vector< CandidateMatchMemory * > matches_
Definition: MatchCalculator.h:59
trklet::MatchCalculator::layerdisk_
unsigned int layerdisk_
Definition: MatchCalculator.h:37
trklet
Definition: AllInnerStubsMemory.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ProcessBase.h
trklet::ProcessBase
Definition: ProcessBase.h:12
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
trklet::MatchCalculator::ialphafactinner_
int ialphafactinner_[N_DSS_MOD *2]
Definition: MatchCalculator.h:53
trklet::MatchCalculator::rphicutPStable_
TrackletLUT rphicutPStable_
Definition: MatchCalculator.h:48
trklet::MatchCalculator::allstubs_
AllStubsMemory * allstubs_
Definition: MatchCalculator.h:56
trklet::MatchCalculator::fact_
int fact_
Definition: MatchCalculator.h:40
trklet::MatchCalculator::mergeMatches
std::vector< std::pair< std::pair< Tracklet *, int >, const Stub * > > mergeMatches(std::vector< CandidateMatchMemory * > &candmatch)
Definition: MatchCalculator.cc:427
trklet::MatchCalculator::rphicut2Stable_
TrackletLUT rphicut2Stable_
Definition: MatchCalculator.h:49