#include <RecoTracker/DeDxEstimatorProducer/src/DeDxEstimatorProducer.cc>
Public Member Functions | |
DeDxEstimatorProducer (const edm::ParameterSet &) | |
~DeDxEstimatorProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | beginRun (edm::Run const &run, const edm::EventSetup &) override |
void | makeCalibrationMap (const TrackerGeometry &tkGeom) |
void | processHit (const TrackingRecHit *recHit, float trackMomentum, float &cosine, reco::DeDxHitCollection &dedxHits, int &NClusterSaturating) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::vector< std::vector< float > > | calibGains |
std::string | m_calibrationPath |
std::unique_ptr< BaseDeDxEstimator > | m_estimator |
unsigned int | m_off |
edm::EDGetTokenT< reco::TrackCollection > | m_tracksTag |
unsigned int | MaxNrStrips |
float | meVperADCPixel |
float | meVperADCStrip |
bool | shapetest |
const TrackerGeometry * | tkGeom = nullptr |
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | tkGeomToken |
bool | useCalibration |
bool | usePixel |
bool | useStrip |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 45 of file DeDxEstimatorProducer.h.
|
explicit |
Definition at line 49 of file DeDxEstimatorProducer.cc.
References edm::BeginRun, edm::ParameterSet::getParameter(), m_calibrationPath, m_estimator, m_tracksTag, meVperADCPixel, meVperADCStrip, shapetest, useCalibration, usePixel, and useStrip.
|
override |
Definition at line 93 of file DeDxEstimatorProducer.cc.
|
overrideprivate |
Definition at line 96 of file DeDxEstimatorProducer.cc.
References calibGains, edm::EventSetup::getData(), m_calibrationPath, m_estimator, m_off, deDxTools::makeCalibrationMap(), TrackerGeometry::offsetDU(), GeomDetEnumerators::PixelBarrel, writedatasetfile::run, tkGeom, tkGeomToken, and useCalibration.
|
static |
Definition at line 29 of file DeDxEstimatorProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
|
private |
|
private |
Definition at line 153 of file DeDxEstimatorProducer.cc.
References Surface::bounds(), calibGains, ALCARECOTkAlJpsiMuMu_cff::charge, runTheMatrix::const, TrackingRecHit::det(), deDxTools::getCharge(), TrackerGeometry::idToDet(), m_off, meVperADCPixel, meVperADCStrip, SiStripMatchedRecHit2D::monoCluster(), GluedGeomDet::monoDet(), SiStripMatchedRecHit2D::monoId(), rpcPointValidation_cfi::recHit, deDxTools::shapeSelection(), shapetest, SiStripMatchedRecHit2D::stereoCluster(), GluedGeomDet::stereoDet(), SiStripMatchedRecHit2D::stereoId(), GeomDet::surface(), Bounds::thickness(), tkGeom, reco::btau::trackMomentum, usePixel, and useStrip.
Referenced by produce().
|
overrideprivate |
Definition at line 107 of file DeDxEstimatorProducer.cc.
References cms::cuda::assert(), trigObjTnPSource_cfi::filler, h, hcalSimParameters_cfi::hb, iEvent, trackerHitRTTI::isFromDet(), dqmiolumiharvest::j, m_estimator, m_tracksTag, eostools::move(), processHit(), edm::Handle< T >::product(), rpcPointValidation_cfi::recHit, jetUpdater_cfi::sort, and HLT_2023v12_cff::track.
|
private |
Definition at line 78 of file DeDxEstimatorProducer.h.
Referenced by beginRun(), and processHit().
|
private |
Definition at line 74 of file DeDxEstimatorProducer.h.
Referenced by beginRun(), and DeDxEstimatorProducer().
|
private |
Definition at line 63 of file DeDxEstimatorProducer.h.
Referenced by beginRun(), DeDxEstimatorProducer(), and produce().
|
private |
Definition at line 79 of file DeDxEstimatorProducer.h.
Referenced by beginRun(), and processHit().
|
private |
Definition at line 65 of file DeDxEstimatorProducer.h.
Referenced by DeDxEstimatorProducer(), and produce().
|
private |
Definition at line 72 of file DeDxEstimatorProducer.h.
|
private |
Definition at line 69 of file DeDxEstimatorProducer.h.
Referenced by DeDxEstimatorProducer(), and processHit().
|
private |
Definition at line 70 of file DeDxEstimatorProducer.h.
Referenced by DeDxEstimatorProducer(), and processHit().
|
private |
Definition at line 76 of file DeDxEstimatorProducer.h.
Referenced by DeDxEstimatorProducer(), and processHit().
|
private |
Definition at line 82 of file DeDxEstimatorProducer.h.
Referenced by beginRun(), and processHit().
|
private |
Definition at line 81 of file DeDxEstimatorProducer.h.
Referenced by beginRun().
|
private |
Definition at line 75 of file DeDxEstimatorProducer.h.
Referenced by beginRun(), and DeDxEstimatorProducer().
|
private |
Definition at line 67 of file DeDxEstimatorProducer.h.
Referenced by DeDxEstimatorProducer(), and processHit().
|
private |
Definition at line 68 of file DeDxEstimatorProducer.h.
Referenced by DeDxEstimatorProducer(), and processHit().