CMS 3D CMS Logo

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
trklet::TrackletEventProcessor::event
void event(SLHCEvent &ev)
Definition: TrackletEventProcessor.cc:176
trklet::TrackletEventProcessor::TRETimer_
Timer TRETimer_
Definition: TrackletEventProcessor.h:54
trklet::TrackletEventProcessor::TETimer_
Timer TETimer_
Definition: TrackletEventProcessor.h:52
trklet::TrackletEventProcessor::TCTimer_
Timer TCTimer_
Definition: TrackletEventProcessor.h:56
trklet::TrackletEventProcessor::init
void init(Settings const &theSettings)
Definition: TrackletEventProcessor.cc:27
trklet::TrackletEventProcessor::eventnum_
int eventnum_
Definition: TrackletEventProcessor.h:46
trklet::Settings
Definition: Settings.h:52
trklet::TrackletEventProcessor::settings_
const Settings * settings_
Definition: TrackletEventProcessor.h:38
trklet::TrackletEventProcessor::tracks_
std::vector< Track > tracks_
Definition: TrackletEventProcessor.h:65
trklet::TrackletEventProcessor::MCTimer_
Timer MCTimer_
Definition: TrackletEventProcessor.h:60
trklet::Timer
Definition: Timer.h:9
trklet::TrackletEventProcessor::~TrackletEventProcessor
~TrackletEventProcessor()
Definition: TrackletEventProcessor.cc:21
trklet::TrackletEventProcessor::addStubTimer_
Timer addStubTimer_
Definition: TrackletEventProcessor.h:49
trklet::HistBase
Definition: HistBase.h:16
trklet::TrackletEventProcessor::TrackletEventProcessor
TrackletEventProcessor()
Definition: TrackletEventProcessor.cc:19
trklet::TrackletEventProcessor::MPTimer_
Timer MPTimer_
Definition: TrackletEventProcessor.h:61
trklet::TrackletEventProcessor::VMRouterTimer_
Timer VMRouterTimer_
Definition: TrackletEventProcessor.h:51
trklet::TrackletEventProcessor::TPTimer_
Timer TPTimer_
Definition: TrackletEventProcessor.h:55
trklet::TrackletEventProcessor::cleanTimer_
Timer cleanTimer_
Definition: TrackletEventProcessor.h:48
trklet::TrackletEventProcessor::histbase_
HistBase * histbase_
Definition: TrackletEventProcessor.h:44
Timer.h
trklet::TrackletEventProcessor::globals_
std::unique_ptr< Globals > globals_
Definition: TrackletEventProcessor.h:40
trklet::TrackletEventProcessor::tracks
const std::vector< Track > & tracks() const
Definition: TrackletEventProcessor.h:33
trklet::SLHCEvent
Definition: SLHCEvent.h:17
trklet::TrackletEventProcessor::METimer_
Timer METimer_
Definition: TrackletEventProcessor.h:59
trklet::TrackletEventProcessor
Definition: TrackletEventProcessor.h:21
trklet::TrackletEventProcessor::PRTimer_
Timer PRTimer_
Definition: TrackletEventProcessor.h:58
trklet::TrackletEventProcessor::TCDTimer_
Timer TCDTimer_
Definition: TrackletEventProcessor.h:57
trklet::TrackletEventProcessor::configure
void configure(std::istream &inwire, std::istream &inmem, std::istream &inproc)
Definition: TrackletEventProcessor.cc:116
trklet
Definition: AllInnerStubsMemory.h:10
trklet::TrackletEventProcessor::TEDTimer_
Timer TEDTimer_
Definition: TrackletEventProcessor.h:53
ev
bool ev
Definition: Hydjet2Hadronizer.cc:97
trklet::TrackletEventProcessor::PDTimer_
Timer PDTimer_
Definition: TrackletEventProcessor.h:63
trklet::TrackletEventProcessor::sector_
std::unique_ptr< Sector > sector_
Definition: TrackletEventProcessor.h:42
trklet::TrackletEventProcessor::FTTimer_
Timer FTTimer_
Definition: TrackletEventProcessor.h:62
trklet::TrackletEventProcessor::printSummary
void printSummary()
Definition: TrackletEventProcessor.cc:384
trklet::TrackletEventProcessor::InputRouterTimer_
Timer InputRouterTimer_
Definition: TrackletEventProcessor.h:50