CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TrackletEventProcessor.h
Go to the documentation of this file.
1 // TrackletEventProcessor: Class responsible for the main event processing for the tracklet algorithm
2 #ifndef L1Trigger_TrackFindingTracklet_interface_TrackletEventProcessor_h
3 #define L1Trigger_TrackFindingTracklet_interface_TrackletEventProcessor_h
4 
6 
7 #include <map>
8 #include <memory>
9 #include <vector>
10 #include <string>
11 
12 namespace trklet {
13 
14  class Settings;
15  class SLHCEvent;
16  class Globals;
17  class Sector;
18  class HistBase;
19  class Track;
20 
22  public:
24 
26 
27  void init(Settings const& theSettings);
28 
29  void event(SLHCEvent& ev);
30 
31  void printSummary();
32 
33  const std::vector<Track>& tracks() const { return tracks_; }
34 
35  private:
36  void configure(std::istream& inwire, std::istream& inmem, std::istream& inproc);
37 
38  const Settings* settings_{nullptr};
39 
40  std::unique_ptr<Globals> globals_;
41 
42  std::unique_ptr<Sector> sector_;
43 
45 
46  int eventnum_ = {0};
47 
64 
65  std::vector<Track> tracks_;
66  };
67 
68 }; // namespace trklet
69 #endif
std::unique_ptr< Sector > sector_
std::unique_ptr< Globals > globals_
void init(Settings const &theSettings)
const std::vector< Track > & tracks() const
void configure(std::istream &inwire, std::istream &inmem, std::istream &inproc)