#include <RecoTracker/DeDxDiscriminatorLearner/src/DeDxDiscriminatorLearner.cc>
Private Member Functions | |
void | algoAnalyze (const edm::Event &, const edm::EventSetup &) override |
void | algoAnalyzeTheTree (const edm::EventSetup &iSetup) |
void | algoBeginJob (const edm::EventSetup &) override |
void | algoEndJob () override |
std::unique_ptr< PhysicsTools::Calibration::HistogramD3D > | getNewObject () override |
void | processHit (const TrackingRecHit *recHit, float trackMomentum, float &cosine, const TrajectoryStateOnSurface &trajState) |
Private Attributes | |
std::string | algoMode |
std::vector< std::vector< float > > | calibGains |
float | Charge_Max |
float | Charge_Min |
int | Charge_NBins |
TH3F * | Charge_Vs_Path |
std::string | HistoFile |
std::string | m_calibrationPath |
unsigned int | m_off |
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | m_tkGeomToken |
edm::EDGetTokenT< reco::TrackCollection > | m_tracksTag |
edm::EDGetTokenT< TrajTrackAssociationCollection > | m_trajTrackAssociationTag |
unsigned int | MaxNrStrips |
float | MaxTrackChiOverNdf |
float | MaxTrackEta |
float | MaxTrackMomentum |
float | MinTrackEta |
unsigned int | MinTrackHits |
float | MinTrackMomentum |
float | P_Max |
float | P_Min |
int | P_NBins |
float | Path_Max |
float | Path_Min |
int | Path_NBins |
bool | shapetest |
bool | useCalibration |
std::vector< std::string > | VInputFiles |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D > | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D > | |
void | setDoStore (const bool doStore) |
When set to false the payload will not be written to the db. More... | |
void | storeOnDbNow () |
cond::Time_t | timeOfLastIOV () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 23 of file DeDxDiscriminatorLearner.h.
|
explicit |
Definition at line 34 of file DeDxDiscriminatorLearner.cc.
References algoMode, Charge_Max, Charge_Min, Charge_NBins, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HistoFile, m_calibrationPath, m_tkGeomToken, m_tracksTag, m_trajTrackAssociationTag, MaxNrStrips, MaxTrackEta, MaxTrackMomentum, MinTrackEta, MinTrackHits, MinTrackMomentum, P_Max, P_Min, P_NBins, Path_Max, Path_Min, Path_NBins, shapetest, useCalibration, and VInputFiles.
|
override |
Definition at line 67 of file DeDxDiscriminatorLearner.cc.
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D >.
Definition at line 120 of file DeDxDiscriminatorLearner.cc.
References edm::AssociationMap< Tag >::begin(), edm::AssociationMap< Tag >::end(), iEvent, TrajectoryStateOnSurface::isValid(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, TrajectoryStateOnSurface::localDirection(), TrajectoryStateOnSurface::localMomentum(), m_tracksTag, m_trajTrackAssociationTag, PV3DBase< T, PVType, FrameType >::mag(), MaxTrackEta, MaxTrackMomentum, Trajectory::measurements(), MinTrackEta, MinTrackHits, MinTrackMomentum, processHit(), rpcPointValidation_cfi::recHit, HLT_2024v14_cff::track, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 239 of file DeDxDiscriminatorLearner.cc.
References CustomPhysics_cfi::amplitude, DummyCfis::c, calibGains, ALCARECOTkAlJpsiMuMu_cff::charge, PixelTestBeamValidation_cfi::Charge, Charge_Vs_Path, PedestalClient_cfi::gain, ecalph2::gains, edm::EventSetup::getData(), mps_fire::i, createfilelist::int, m_off, m_tkGeomToken, castor_dqm_sourceclient_file_cfg::path, cond::runnumber, alignCSCRings::s, mps_setup::stdout, submitPVValidationJobs::t, useCalibration, and VInputFiles.
Referenced by algoBeginJob().
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D >.
Definition at line 71 of file DeDxDiscriminatorLearner.cc.
References algoAnalyzeTheTree(), algoMode, calibGains, Charge_Max, Charge_Min, Charge_NBins, Charge_Vs_Path, edm::EventSetup::getData(), m_calibrationPath, m_off, m_tkGeomToken, deDxTools::makeCalibrationMap(), P_Max, P_Min, P_NBins, Path_Max, Path_Min, Path_NBins, GeomDetEnumerators::PixelBarrel, and useCalibration.
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D >.
Definition at line 99 of file DeDxDiscriminatorLearner.cc.
References algoMode, Charge_Vs_Path, HistoFile, TrackCandidateTopBottomHitFilter_cfi::Input, and GetRecoTauVFromDQM_MC_cff::Output.
|
overrideprivatevirtual |
Implements ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D >.
Definition at line 350 of file DeDxDiscriminatorLearner.cc.
References Charge_Vs_Path, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), and getGTfromDQMFile::obj.
|
private |
Definition at line 161 of file DeDxDiscriminatorLearner.cc.
References calibGains, ALCARECOTkAlJpsiMuMu_cff::charge, Charge_Vs_Path, runTheMatrix::const, TrackingRecHit::det(), deDxTools::getCharge(), deDxTools::isFarFromBorder(), deDxTools::isSpanningOver2APV(), m_off, MaxNrStrips, SiStripMatchedRecHit2D::monoCluster(), GluedGeomDet::monoDet(), rpcPointValidation_cfi::recHit, deDxTools::shapeSelection(), shapetest, SiStripMatchedRecHit2D::stereoCluster(), GluedGeomDet::stereoDet(), and reco::btau::trackMomentum.
Referenced by algoAnalyze().
|
private |
Definition at line 66 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), algoEndJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 75 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and processHit().
|
private |
Definition at line 62 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 61 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 63 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 69 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), algoEndJob(), getNewObject(), and processHit().
|
private |
Definition at line 67 of file DeDxDiscriminatorLearner.h.
Referenced by algoEndJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 71 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 76 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and processHit().
|
private |
Definition at line 45 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 43 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 42 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 51 of file DeDxDiscriminatorLearner.h.
Referenced by DeDxDiscriminatorLearner(), and processHit().
|
private |
Definition at line 53 of file DeDxDiscriminatorLearner.h.
|
private |
Definition at line 50 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 48 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 49 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 52 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 47 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 56 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 55 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 57 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 59 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 58 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 60 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 73 of file DeDxDiscriminatorLearner.h.
Referenced by DeDxDiscriminatorLearner(), and processHit().
|
private |
Definition at line 72 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 65 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyzeTheTree(), and DeDxDiscriminatorLearner().