Class to emulate transformation of tracklet tracks and stubs into TMTT format and routing of seed type streams into inv2R streams. More...
#include <DRin.h>
Classes | |
struct | Stub |
struct | Track |
Public Member Functions | |
void | consume (const tt::StreamsTrack &streamsTrack, const tt::StreamsStub &streamsStub) |
DRin (const edm::ParameterSet &iConfig, const tt::Setup *setup_, const trackerTFP::DataFormats *dataFormats, const trackerTFP::LayerEncoding *layerEncoding, const ChannelAssignment *channelAssignment, const Settings *settings, int region) | |
void | produce (tt::StreamsStub &accpetedStubs, tt::StreamsTrack &acceptedTracks, tt::StreamsStub &lostStubs, tt::StreamsTrack &lostTracks) |
~DRin () | |
Private Member Functions | |
double | digi (double val, double base) const |
template<class T > | |
T * | pop_front (std::deque< T *> &ts) const |
double | redigi (double val, double baseLow, double baseHigh, int widthMultiplier) const |
Private Attributes | |
double | baseHcot_ |
double | baseHinv2R_ |
double | baseHphi_ |
double | baseHphiT_ |
double | baseHr_ |
double | baseHz_ |
double | baseHzT_ |
double | baseInvCot_ |
double | baseLcot_ |
double | baseLinv2R_ |
double | baseLphi_ |
double | baseLphiT_ |
double | baseLr_ |
double | baseLz_ |
double | baseLzT_ |
double | baseUcot_ |
double | baseUinv2R_ |
double | baseUphi_ |
double | baseUphiT_ |
double | baseUr_ |
double | baseUz_ |
double | baseUzT_ |
const ChannelAssignment * | channelAssignment_ |
const trackerTFP::DataFormats * | dataFormats_ |
bool | enableTruncation_ |
std::vector< std::vector< Track * > > | input_ |
const trackerTFP::LayerEncoding * | layerEncoding_ |
const int | region_ |
const Settings * | settings_ |
const tt::Setup * | setup_ |
std::vector< Stub > | stubs_ |
std::vector< Track > | tracks_ |
bool | useTTStubResiduals_ |
Class to emulate transformation of tracklet tracks and stubs into TMTT format and routing of seed type streams into inv2R streams.
trklet::DRin::DRin | ( | const edm::ParameterSet & | iConfig, |
const tt::Setup * | setup_, | ||
const trackerTFP::DataFormats * | dataFormats, | ||
const trackerTFP::LayerEncoding * | layerEncoding, | ||
const ChannelAssignment * | channelAssignment, | ||
const Settings * | settings, | ||
int | region | ||
) |
Definition at line 15 of file DRin.cc.
References baseInvCot_, reco::ceil(), trackerTFP::cot, tt::Setup::hybridRangeR(), trackerTFP::inv2R, trackerTFP::kfin, tt::Setup::outerRadius(), trackerTFP::phiT, funct::pow(), setup_, tt::Setup::widthDSPbu(), and trackerTFP::zT.
void trklet::DRin::consume | ( | const tt::StreamsTrack & | streamsTrack, |
const tt::StreamsStub & | streamsStub | ||
) |
Definition at line 61 of file DRin.cc.
References funct::abs(), Reference_intrackfit_cff::barrel, tt::Setup::barrel(), baseInvCot_, tt::Setup::baseRegion(), baseUcot_, baseUinv2R_, baseUphi_, baseUphiT_, baseUr_, baseUz_, baseUzT_, tt::Setup::beamWindowZ(), channelAssignment_, trackerTFP::DataFormats::chosenRofPhi(), tt::Setup::chosenRofZ(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), trackerTFP::cot, dataFormats_, tt::deltaPhi(), digi(), tt::Setup::disk2SR(), enableTruncation_, dqmdumpme::first, amptDefault_cfi::frame, l1trig_cff::hwPhi, tt::Setup::hybridBaseR(), tt::Setup::hybridDiskZ(), tt::Setup::hybridLayerR(), tt::Setup::hybridMaxCot(), tt::Setup::hybridRangePhi(), tt::Setup::indexLayerId(), input, input_, createfilelist::int, edm::Ref< C, T, F >::isNull(), trklet::Settings::kphi(), trklet::Settings::kphi1(), trklet::Settings::kz(), trklet::ChannelAssignment::layerId(), remoteMonitoring_LASER_era2018_cfg::limit, tt::Setup::maxEta(), trklet::Settings::nbitst(), beamSpotPI::nTracks, trklet::ChannelAssignment::numChannelsTrack(), tt::Setup::numFrames(), trklet::ChannelAssignment::numProjectionLayers(), trklet::ChannelAssignment::numSeedingLayers(), tt::Setup::offsetLayerDisks(), tt::Setup::offsetLayerId(), trklet::ChannelAssignment::offsetStub(), trklet::Settings::phiresidbits(), trackerTFP::phiT, funct::pow(), tt::Setup::psModule(), region_, trklet::Settings::rresidbits(), settings_, setup_, tt::Setup::stubPos(), stubs_, tt::Setup::tbWidthR(), tt::Setup::tiltedLayerLimitZ(), tt::Setup::trackletLayerId(), tracks_, funct::true, tt::Setup::type(), useTTStubResiduals_, TTBV::val(), validateGeometry_cfg::valid, tt::Setup::widthAddrBRAM18(), trklet::ChannelAssignment::widthSeedStubId(), trklet::Settings::zresidbits(), and trackerTFP::zT.
Referenced by trklet::ProducerDRin::produce().
|
inlineprivate |
Definition at line 41 of file DRin.h.
References newFWLiteAna::base, MillePedeFileConverter_cfg::e, and heppy_batch::val.
Referenced by consume(), produce(), and redigi().
Definition at line 443 of file DRin.cc.
References submitPVValidationJobs::t.
Referenced by produce().
void trklet::DRin::produce | ( | tt::StreamsStub & | accpetedStubs, |
tt::StreamsTrack & | acceptedTracks, | ||
tt::StreamsStub & | lostStubs, | ||
tt::StreamsTrack & | lostTracks | ||
) |
Definition at line 217 of file DRin.cc.
References baseHcot_, baseHinv2R_, baseHphi_, baseHphiT_, baseHr_, baseHz_, baseHzT_, baseLcot_, baseLinv2R_, baseLphi_, baseLphiT_, baseLz_, baseLzT_, tt::Setup::baseSector(), baseUcot_, baseUinv2R_, baseUphi_, baseUphiT_, baseUr_, baseUz_, baseUzT_, tt::Setup::boundarieEta(), channelAssignment_, trackerTFP::DataFormats::chosenRofPhi(), tt::Setup::chosenRofZ(), trackerTFP::cot, dataFormats_, trklet::ChannelAssignment::depthMemory(), digi(), PVValHelper::dz, enableTruncation_, cond::serialization::equal(), trackerTFP::DataFormats::format(), trackerTFP::hitPattern, hfClusterShapes_cfi::hits, ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::if(), input, input_, PixelMapPlotter::inputs, trackerTFP::DataFormat::inRange(), trackerTFP::inv2R, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, tt::Setup::kfMinLayers(), trklet::DRin::Stub::layer_, trklet::DRin::Stub::layerDet_, layerEncoding_, trackerTFP::LayerEncoding::layerIdKF(), trklet::DRin::Stub::layerKF_, remoteMonitoring_LASER_era2018_cfg::limit, isotracks_cff::lostTracks, trackerTFP::LayerEncoding::maybePattern(), GetRecoTauVFromDQM_MC_cff::next, trklet::ChannelAssignment::nodeDR(), trklet::ChannelAssignment::numChannelsTrack(), tt::Setup::numFrames(), tt::Setup::numLayers(), trklet::ChannelAssignment::numNodesDR(), tt::Setup::numSectorsEta(), or, PVValHelper::phi, trklet::DRin::Stub::phi_, trackerTFP::phiT, pop_front(), trklet::DRin::Stub::psTilt_, alignCSCRings::r, trklet::DRin::Stub::r_, redigi(), region_, tt::Setup::sectorCot(), trackerTFP::sectorEta, trackerTFP::sectorPhi, setup_, svgfig::stack, trklet::DRin::Stub::stubId_, to_string(), trackerTFP::DataFormat::toUnsigned(), HLT_2024v14_cff::track, DiMuonV_cfg::tracks, tracks_, trackerTFP::DataFormat::ttBV(), trklet::DRin::Stub::ttStubRef_, trklet::DRin::Stub::valid_, tt::Setup::widthDSPbu(), trklet::ChannelAssignment::widthLayerId(), trklet::ChannelAssignment::widthSeedStubId(), detailsBasic3DVector::z, trklet::DRin::Stub::z_, and trackerTFP::zT.
Referenced by trklet::ProducerDRin::produce().
|
private |
Definition at line 453 of file DRin.cc.
References newFWLiteAna::base, digi(), funct::pow(), HcalDetIdTransform::transform(), and heppy_batch::val.
Referenced by produce().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |