CMS 3D CMS Logo

FitTrack.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTracklet_interface_FitTrack_H
2 #define L1Trigger_TrackFindingTracklet_interface_FitTrack_H
3 
8 
9 #include <vector>
10 
11 namespace trklet {
12 
13  class Settings;
14  class Globals;
15  class Stub;
16  class L1TStub;
17 
18  class FitTrack : public ProcessBase {
19  public:
20  FitTrack(std::string name, Settings const& settings, Globals* global, unsigned int iSector);
21 
22  ~FitTrack() override = default;
23 
24  void addOutput(MemoryBase* memory, std::string output) override;
25 
26  void addInput(MemoryBase* memory, std::string input) override;
27 
28  // used if USEHYBRID is not defined
29  void trackFitChisq(Tracklet* tracklet, std::vector<const Stub*>&, std::vector<std::pair<int, int>>&);
30 
31  // used if USEHYBRID is defined
32  void trackFitKF(Tracklet* tracklet,
33  std::vector<const Stub*>& trackstublist,
34  std::vector<std::pair<int, int>>& stubidslist);
35 
36  // used for propagating tracklet without fitting
37  void trackFitFake(Tracklet* tracklet, std::vector<const Stub*>&, std::vector<std::pair<int, int>>&);
38 
39  std::vector<Tracklet*> orderedMatches(std::vector<FullMatchMemory*>& fullmatch);
40 
41  void execute();
42 
43  private:
44  std::vector<TrackletParametersMemory*> seedtracklet_;
45  std::vector<FullMatchMemory*> fullmatch1_;
46  std::vector<FullMatchMemory*> fullmatch2_;
47  std::vector<FullMatchMemory*> fullmatch3_;
48  std::vector<FullMatchMemory*> fullmatch4_;
49 
51  };
52 
53 }; // namespace trklet
54 #endif
input
static const std::string input
Definition: EdmProvDump.cc:48
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
trklet::Settings
Definition: Settings.h:26
TrackletParametersMemory.h
trklet::FitTrack
Definition: FitTrack.h:18
TrackFitMemory.h
FullMatchMemory.h
trklet::Globals
Definition: Globals.h:32
trklet::Tracklet
Definition: Tracklet.h:28
trklet::FitTrack::~FitTrack
~FitTrack() override=default
trklet::FitTrack::seedtracklet_
std::vector< TrackletParametersMemory * > seedtracklet_
Definition: FitTrack.h:44
trklet::FitTrack::execute
void execute()
Definition: FitTrack.cc:862
trklet::FitTrack::fullmatch1_
std::vector< FullMatchMemory * > fullmatch1_
Definition: FitTrack.h:45
trklet::TrackFitMemory
Definition: TrackFitMemory.h:15
trklet::FitTrack::addOutput
void addOutput(MemoryBase *memory, std::string output) override
Definition: FitTrack.cc:17
trklet::FitTrack::orderedMatches
std::vector< Tracklet * > orderedMatches(std::vector< FullMatchMemory * > &fullmatch)
Definition: FitTrack.cc:808
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
trklet::FitTrack::fullmatch2_
std::vector< FullMatchMemory * > fullmatch2_
Definition: FitTrack.h:46
trklet::MemoryBase
Definition: MemoryBase.h:13
trklet::FitTrack::fullmatch4_
std::vector< FullMatchMemory * > fullmatch4_
Definition: FitTrack.h:48
trklet::FitTrack::trackfit_
TrackFitMemory * trackfit_
Definition: FitTrack.h:50
trklet::FitTrack::FitTrack
FitTrack(std::string name, Settings const &settings, Globals *global, unsigned int iSector)
Definition: FitTrack.cc:14
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
trklet::FitTrack::trackFitFake
void trackFitFake(Tracklet *tracklet, std::vector< const Stub * > &, std::vector< std::pair< int, int >> &)
Definition: FitTrack.cc:782
trklet
Definition: AllProjectionsMemory.h:9
trklet::FitTrack::addInput
void addInput(MemoryBase *memory, std::string input) override
Definition: FitTrack.cc:32
ProcessBase.h
trklet::ProcessBase
Definition: ProcessBase.h:12
trklet::FitTrack::fullmatch3_
std::vector< FullMatchMemory * > fullmatch3_
Definition: FitTrack.h:47
mps_setup.memory
memory
Definition: mps_setup.py:156
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
trklet::FitTrack::trackFitChisq
void trackFitChisq(Tracklet *tracklet, std::vector< const Stub * > &, std::vector< std::pair< int, int >> &)
Definition: FitTrack.cc:138
trklet::FitTrack::trackFitKF
void trackFitKF(Tracklet *tracklet, std::vector< const Stub * > &trackstublist, std::vector< std::pair< int, int >> &stubidslist)