Compares emulator with f/w. More...
#include <Demonstrator.h>
Public Member Functions | |
bool | analyze (const std::vector< std::vector< tt::Frame >> &input, const std::vector< std::vector< tt::Frame >> &output) const |
Demonstrator () | |
Demonstrator (const edm::ParameterSet &iConfig, const tt::Setup *setup) | |
~Demonstrator () | |
Private Member Functions | |
bool | compare (std::stringstream &ss) const |
void | convert (const std::vector< std::vector< tt::Frame >> &bits, std::stringstream &ss) const |
std::string | frame (int &nFrame) const |
std::string | header (int numChannel) const |
std::string | hex (const tt::Frame &bv, bool first=false) const |
std::string | infraGap (int &nFrame, int numChannel) const |
void | sim (const std::stringstream &ss) const |
Private Attributes | |
std::string | dirDiff_ |
std::string | dirIn_ |
std::string | dirIPBB_ |
std::string | dirOut_ |
std::string | dirPre_ |
int | numFrames_ |
int | numFramesInfra_ |
int | numRegions_ |
double | runTime_ |
|
inline |
Definition at line 21 of file Demonstrator.h.
trackerTFP::Demonstrator::Demonstrator | ( | const edm::ParameterSet & | iConfig, |
const tt::Setup * | setup | ||
) |
Definition at line 14 of file Demonstrator.cc.
|
inline |
Definition at line 23 of file Demonstrator.h.
bool trackerTFP::Demonstrator::analyze | ( | const std::vector< std::vector< tt::Frame >> & | input, |
const std::vector< std::vector< tt::Frame >> & | output | ||
) | const |
Definition at line 26 of file Demonstrator.cc.
References compare(), convert(), input, sim(), and contentValuesCheck::ss.
|
private |
Definition at line 86 of file Demonstrator.cc.
References DummyCfis::c, dirDiff_, dirOut_, dirPre_, compareTotals::fs, recoMuon::in, dqmiodumpmetadata::n, MillePedeFileConverter_cfg::out, contentValuesCheck::ss, and unpackBuffers-CaloStage2::token.
Referenced by analyze().
|
private |
Definition at line 39 of file Demonstrator.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), dqmdumpme::first, frame(), header(), hex(), infraGap(), createfilelist::int, numFrames_, numRegions_, hltrates_dqm_sourceclient-live_cfg::offset, nano_mu_digi_cff::region, TTBV::S_, and contentValuesCheck::ss.
Referenced by analyze().
|
private |
Definition at line 137 of file Demonstrator.cc.
References contentValuesCheck::ss.
Referenced by convert(), and infraGap().
|
private |
Definition at line 110 of file Demonstrator.cc.
References contentValuesCheck::ss.
Referenced by convert().
|
private |
Definition at line 144 of file Demonstrator.cc.
References dqmdumpme::first, TTBV::S_, and contentValuesCheck::ss.
Referenced by convert().
|
private |
Definition at line 125 of file Demonstrator.cc.
References frame(), HLT_2024v14_cff::gap, numFramesInfra_, TTBV::S_, and contentValuesCheck::ss.
Referenced by convert().
|
private |
Definition at line 72 of file Demonstrator.cc.
References mps_setup::cmd, dirIn_, dirIPBB_, compareTotals::fs, MillePedeFileConverter_cfg::out, runTime_, and contentValuesCheck::ss.
Referenced by analyze().
|
private |
Definition at line 55 of file Demonstrator.h.
Referenced by compare().
|
private |
Definition at line 49 of file Demonstrator.h.
Referenced by sim().
|
private |
Definition at line 45 of file Demonstrator.h.
Referenced by sim().
|
private |
Definition at line 51 of file Demonstrator.h.
Referenced by compare().
|
private |
Definition at line 53 of file Demonstrator.h.
Referenced by compare().
|
private |
Definition at line 57 of file Demonstrator.h.
Referenced by convert().
|
private |
Definition at line 59 of file Demonstrator.h.
Referenced by infraGap().
|
private |
Definition at line 61 of file Demonstrator.h.
Referenced by convert().
|
private |
Definition at line 47 of file Demonstrator.h.
Referenced by sim().