#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::TrackDeDxHitsCollection > | m_pixelDeDxHitsTag |
edm::EDGetTokenT< reco::TrackDeDxHitsCollection > | m_stripDeDxHitsTag |
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 | useDeDxHits |
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 52 of file DeDxEstimatorProducer.cc.
References edm::BeginRun, edm::ParameterSet::getParameter(), m_calibrationPath, m_estimator, m_pixelDeDxHitsTag, m_stripDeDxHitsTag, m_tracksTag, meVperADCPixel, meVperADCStrip, shapetest, useCalibration, useDeDxHits, usePixel, and useStrip.
|
override |
Definition at line 102 of file DeDxEstimatorProducer.cc.
|
overrideprivate |
Definition at line 105 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 173 of file DeDxEstimatorProducer.cc.
References Surface::bounds(), calibGains, ALCARECOTkAlJpsiMuMu_cff::charge, Options::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 116 of file DeDxEstimatorProducer.cc.
References cms::cuda::assert(), trigObjTnPSource_cfi::filler, h, Hcal_Conditions_forGlobalTag_cff::hb, hfClusterShapes_cfi::hits, iEvent, trackerHitRTTI::isFromDet(), dqmiolumiharvest::j, m_estimator, m_pixelDeDxHitsTag, m_stripDeDxHitsTag, m_tracksTag, eostools::move(), HLT_2024v14_cff::pixelDeDxHits, processHit(), rpcPointValidation_cfi::recHit, jetUpdater_cfi::sort, HLT_2024v14_cff::stripDeDxHits, HLT_2024v14_cff::track, useDeDxHits, usePixel, and useStrip.
|
private |
Definition at line 81 of file DeDxEstimatorProducer.h.
Referenced by beginRun(), and processHit().
|
private |
Definition at line 77 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 82 of file DeDxEstimatorProducer.h.
Referenced by beginRun(), and processHit().
|
private |
Definition at line 66 of file DeDxEstimatorProducer.h.
Referenced by DeDxEstimatorProducer(), and produce().
|
private |
Definition at line 67 of file DeDxEstimatorProducer.h.
Referenced by DeDxEstimatorProducer(), and produce().
|
private |
Definition at line 65 of file DeDxEstimatorProducer.h.
Referenced by DeDxEstimatorProducer(), and produce().
|
private |
Definition at line 75 of file DeDxEstimatorProducer.h.
|
private |
Definition at line 72 of file DeDxEstimatorProducer.h.
Referenced by DeDxEstimatorProducer(), and processHit().
|
private |
Definition at line 73 of file DeDxEstimatorProducer.h.
Referenced by DeDxEstimatorProducer(), and processHit().
|
private |
Definition at line 79 of file DeDxEstimatorProducer.h.
Referenced by DeDxEstimatorProducer(), and processHit().
|
private |
Definition at line 85 of file DeDxEstimatorProducer.h.
Referenced by beginRun(), and processHit().
|
private |
Definition at line 84 of file DeDxEstimatorProducer.h.
Referenced by beginRun().
|
private |
Definition at line 78 of file DeDxEstimatorProducer.h.
Referenced by beginRun(), and DeDxEstimatorProducer().
|
private |
Definition at line 69 of file DeDxEstimatorProducer.h.
Referenced by DeDxEstimatorProducer(), and produce().
|
private |
Definition at line 70 of file DeDxEstimatorProducer.h.
Referenced by DeDxEstimatorProducer(), processHit(), and produce().
|
private |
Definition at line 71 of file DeDxEstimatorProducer.h.
Referenced by DeDxEstimatorProducer(), processHit(), and produce().