L1Trigger
TrackFindingTracklet
interface
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
5
#include "
L1Trigger/TrackFindingTracklet/interface/Timer.h
"
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
21
class
TrackletEventProcessor
{
22
public
:
23
TrackletEventProcessor
();
24
25
~TrackletEventProcessor
();
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
44
HistBase
*
histbase_
{};
45
46
int
eventnum_
= {0};
47
48
Timer
cleanTimer_
;
49
Timer
addStubTimer_
;
50
Timer
InputRouterTimer_
;
51
Timer
VMRouterTimer_
;
52
Timer
TETimer_
;
53
Timer
TEDTimer_
;
54
Timer
TRETimer_
;
55
Timer
TPTimer_
;
56
Timer
TCTimer_
;
57
Timer
TCDTimer_
;
58
Timer
PRTimer_
;
59
Timer
METimer_
;
60
Timer
MCTimer_
;
61
Timer
MPTimer_
;
62
Timer
FTTimer_
;
63
Timer
PDTimer_
;
64
65
std::vector<Track>
tracks_
;
66
};
67
68
};
// namespace trklet
69
#endif
makeMEIFBenchmarkPlots.ev
ev
Definition:
makeMEIFBenchmarkPlots.py:55
trklet::TrackletEventProcessor::tracks_
std::vector< Track > tracks_
Definition:
TrackletEventProcessor.h:65
trklet::TrackletEventProcessor::~TrackletEventProcessor
~TrackletEventProcessor()
Definition:
TrackletEventProcessor.cc:21
trklet::TrackletEventProcessor
Definition:
TrackletEventProcessor.h:21
trklet::TrackletEventProcessor::addStubTimer_
Timer addStubTimer_
Definition:
TrackletEventProcessor.h:49
trklet::TrackletEventProcessor::eventnum_
int eventnum_
Definition:
TrackletEventProcessor.h:46
trklet::TrackletEventProcessor::sector_
std::unique_ptr< Sector > sector_
Definition:
TrackletEventProcessor.h:42
trklet::Settings
Definition:
Settings.h:52
trklet::TrackletEventProcessor::MPTimer_
Timer MPTimer_
Definition:
TrackletEventProcessor.h:61
trklet::TrackletEventProcessor::FTTimer_
Timer FTTimer_
Definition:
TrackletEventProcessor.h:62
trklet::TrackletEventProcessor::settings_
const Settings * settings_
Definition:
TrackletEventProcessor.h:38
trklet::TrackletEventProcessor::TrackletEventProcessor
TrackletEventProcessor()
Definition:
TrackletEventProcessor.cc:19
trklet::TrackletEventProcessor::MCTimer_
Timer MCTimer_
Definition:
TrackletEventProcessor.h:60
trklet::TrackletEventProcessor::event
void event(SLHCEvent &ev)
Definition:
TrackletEventProcessor.cc:176
trklet::TrackletEventProcessor::TCTimer_
Timer TCTimer_
Definition:
TrackletEventProcessor.h:56
trklet::TrackletEventProcessor::globals_
std::unique_ptr< Globals > globals_
Definition:
TrackletEventProcessor.h:40
trklet::HistBase
Definition:
HistBase.h:16
Timer.h
trklet::TrackletEventProcessor::TETimer_
Timer TETimer_
Definition:
TrackletEventProcessor.h:52
trklet::TrackletEventProcessor::init
void init(Settings const &theSettings)
Definition:
TrackletEventProcessor.cc:27
trklet::TrackletEventProcessor::TPTimer_
Timer TPTimer_
Definition:
TrackletEventProcessor.h:55
trklet::Timer
Definition:
Timer.h:9
trklet::TrackletEventProcessor::cleanTimer_
Timer cleanTimer_
Definition:
TrackletEventProcessor.h:48
trklet::TrackletEventProcessor::PRTimer_
Timer PRTimer_
Definition:
TrackletEventProcessor.h:58
trklet::TrackletEventProcessor::TCDTimer_
Timer TCDTimer_
Definition:
TrackletEventProcessor.h:57
trklet::TrackletEventProcessor::VMRouterTimer_
Timer VMRouterTimer_
Definition:
TrackletEventProcessor.h:51
trklet::TrackletEventProcessor::histbase_
HistBase * histbase_
Definition:
TrackletEventProcessor.h:44
trklet::TrackletEventProcessor::tracks
const std::vector< Track > & tracks() const
Definition:
TrackletEventProcessor.h:33
trklet::TrackletEventProcessor::PDTimer_
Timer PDTimer_
Definition:
TrackletEventProcessor.h:63
trklet::SLHCEvent
Definition:
SLHCEvent.h:17
trklet::TrackletEventProcessor::METimer_
Timer METimer_
Definition:
TrackletEventProcessor.h:59
trklet::TrackletEventProcessor::configure
void configure(std::istream &inwire, std::istream &inmem, std::istream &inproc)
Definition:
TrackletEventProcessor.cc:116
trklet::TrackletEventProcessor::printSummary
void printSummary()
Definition:
TrackletEventProcessor.cc:384
trklet::TrackletEventProcessor::InputRouterTimer_
Timer InputRouterTimer_
Definition:
TrackletEventProcessor.h:50
trklet
Definition:
AllInnerStubsMemory.h:10
trklet::TrackletEventProcessor::TRETimer_
Timer TRETimer_
Definition:
TrackletEventProcessor.h:54
trklet::TrackletEventProcessor::TEDTimer_
Timer TEDTimer_
Definition:
TrackletEventProcessor.h:53
Generated for CMSSW Reference Manual by
1.8.14