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  class Cabling;
21 
23  public:
25 
27 
28  void init(Settings const& theSettings);
29 
30  void event(SLHCEvent& ev);
31 
32  void printSummary();
33 
34  std::vector<Track*>& tracks() { return tracks_; }
35 
36  private:
37  const Settings* settings_{nullptr};
38 
39  std::unique_ptr<Globals> globals_;
40 
41  std::vector<std::unique_ptr<Sector> > sectors_;
42 
44 
45  int eventnum_ = {0};
46 
47  std::unique_ptr<Cabling> cabling_;
48 
63 
64  std::vector<Track*> tracks_;
65 
66  std::map<std::string, std::vector<int> > dtclayerdisk_;
67  };
68 
69 }; // namespace trklet
70 #endif
trklet::TrackletEventProcessor::event
void event(SLHCEvent &ev)
Definition: TrackletEventProcessor.cc:184
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:55
trklet::TrackletEventProcessor::init
void init(Settings const &theSettings)
Definition: TrackletEventProcessor.cc:25
trklet::TrackletEventProcessor::eventnum_
int eventnum_
Definition: TrackletEventProcessor.h:45
trklet::Settings
Definition: Settings.h:26
trklet::TrackletEventProcessor::settings_
const Settings * settings_
Definition: TrackletEventProcessor.h:37
trklet::TrackletEventProcessor::MCTimer_
Timer MCTimer_
Definition: TrackletEventProcessor.h:59
trklet::TrackletEventProcessor::sectors_
std::vector< std::unique_ptr< Sector > > sectors_
Definition: TrackletEventProcessor.h:41
trklet::Timer
Definition: Timer.h:9
trklet::TrackletEventProcessor::~TrackletEventProcessor
~TrackletEventProcessor()
Definition: TrackletEventProcessor.cc:19
trklet::TrackletEventProcessor::addStubTimer_
Timer addStubTimer_
Definition: TrackletEventProcessor.h:50
trklet::HistBase
Definition: HistBase.h:16
trklet::TrackletEventProcessor::TrackletEventProcessor
TrackletEventProcessor()
Definition: TrackletEventProcessor.cc:17
trklet::TrackletEventProcessor::MPTimer_
Timer MPTimer_
Definition: TrackletEventProcessor.h:60
trklet::TrackletEventProcessor::cabling_
std::unique_ptr< Cabling > cabling_
Definition: TrackletEventProcessor.h:47
trklet::TrackletEventProcessor::VMRouterTimer_
Timer VMRouterTimer_
Definition: TrackletEventProcessor.h:51
trklet::TrackletEventProcessor::tracks_
std::vector< Track * > tracks_
Definition: TrackletEventProcessor.h:64
trklet::TrackletEventProcessor::cleanTimer_
Timer cleanTimer_
Definition: TrackletEventProcessor.h:49
trklet::TrackletEventProcessor::histbase_
HistBase * histbase_
Definition: TrackletEventProcessor.h:43
Timer.h
trklet::TrackletEventProcessor::globals_
std::unique_ptr< Globals > globals_
Definition: TrackletEventProcessor.h:39
trklet::SLHCEvent
Definition: SLHCEvent.h:54
trklet::TrackletEventProcessor::METimer_
Timer METimer_
Definition: TrackletEventProcessor.h:58
trklet::TrackletEventProcessor
Definition: TrackletEventProcessor.h:22
trklet::TrackletEventProcessor::PRTimer_
Timer PRTimer_
Definition: TrackletEventProcessor.h:57
trklet::TrackletEventProcessor::TCDTimer_
Timer TCDTimer_
Definition: TrackletEventProcessor.h:56
trklet
Definition: AllProjectionsMemory.h:9
trklet::TrackletEventProcessor::tracks
std::vector< Track * > & tracks()
Definition: TrackletEventProcessor.h:34
trklet::TrackletEventProcessor::TEDTimer_
Timer TEDTimer_
Definition: TrackletEventProcessor.h:53
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
trklet::TrackletEventProcessor::PDTimer_
Timer PDTimer_
Definition: TrackletEventProcessor.h:62
trklet::TrackletEventProcessor::dtclayerdisk_
std::map< std::string, std::vector< int > > dtclayerdisk_
Definition: TrackletEventProcessor.h:66
trklet::TrackletEventProcessor::FTTimer_
Timer FTTimer_
Definition: TrackletEventProcessor.h:61
trklet::TrackletEventProcessor::printSummary
void printSummary()
Definition: TrackletEventProcessor.cc:501