#include <TrackletEventProcessor.h>
Public Member Functions | |
void | event (SLHCEvent &ev, std::vector< std::vector< std::string >> &streamsTrackRaw, std::vector< std::vector< StubStreamData >> &streamsStubRaw) |
void | init (Settings const &theSettings, const tt::Setup *setup=nullptr) |
void | printSummary () |
TrackletEventProcessor () | |
const std::vector< Track > & | tracks () const |
~TrackletEventProcessor () | |
Private Member Functions | |
void | configure (std::istream &inwire, std::istream &inmem, std::istream &inproc) |
Private Attributes | |
Timer | addStubTimer_ |
Timer | cleanTimer_ |
int | eventnum_ = {0} |
Timer | FTTimer_ |
std::unique_ptr< Globals > | globals_ |
HistBase * | histbase_ {} |
Timer | InputRouterTimer_ |
Timer | MCTimer_ |
Timer | METimer_ |
Timer | MPTimer_ |
Timer | PDTimer_ |
Timer | PRTimer_ |
std::unique_ptr< Sector > | sector_ |
const Settings * | settings_ {nullptr} |
Timer | TCDTimer_ |
Timer | TCTimer_ |
Timer | TEDTimer_ |
Timer | TETimer_ |
Timer | TPDTimer_ |
Timer | TPTimer_ |
std::vector< Track > | tracks_ |
Timer | TRETimer_ |
Timer | VMRouterTimer_ |
Definition at line 27 of file TrackletEventProcessor.h.
TrackletEventProcessor::TrackletEventProcessor | ( | ) |
Definition at line 20 of file TrackletEventProcessor.cc.
TrackletEventProcessor::~TrackletEventProcessor | ( | ) |
Definition at line 22 of file TrackletEventProcessor.cc.
References trklet::Settings::bookHistos(), trklet::HistBase::close(), histbase_, and settings_.
|
private |
Definition at line 116 of file TrackletEventProcessor.cc.
References trklet::Settings::debugTracklet(), mps_splice::line, mem, sector_, settings_, contentValuesCheck::ss, and trklet::Settings::writetrace().
Referenced by init().
void TrackletEventProcessor::event | ( | SLHCEvent & | ev, |
std::vector< std::vector< std::string >> & | streamsTrackRaw, | ||
std::vector< std::vector< StubStreamData >> & | streamsStubRaw | ||
) |
Definition at line 176 of file TrackletEventProcessor.cc.
References funct::abs(), addStubTimer_, trklet::Settings::bookHistos(), cleanTimer_, trklet::L1TStub::DTClink(), HPSPFTauProducerPuppi_cfi::electron, trklet::L1SimTrack::eta(), makeMEIFBenchmarkPlots::ev, eventnum_, dqmdumpme::first, FTTimer_, globals_, Matriplex::hypot(), InputRouterTimer_, iseed, dqmiolumiharvest::j, dqmdumpme::k, trklet::L1TStub::layerdisk(), MCTimer_, METimer_, MPTimer_, trklet::N_DISK, trklet::N_LAYER, trklet::N_SECTOR, nlayers, PDTimer_, PRTimer_, trklet::L1SimTrack::pt(), trklet::L1TStub::region(), nano_mu_digi_cff::sector, sector_, settings_, trklet::Timer::start(), trklet::Timer::stop(), TCDTimer_, TCTimer_, TEDTimer_, TETimer_, TPDTimer_, TPTimer_, trklet::L1SimTrack::trackid(), tracks_, TRETimer_, trklet::L1SimTrack::type(), VMRouterTimer_, trklet::L1SimTrack::vx(), trklet::L1SimTrack::vy(), trklet::L1SimTrack::vz(), trklet::Settings::writeMem(), trklet::Settings::writememsect(), and trklet::Settings::writeMonitorData().
Referenced by L1FPGATrackProducer::produce().
void TrackletEventProcessor::init | ( | Settings const & | theSettings, |
const tt::Setup * | setup = nullptr |
||
) |
Definition at line 28 of file TrackletEventProcessor.cc.
References cms::cuda::assert(), trklet::HistBase::bookDiskResidual(), trklet::Settings::bookHistos(), trklet::HistBase::bookLayerResidual(), trklet::HistBase::bookSeedEff(), trklet::HistBase::bookTrackletParams(), DiMuonV_cfg::config, configure(), trklet::Settings::debugTracklet(), Exception, trklet::Settings::extended(), globals_, histbase_, trklet::Settings::kd0pars(), trklet::Settings::kphi0pars(), trklet::Settings::kphi1(), trklet::Settings::kphider(), trklet::Settings::kr(), trklet::Settings::krinvpars(), trklet::Settings::ktpars(), trklet::Settings::kz(), trklet::Settings::kz0pars(), trklet::Settings::memoryModulesFile(), trklet::HistBase::open(), trklet::openfile(), trklet::Settings::phi0bitshift(), trklet::Settings::processingModulesFile(), trklet::Settings::reduced(), sector_, settings_, singleTopDQM_cfi::setup, trklet::Settings::tablePath(), DigiDM_cff::wires, trklet::Settings::wiresFile(), and trklet::Settings::writeConfig().
Referenced by L1FPGATrackProducer::beginRun().
void TrackletEventProcessor::printSummary | ( | ) |
Definition at line 393 of file TrackletEventProcessor.cc.
References addStubTimer_, trklet::Timer::avgtime(), trklet::Settings::bookHistos(), cleanTimer_, trklet::Settings::combined(), trklet::Settings::extended(), FTTimer_, globals_, InputRouterTimer_, MCTimer_, METimer_, MPTimer_, trklet::Timer::ntimes(), PDTimer_, PRTimer_, settings_, TCDTimer_, TCTimer_, TEDTimer_, TETimer_, trklet::Timer::tottime(), TPDTimer_, TPTimer_, TRETimer_, and VMRouterTimer_.
|
inline |
Definition at line 41 of file TrackletEventProcessor.h.
References tracks_.
Referenced by L1FPGATrackProducer::produce().
|
private |
Definition at line 57 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 56 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 54 of file TrackletEventProcessor.h.
Referenced by event().
|
private |
Definition at line 71 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 48 of file TrackletEventProcessor.h.
Referenced by event(), init(), and printSummary().
|
private |
Definition at line 52 of file TrackletEventProcessor.h.
Referenced by init(), and ~TrackletEventProcessor().
|
private |
Definition at line 58 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 69 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 68 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 70 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 72 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 67 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 50 of file TrackletEventProcessor.h.
Referenced by configure(), event(), and init().
|
private |
Definition at line 46 of file TrackletEventProcessor.h.
Referenced by configure(), event(), init(), printSummary(), and ~TrackletEventProcessor().
|
private |
Definition at line 66 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 65 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 61 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 60 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 64 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 63 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 74 of file TrackletEventProcessor.h.
|
private |
Definition at line 62 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().
|
private |
Definition at line 59 of file TrackletEventProcessor.h.
Referenced by event(), and printSummary().