Public Types | |
typedef std::pair< uint32_t, unsigned char > | ChipId |
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 |
Public Member Functions | |
DeDxHitCalibrator (const edm::ParameterSet &) | |
~DeDxHitCalibrator () override=default | |
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 &) |
Static Public Attributes | |
static constexpr int | kIsBelow = 1 |
static constexpr int | kIsNormal = 0 |
static constexpr int | kIsOver = 2 |
static constexpr int | PXB = 0 |
static constexpr int | PXF = 1 |
static constexpr int | TECThick = 6 |
static constexpr int | TECThin = 5 |
static constexpr int | TIB = 2 |
static constexpr int | TID = 3 |
static constexpr int | TOB = 4 |
Private Member Functions | |
void | beginRun (edm::Run const &, const edm::EventSetup &) override |
float | correctEnergy (const float &, const ChipId &) |
std::pair< double, double > | fitStripCluster (const std::vector< std::pair< double, int > > &, const double &, const double &) |
void | getAlphaBeta (const std::vector< double > &, const std::vector< std::pair< double, int > > &, CLHEP::HepMatrix &, CLHEP::HepVector &, const std::vector< bool > &, const double &, const double &) |
double | getChi2 (const std::vector< double > &, const std::vector< std::pair< double, int > > &, const double &, const double &) |
int | getDetId (const DetId &, const float &) |
void | processHitInfo (const reco::DeDxHitInfo &, const float &trackMomentum, reco::DeDxHitCollection &, reco::DeDxHitCollection &) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
const bool | applyGain_ |
edm::ESHandle< DeDxCalibration > | dedxCalib_ |
const edm::ESGetToken< DeDxCalibration, DeDxCalibrationRcd > | dedxCalibToken_ |
const edm::EDGetTokenT< reco::DeDxHitInfoAss > | dedxHitInfoToken_ |
const double | MeVPerElectron_ |
SiPixelGainCalibrationOfflineService | pixelCalib_ |
const int | pixelSaturationThr_ |
edm::ESHandle< TrackerGeometry > | tkGeom_ |
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | tkGeomToken_ |
edm::ESHandle< TrackerTopology > | tkTopo_ |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | tkTopoToken_ |
const edm::EDGetTokenT< reco::TrackCollection > | tracksToken_ |
const int | VCaltoElectronGain_ |
const int | VCaltoElectronGain_L1_ |
const int | VCaltoElectronOffset_ |
const int | VCaltoElectronOffset_L1_ |
Definition at line 27 of file DeDxHitCalibrator.cc.
typedef std::pair<uint32_t, unsigned char> DeDxHitCalibrator::ChipId |
Definition at line 31 of file DeDxHitCalibrator.cc.
|
explicit |
Definition at line 74 of file DeDxHitCalibrator.cc.
|
overridedefault |
|
overrideprivate |
Definition at line 106 of file DeDxHitCalibrator.cc.
References dedxCalib_, dedxCalibToken_, edm::EventSetup::getHandle(), tkGeom_, tkGeomToken_, tkTopo_, and tkTopoToken_.
|
private |
Definition at line 242 of file DeDxHitCalibrator.cc.
References applyGain_, dedxCalib_, hcalRecHitTable_cff::detId, hcalRecHitTable_cff::energy, g, and DeDxCalibration::gain().
Referenced by processHitInfo().
|
static |
Definition at line 92 of file DeDxHitCalibrator.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
|
private |
Definition at line 365 of file DeDxHitCalibrator.cc.
References funct::abs(), simBeamSpotPI::alpha, b, HLT_2024v13_cff::beta, dumpMFGeometry_cfg::delta, change_name::diff, MillePedeFileConverter_cfg::e, RemoveAddSevLevel::flag, getAlphaBeta(), getChi2(), mps_fire::i, cuy::ib, dqmiolumiharvest::j, GetRecoTauVFromDQM_MC_cff::next, convertSQLiteXML::ok, mathSSE::sqrt(), and x.
Referenced by processHitInfo().
|
private |
Definition at line 288 of file DeDxHitCalibrator.cc.
References a0, simBeamSpotPI::alpha, b, HLT_2024v13_cff::beta, PVValHelper::dx, f, mps_fire::i, kIsBelow, kIsNormal, kIsOver, submitPVResolutionJobs::q, edm::second(), x, and y.
Referenced by fitStripCluster().
|
private |
Definition at line 250 of file DeDxHitCalibrator.cc.
References b, nano_mu_local_reco_cff::chi2, PVValHelper::dx, mps_fire::i, kIsBelow, kIsNormal, kIsOver, submitPVResolutionJobs::q, edm::second(), x, and y.
Referenced by fitStripCluster().
|
private |
Definition at line 234 of file DeDxHitCalibrator.cc.
References MillePedeFileConverter_cfg::e, TECThick, TECThin, and Calorimetry_cff::thickness.
Referenced by processHitInfo().
|
private |
Definition at line 137 of file DeDxHitCalibrator.cc.
References a, gpuClustering::adc, DeDxCalibration::alpha(), b, ALCARECOTkAlJpsiMuMu_cff::charge, cuy::col, reco::DeDxHitInfo::Compatible, reco::DeDxHitInfo::Complete, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), correctEnergy(), dedxCalib_, dumpMFGeometry_cfg::delta, hcalRecHitTable_cff::detId, MillePedeFileConverter_cfg::e, hcalRecHitTable_cff::energy, fitStripCluster(), getDetId(), SiPixelGainCalibrationOfflineService::getGain(), SiPixelGainCalibrationOfflineService::getPedestal(), mps_fire::i, TrackerGeometry::idToDet(), info(), createfilelist::int, CastorSimpleRecAlgoImpl::isSaturated(), dqmiolumiharvest::j, kIsBelow, kIsNormal, kIsOver, dqm-mbProfile::log, SiStripPI::max, sistrip::MeVperADCStrip, MeVPerElectron_, ecaldqm::nChannels, pixelCalib_, TrackingMonitor_cfi::pixelCluster, InitialStepPreSplitting_cff::pixelHits, pixelSaturationThr_, TrackerTopology::pxbLayer(), PXF, mps_fire::result, rpixValues::ROCSizeInX, rpixValues::ROCSizeInY, DeDxCalibration::sigma(), mathSSE::sqrt(), TrackingMonitor_cfi::stripCluster, InitialStep_cff::stripHits, sistrip::STRIPS_PER_APV, Calorimetry_cff::thickness, DeDxCalibration::thr(), tkGeom_, tkTopo_, reco::btau::trackMomentum, VCaltoElectronGain_, VCaltoElectronGain_L1_, VCaltoElectronOffset_, and VCaltoElectronOffset_L1_.
Referenced by produce().
|
overrideprivate |
Definition at line 112 of file DeDxHitCalibrator.cc.
References dedxEstimators_cff::dedxHitInfo, dedxHitInfoToken_, mps_fire::i, iEvent, eostools::move(), pixelCalib_, InitialStepPreSplitting_cff::pixelHits, processHitInfo(), SiPixelGainCalibrationServicePayloadGetter< thePayloadObject, theDBRecordType >::setESObjects(), InitialStep_cff::stripHits, HLT_2024v13_cff::track, DiMuonV_cfg::tracks, and tracksToken_.
|
private |
Definition at line 58 of file DeDxHitCalibrator.cc.
Referenced by correctEnergy().
|
private |
Definition at line 69 of file DeDxHitCalibrator.cc.
Referenced by beginRun(), correctEnergy(), and processHitInfo().
|
private |
Definition at line 64 of file DeDxHitCalibrator.cc.
Referenced by beginRun().
|
private |
Definition at line 63 of file DeDxHitCalibrator.cc.
Referenced by produce().
|
static |
Definition at line 29 of file DeDxHitCalibrator.cc.
Referenced by getAlphaBeta(), getChi2(), and processHitInfo().
|
static |
Definition at line 29 of file DeDxHitCalibrator.cc.
Referenced by getAlphaBeta(), getChi2(), and processHitInfo().
|
static |
Definition at line 29 of file DeDxHitCalibrator.cc.
Referenced by getAlphaBeta(), getChi2(), and processHitInfo().
|
private |
Definition at line 59 of file DeDxHitCalibrator.cc.
Referenced by processHitInfo().
|
private |
Definition at line 68 of file DeDxHitCalibrator.cc.
Referenced by processHitInfo(), and produce().
|
private |
Definition at line 61 of file DeDxHitCalibrator.cc.
Referenced by processHitInfo().
|
static |
Definition at line 30 of file DeDxHitCalibrator.cc.
|
static |
Definition at line 30 of file DeDxHitCalibrator.cc.
Referenced by processHitInfo().
|
static |
Definition at line 30 of file DeDxHitCalibrator.cc.
Referenced by getDetId().
|
static |
Definition at line 30 of file DeDxHitCalibrator.cc.
Referenced by getDetId().
|
static |
Definition at line 30 of file DeDxHitCalibrator.cc.
|
static |
Definition at line 30 of file DeDxHitCalibrator.cc.
|
private |
Definition at line 70 of file DeDxHitCalibrator.cc.
Referenced by beginRun(), and processHitInfo().
|
private |
Definition at line 65 of file DeDxHitCalibrator.cc.
Referenced by beginRun().
|
private |
Definition at line 71 of file DeDxHitCalibrator.cc.
Referenced by beginRun(), and processHitInfo().
|
private |
Definition at line 66 of file DeDxHitCalibrator.cc.
Referenced by beginRun().
|
static |
Definition at line 30 of file DeDxHitCalibrator.cc.
|
private |
Definition at line 62 of file DeDxHitCalibrator.cc.
Referenced by produce().
|
private |
Definition at line 60 of file DeDxHitCalibrator.cc.
Referenced by processHitInfo().
|
private |
Definition at line 60 of file DeDxHitCalibrator.cc.
Referenced by processHitInfo().
|
private |
Definition at line 60 of file DeDxHitCalibrator.cc.
Referenced by processHitInfo().
|
private |
Definition at line 60 of file DeDxHitCalibrator.cc.
Referenced by processHitInfo().