Class to emulate transformation of tracklet tracks and stubs into TMTT format. More...
#include <KFin.h>
Classes | |
struct | Stub |
struct | Track |
Public Member Functions | |
void | consume (const tt::StreamsTrack &streamsTrack, const tt::StreamsStub &streamsStub) |
KFin (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) |
~KFin () | |
Private Member Functions | |
double | digi (double val, double base) 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.
trklet::KFin::KFin | ( | 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 14 of file KFin.cc.
References trackerTFP::DataFormats::base(), baseHcot_, baseHinv2R_, baseHphi_, baseHphiT_, baseHr_, baseHz_, baseHzT_, baseInvCot_, baseLcot_, baseLinv2R_, baseLphi_, baseLphiT_, baseLr_, baseLz_, baseLzT_, baseUcot_, baseUinv2R_, baseUphi_, baseUphiT_, baseUr_, baseUz_, baseUzT_, reco::ceil(), tt::Setup::hybridRangeR(), trklet::Settings::kphi1(), trklet::Settings::kr(), trklet::Settings::kz(), tt::Setup::outerRadius(), PVValHelper::phi, trklet::Settings::phi0_shift(), funct::pow(), alignCSCRings::r, trklet::Settings::rinv_shift(), settings_, setup_, trklet::Settings::t_shift(), tt::Setup::widthDSPbu(), detailsBasic3DVector::z, and trklet::Settings::z0_shift().
void trklet::KFin::consume | ( | const tt::StreamsTrack & | streamsTrack, |
const tt::StreamsStub & | streamsStub | ||
) |
Definition at line 60 of file KFin.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(), trackerTFP::cot, dataFormats_, tt::deltaPhi(), digi(), enableTruncation_, dqmdumpme::first, amptDefault_cfi::frame, l1trig_cff::hwPhi, 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(), tt::Setup::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(), trklet::ChannelAssignment::seedingLayers(), settings_, setup_, tt::Setup::stubPos(), tt::Setup::stubR(), stubs_, tt::Setup::tiltedLayerLimitZ(), tt::Setup::trackletLayerId(), tracks_, funct::true, useTTStubResiduals_, TTBV::val(), validateGeometry_cfg::valid, tt::Setup::widthAddrBRAM18(), trklet::Settings::zresidbits(), and trackerTFP::zT.
|
inlineprivate |
Definition at line 40 of file KFin.h.
References newFWLiteAna::base, MillePedeFileConverter_cfg::e, and heppy_batch::val.
Referenced by consume(), produce(), and redigi().
void trklet::KFin::produce | ( | tt::StreamsStub & | accpetedStubs, |
tt::StreamsTrack & | acceptedTracks, | ||
tt::StreamsStub & | lostStubs, | ||
tt::StreamsTrack & | lostTracks | ||
) |
Definition at line 202 of file KFin.cc.
References funct::abs(), Reference_intrackfit_cff::barrel, tt::Setup::barrel(), baseHcot_, baseHinv2R_, baseHphi_, baseHphiT_, baseHr_, baseHz_, baseHzT_, baseLcot_, baseLinv2R_, baseLphi_, baseLphiT_, baseLr_, baseLz_, baseLzT_, tt::Setup::baseSector(), baseUcot_, baseUinv2R_, baseUphi_, baseUphiT_, baseUr_, baseUz_, baseUzT_, tt::Setup::beamWindowZ(), tt::Setup::boundarieEta(), reco::ceil(), channelAssignment_, trackerTFP::DataFormats::chosenRofPhi(), tt::Setup::chosenRofZ(), trackerTFP::cot, dataFormats_, digi(), HLT_2023v12_cff::dPhi, trklet::KFin::Stub::dPhi_, PVValHelper::dz, l1ctLayer1_cff::dZ, trklet::KFin::Stub::dZ_, cond::serialization::equal(), trackerTFP::DataFormats::format(), hfClusterShapes_cfi::hits, caHitNtupletGeneratorKernels::if(), input, input_, trackerTFP::DataFormat::inRange(), trackerTFP::inv2R, tt::Setup::kfMinLayers(), trklet::KFin::Stub::layer_, layerEncoding_, trackerTFP::LayerEncoding::layerIdKF(), tt::Setup::length2S(), tt::Setup::lengthPS(), isotracks_cff::lostTracks, tt::Setup::maxEta(), trackerTFP::LayerEncoding::maybePattern(), trklet::ChannelAssignment::numChannelsTrack(), tt::Setup::numLayers(), tt::Setup::numSectorsEta(), PVValHelper::phi, trklet::KFin::Stub::phi_, trackerTFP::phiT, tt::Setup::pitch2S(), tt::Setup::pitchPS(), funct::pow(), tt::Setup::psModule(), trklet::KFin::Stub::psTilt_, alignCSCRings::r, trklet::KFin::Stub::r_, redigi(), region_, alignCSCRings::s, tt::Setup::scattering(), tt::Setup::sectorCot(), trackerTFP::sectorEta, trackerTFP::sectorPhi, setup_, TTBV::str(), tt::Setup::tbInnerRadius(), tt::Setup::tiltApproxIntercept(), tt::Setup::tiltApproxSlope(), tt::Setup::tiltUncertaintyR(), trackerTFP::DataFormat::toUnsigned(), HLT_2023v12_cff::track, tracks_, trackerTFP::DataFormat::ttBV(), trklet::KFin::Stub::ttStubRef_, trklet::KFin::Stub::valid_, trackerTFP::DataFormats::width(), tt::Setup::widthAddrBRAM18(), tt::Setup::widthDSPbu(), detailsBasic3DVector::z, trklet::KFin::Stub::z_, and trackerTFP::zT.
|
private |
Definition at line 428 of file KFin.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 |
|
private |