#include <HoughTransform.h>
Public Member Functions | |
void | consume (const tt::StreamsStub &streams) |
HoughTransform (const edm::ParameterSet &iConfig, const tt::Setup *setup, const DataFormats *dataFormats, int region) | |
void | produce (tt::StreamsStub &accepted, tt::StreamsStub &lost) |
~HoughTransform () | |
Private Member Functions | |
void | analyze () |
void | fillIn (int inv2R, std::deque< StubGP *> &inputSector, std::vector< StubHT *> &acceptedSector, std::vector< StubHT *> &lostSector) |
template<class T > | |
T * | pop_front (std::deque< T *> &ts) const |
void | put () const |
void | readOut (const std::vector< StubHT *> &acceptedSector, const std::vector< StubHT *> &lostSector, std::deque< StubHT *> &acceptedAll, std::deque< StubHT *> &lostAll) const |
Private Attributes | |
const DataFormats * | dataFormats_ |
bool | enableTruncation_ |
std::vector< std::vector< std::deque< StubGP * > > > | input_ |
DataFormat | inv2R_ |
DataFormat | phiT_ |
int | region_ |
const tt::Setup * | setup_ |
std::vector< StubGP > | stubsGP_ |
std::vector< StubHT > | stubsHT_ |
Definition at line 15 of file HoughTransform.h.
trackerTFP::HoughTransform::HoughTransform | ( | const edm::ParameterSet & | iConfig, |
const tt::Setup * | setup, | ||
const DataFormats * | dataFormats, | ||
int | region | ||
) |
Definition at line 18 of file HoughTransform.cc.
References trackerTFP::ht, trackerTFP::inv2R, and trackerTFP::phiT.
|
inline |
Definition at line 18 of file HoughTransform.h.
|
private |
void trackerTFP::HoughTransform::consume | ( | const tt::StreamsStub & | streams | ) |
Definition at line 31 of file HoughTransform.cc.
References dataFormats_, amptDefault_cfi::frame, trackerTFP::gp, trackerTFP::ht, trackerTFP::StubGP::inInv2RBin(), input, input_, trackerTFP::DataFormats::numChannel(), tt::Setup::numSectorsPhi(), hltrates_dqm_sourceclient-live_cfg::offset, push_back(), region_, hgcalTBTopologyTester_cfi::sector, trackerTFP::sectorEta, trackerTFP::sectorPhi, setup_, cms::cuda::stream, HLT_2022v15_cff::streams, stubsGP_, stubsHT_, and trackerHitRTTI::vector.
|
private |
Definition at line 106 of file HoughTransform.cc.
References funct::abs(), trackerTFP::DataFormat::base(), enableTruncation_, trackerTFP::DataFormat::floating(), tt::Setup::htDepthMemory(), trackerTFP::DataFormat::inRange(), createfilelist::int, trackerTFP::DataFormat::integer(), trackerTFP::inv2R, inv2R_, remoteMonitoring_LASER_era2018_cfg::limit, SiStripPI::min, GetRecoTauVFromDQM_MC_cff::next, tt::Setup::numFrames(), trackerTFP::StubGP::phi(), trackerTFP::phiT, phiT_, pop_front(), trackerTFP::StubGP::r(), setup_, svgfig::stack, and stubsHT_.
Referenced by produce().
Definition at line 205 of file HoughTransform.cc.
References submitPVValidationJobs::t.
Referenced by fillIn().
void trackerTFP::HoughTransform::produce | ( | tt::StreamsStub & | accepted, |
tt::StreamsStub & | lost | ||
) |
Definition at line 68 of file HoughTransform.cc.
References dataFormats_, enableTruncation_, fillIn(), trackerTFP::ht, input_, createfilelist::int, trackerTFP::inv2R, inv2R_, remoteMonitoring_LASER_era2018_cfg::limit, SiStripPI::min, GetRecoTauVFromDQM_MC_cff::next, trackerTFP::DataFormats::numChannel(), tt::Setup::numFrames(), hltrates_dqm_sourceclient-live_cfg::offset, put(), readOut(), region_, setup_, findQualityFiles::size, cms::cuda::stream, and trackerTFP::DataFormat::toSigned().
|
private |
Referenced by produce().
|
private |
Definition at line 152 of file HoughTransform.cc.
References tt::Setup::htMinLayers(), tt::Setup::htNumBinsPhiT(), hgcalTBTopologyTester_cfi::layers, tt::Setup::numLayers(), topSingleLeptonDQM_PU_cfi::pattern, trackerTFP::phiT, phiT_, setup_, trackerTFP::DataFormat::toSigned(), trackerTFP::DataFormat::toUnsigned(), HLT_2022v15_cff::track, pwdgSkimBPark_cfi::tracks, and HcalDetIdTransform::transform().
Referenced by produce().
|
private |
Definition at line 49 of file HoughTransform.h.
|
private |
Definition at line 45 of file HoughTransform.h.
|
private |
Definition at line 61 of file HoughTransform.h.
|
private |
Definition at line 51 of file HoughTransform.h.
|
private |
Definition at line 53 of file HoughTransform.h.
|
private |
Definition at line 55 of file HoughTransform.h.
|
private |
Definition at line 47 of file HoughTransform.h.
Referenced by consume(), fillIn(), produce(), readOut(), and upgradeWorkflowComponents.UpgradeWorkflow::setup().
|
private |
Definition at line 57 of file HoughTransform.h.
Referenced by consume().
|
private |
Definition at line 59 of file HoughTransform.h.