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);
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(unsigned int iSector);
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 
50  unsigned int iSector_;
51 
53  };
54 
55 }; // namespace trklet
56 #endif
std::vector< TrackletParametersMemory * > seedtracklet_
Definition: FitTrack.h:44
void trackFitKF(Tracklet *tracklet, std::vector< const Stub *> &trackstublist, std::vector< std::pair< int, int >> &stubidslist)
void trackFitChisq(Tracklet *tracklet, std::vector< const Stub *> &, std::vector< std::pair< int, int >> &)
Definition: FitTrack.cc:138
void addOutput(MemoryBase *memory, std::string output) override
Definition: FitTrack.cc:17
static std::string const input
Definition: EdmProvDump.cc:50
TrackFitMemory * trackfit_
Definition: FitTrack.h:52
std::vector< Tracklet * > orderedMatches(std::vector< FullMatchMemory *> &fullmatch)
Definition: FitTrack.cc:816
std::vector< FullMatchMemory * > fullmatch4_
Definition: FitTrack.h:48
void addInput(MemoryBase *memory, std::string input) override
Definition: FitTrack.cc:32
unsigned int iSector_
Definition: FitTrack.h:50
void execute(unsigned int iSector)
Definition: FitTrack.cc:870
~FitTrack() override=default
std::vector< FullMatchMemory * > fullmatch1_
Definition: FitTrack.h:45
std::vector< FullMatchMemory * > fullmatch2_
Definition: FitTrack.h:46
FitTrack(std::string name, Settings const &settings, Globals *global)
Definition: FitTrack.cc:14
void trackFitFake(Tracklet *tracklet, std::vector< const Stub *> &, std::vector< std::pair< int, int >> &)
Definition: FitTrack.cc:790
std::vector< FullMatchMemory * > fullmatch3_
Definition: FitTrack.h:47