#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 | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 23 of file DeDxDiscriminatorLearner.h.
|
explicit |
Definition at line 36 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 68 of file DeDxDiscriminatorLearner.cc.
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D >.
Definition at line 112 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(), reco::TrackBase::eta(), reco::Track::found(), edm::Event::getByToken(), TrajectoryStateOnSurface::isValid(), TrackingRecHit::isValid(), TrajectoryStateOnSurface::localDirection(), TrajectoryStateOnSurface::localMomentum(), m_tracksTag, m_trajTrackAssociationTag, PV3DBase< T, PVType, FrameType >::mag(), MaxTrackEta, MaxTrackMomentum, Trajectory::measurements(), MinTrackEta, MinTrackHits, MinTrackMomentum, processHit(), reco::TrackBase::pt(), rpcPointValidation_cfi::recHit, HiIsolationCommonParameters_cff::track, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 202 of file DeDxDiscriminatorLearner.cc.
References CustomPhysics_cfi::amplitude, EnergyCorrector::c, calibGains, ALCARECOTkAlJpsiMuMu_cff::charge, Charge_Vs_Path, muonCSCDigis_cfi::gain, edm::EventSetup::get(), mps_fire::i, TrackerGeometry::idToDetUnit(), GeomDet::index(), createfilelist::int, m_off, callgraph::path, cond::runnumber, alignCSCRings::s, mps_setup::stdout, lumiQTWidget::t, useCalibration, and VInputFiles.
Referenced by algoBeginJob().
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D >.
Definition at line 72 of file DeDxDiscriminatorLearner.cc.
References algoAnalyzeTheTree(), algoMode, calibGains, Charge_Max, Charge_Min, Charge_NBins, Charge_Vs_Path, edm::EventSetup::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 90 of file DeDxDiscriminatorLearner.cc.
References algoMode, Charge_Vs_Path, HistoFile, Input, and Output.
|
overrideprivatevirtual |
Implements ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D >.
Definition at line 286 of file DeDxDiscriminatorLearner.cc.
References Charge_Vs_Path, DEFINE_FWK_MODULE, and GetRecoTauVFromDQM_MC_cff::obj.
|
private |
Definition at line 147 of file DeDxDiscriminatorLearner.cc.
References calibGains, ALCARECOTkAlJpsiMuMu_cff::charge, Charge_Vs_Path, TrackingRecHit::det(), TrackingRecHit::detUnit(), BaseTrackerRecHit::firstClusterRef(), DeDxTools::getCharge(), DeDxTools::IsFarFromBorder(), DeDxTools::IsSpanningOver2APV(), m_off, MaxNrStrips, SiStripMatchedRecHit2D::monoCluster(), GluedGeomDet::monoDet(), rpcPointValidation_cfi::recHit, DeDxTools::shapeSelection(), shapetest, SiStripMatchedRecHit2D::stereoCluster(), GluedGeomDet::stereoDet(), and OmniClusterRef::stripCluster().
Referenced by algoAnalyze().
|
private |
Definition at line 63 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 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 66 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), algoEndJob(), getNewObject(), and processHit().
|
private |
Definition at line 64 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 42 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 41 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 48 of file DeDxDiscriminatorLearner.h.
Referenced by DeDxDiscriminatorLearner(), and processHit().
|
private |
Definition at line 50 of file DeDxDiscriminatorLearner.h.
|
private |
Definition at line 47 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 46 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 44 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 53 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 52 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 54 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 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 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 62 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyzeTheTree(), and DeDxDiscriminatorLearner().