#include <RecoTracker/DeDxDiscriminatorLearner/src/DeDxDiscriminatorLearner.cc>
Classes | |
class | isEqual |
struct | stModInfo |
Public Member Functions | |
DeDxDiscriminatorLearner (const edm::ParameterSet &) | |
~DeDxDiscriminatorLearner () | |
Public Member Functions inherited from ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D > | |
ConditionDBWriter (const edm::ParameterSet &iConfig) | |
virtual | ~ConditionDBWriter () |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
virtual void | algoAnalyze (const edm::Event &, const edm::EventSetup &) |
virtual void | algoBeginJob (const edm::EventSetup &) |
virtual void | algoEndJob () |
PhysicsTools::Calibration::HistogramD3D * | getNewObject () |
void | Learn (const SiStripCluster *cluster, TrajectoryStateOnSurface trajState) |
Private Attributes | |
std::string | algoMode |
double | Charge_Max |
double | Charge_Min |
int | Charge_NBins |
TH3F * | Charge_Vs_Path |
std::string | HistoFile |
const TrackerGeometry * | m_tracker |
edm::InputTag | m_tracksTag |
edm::InputTag | m_trajTrackAssociationTag |
unsigned int | MaxNrStrips |
double | MaxTrackChiOverNdf |
double | MaxTrackEta |
double | MaxTrackMomentum |
double | MeVperADCPixel |
double | MeVperADCStrip |
double | MinTrackEta |
unsigned int | MinTrackHits |
double | MinTrackMomentum |
__gnu_cxx::hash_map< unsigned int, stModInfo *, __gnu_cxx::hash< unsigned int >, isEqual > | MODsColl |
double | P_Max |
double | P_Min |
int | P_NBins |
double | Path_Max |
double | Path_Min |
int | Path_NBins |
bool | usePixel |
bool | useStrip |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 32 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_tracksTag, m_trajTrackAssociationTag, MaxNrStrips, MaxTrackEta, MaxTrackMomentum, MinTrackEta, MinTrackHits, MinTrackMomentum, P_Max, P_Min, P_NBins, Path_Max, Path_Min, Path_NBins, usePixel, and useStrip.
DeDxDiscriminatorLearner::~DeDxDiscriminatorLearner | ( | ) |
Definition at line 68 of file DeDxDiscriminatorLearner.cc.
|
privatevirtual |
Reimplemented from ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D >.
Definition at line 131 of file DeDxDiscriminatorLearner.cc.
References edm::AssociationMap< Tag >::begin(), SiStripRecHit1D::cluster(), SiStripRecHit2D::cluster(), edm::AssociationMap< Tag >::end(), reco::TrackBase::eta(), reco::Track::found(), edm::EventSetup::get(), edm::Event::getByLabel(), TrajectoryStateOnSurface::isValid(), Learn(), m_tracker, m_tracksTag, m_trajTrackAssociationTag, MaxTrackEta, MaxTrackMomentum, Trajectory::measurements(), MinTrackEta, MinTrackHits, MinTrackMomentum, SiStripMatchedRecHit2D::monoCluster(), reco::TrackBase::p(), edm::Handle< T >::product(), edm::ESHandle< class >::product(), and SiStripMatchedRecHit2D::stereoCluster().
|
privatevirtual |
Reimplemented from ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D >.
Definition at line 72 of file DeDxDiscriminatorLearner.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), BoundSurface::bounds(), Charge_Max, Charge_Min, Charge_NBins, Charge_Vs_Path, DeDxDiscriminatorLearner::stModInfo::DetId, reco::tau::disc::Eta(), DeDxDiscriminatorLearner::stModInfo::Eta, Basic3DVector< T >::eta(), edm::EventSetup::get(), i, m_tracker, MODsColl, DeDxDiscriminatorLearner::stModInfo::NAPV, StripTopology::nstrips(), P_Max, P_Min, P_NBins, Path_Max, Path_Min, Path_NBins, GeomDet::position(), edm::ESHandle< class >::product(), dttmaxenums::R, DeDxDiscriminatorLearner::stModInfo::R, DetId::rawId(), StripGeomDetUnit::specificTopology(), DeDxDiscriminatorLearner::stModInfo::SubDet, DetId::subdetId(), GeomDet::surface(), StripSubdetector::TEC, Bounds::thickness(), DeDxDiscriminatorLearner::stModInfo::Thickness, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, and Basic3DVector< T >::transverse().
|
privatevirtual |
Reimplemented from ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D >.
Definition at line 115 of file DeDxDiscriminatorLearner.cc.
References algoMode, Charge_Vs_Path, HistoFile, Input, and Output.
|
privatevirtual |
Implements ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D >.
Definition at line 204 of file DeDxDiscriminatorLearner.cc.
References Charge_Vs_Path, getGTfromDQMFile::obj, and PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >::setBinContent().
|
private |
Definition at line 183 of file DeDxDiscriminatorLearner.cc.
References SiStripCluster::amplitudes(), DeDxDiscriminatorTools::charge(), Charge_Vs_Path, SiStripCluster::firstStrip(), SiStripCluster::geographicalId(), TrackerGeometry::idToDetUnit(), DeDxDiscriminatorTools::IsFarFromBorder(), DeDxDiscriminatorTools::IsSpanningOver2APV(), TrajectoryStateOnSurface::localDirection(), TrajectoryStateOnSurface::localMomentum(), m_tracker, PV3DBase< T, PVType, FrameType >::mag(), MaxNrStrips, MODsColl, DeDxDiscriminatorTools::path(), scaleCards::path, DeDxDiscriminatorLearner::stModInfo::Thickness, and PV3DBase< T, PVType, FrameType >::z().
Referenced by algoAnalyze().
|
private |
Definition at line 80 of file DeDxDiscriminatorLearner.h.
Referenced by algoEndJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 76 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 75 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 77 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 83 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), algoEndJob(), getNewObject(), and Learn().
|
private |
Definition at line 81 of file DeDxDiscriminatorLearner.h.
Referenced by algoEndJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 58 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), algoBeginJob(), and Learn().
|
private |
Definition at line 51 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 64 of file DeDxDiscriminatorLearner.h.
Referenced by DeDxDiscriminatorLearner(), and Learn().
|
private |
Definition at line 66 of file DeDxDiscriminatorLearner.h.
|
private |
Definition at line 63 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 61 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 55 of file DeDxDiscriminatorLearner.h.
|
private |
Definition at line 56 of file DeDxDiscriminatorLearner.h.
|
private |
Definition at line 62 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 65 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 60 of file DeDxDiscriminatorLearner.h.
Referenced by algoAnalyze(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 93 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and Learn().
|
private |
Definition at line 70 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 69 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 71 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 73 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 72 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 74 of file DeDxDiscriminatorLearner.h.
Referenced by algoBeginJob(), and DeDxDiscriminatorLearner().
|
private |
Definition at line 53 of file DeDxDiscriminatorLearner.h.
Referenced by DeDxDiscriminatorLearner().
|
private |
Definition at line 54 of file DeDxDiscriminatorLearner.h.
Referenced by DeDxDiscriminatorLearner().