#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::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::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 23 of file DeDxDiscriminatorLearner.h.
|
explicit |
Definition at line 35 of file DeDxDiscriminatorLearner.cc.
References algoMode, Charge_Max, Charge_Min, Charge_NBins, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HistoFile, m_calibrationPath, 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< edm::OneToOne< std::vector< Trajectory >, reco::TrackCollection, unsigned short > >::const_iterator, edm::AssociationMap< Tag >::end(), iEvent, TrajectoryStateOnSurface::isValid(), 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_2018_cff::track, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 239 of file DeDxDiscriminatorLearner.cc.
References CustomPhysics_cfi::amplitude, HltBtagPostValidation_cff::c, calibGains, ALCARECOTkAlJpsiMuMu_cff::charge, PixelTestBeamValidation_cfi::Charge, Charge_Vs_Path, PedestalClient_cfi::gain, edm::EventSetup::get(), get, mps_fire::i, TrackerGeometry::idToDetUnit(), GeomDet::index(), createfilelist::int, m_off, castor_dqm_sourceclient_file_cfg::path, cond::runnumber, alignCSCRings::s, mps_setup::stdout, OrderedSet::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::get(), get, m_calibrationPath, m_off, DeDxTools::makeCalibrationMap(), TrackerGeometry::offsetDU(), 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, Input, and Output.
|
overrideprivatevirtual |
Implements ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D >.
Definition at line 351 of file DeDxDiscriminatorLearner.cc.
References Charge_Vs_Path, and getGTfromDQMFile::obj.
|
private |
Definition at line 161 of file DeDxDiscriminatorLearner.cc.
References calibGains, ALCARECOTkAlJpsiMuMu_cff::charge, Charge_Vs_Path, 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 64 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), algoEndJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 73 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and processHit().
|
private |
Definition at line 60 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 61 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 67 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), algoEndJob(), getNewObject(), and processHit().
|
private |
Definition at line 65 of file DeDxDiscriminatorLearner.h.
Referenced by algoEndJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 69 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 74 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and processHit().
|
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 49 of file DeDxDiscriminatorLearner.h.
Referenced by DeDxDiscriminatorLearner(), and processHit().
|
private |
Definition at line 51 of file DeDxDiscriminatorLearner.h.
|
private |
Definition at line 48 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 46 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 50 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 45 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 54 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 53 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 56 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 71 of file DeDxDiscriminatorLearner.h.
Referenced by DeDxDiscriminatorLearner(), and processHit().
|
private |
Definition at line 70 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 63 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyzeTheTree(), and DeDxDiscriminatorLearner().