#include <RecoTracker/DeDxDiscriminatorLearner/src/DeDxDiscriminatorLearner.cc>
Classes | |
class | isEqual |
struct | stModInfo |
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::EDGetTokenT < reco::TrackCollection > | m_tracksTag |
edm::EDGetTokenT < TrajTrackAssociationCollection > | 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 |
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::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 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(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::TrackCollection, unsigned short > >::const_iterator, edm::AssociationMap< Tag >::end(), reco::TrackBase::eta(), reco::Track::found(), edm::EventSetup::get(), edm::Event::getByToken(), TrajectoryStateOnSurface::isValid(), Learn(), m_tracker, m_tracksTag, m_trajTrackAssociationTag, MaxTrackEta, MaxTrackMomentum, Trajectory::measurements(), MinTrackEta, MinTrackHits, MinTrackMomentum, reco::TrackBase::p(), edm::Handle< T >::product(), and edm::ESHandle< class >::product().
|
privatevirtual |
Reimplemented from ConditionDBWriter< PhysicsTools::Calibration::HistogramD3D >.
Definition at line 72 of file DeDxDiscriminatorLearner.cc.
References Charge_Max, Charge_Min, Charge_NBins, Charge_Vs_Path, compareJSON::const, DeDxDiscriminatorLearner::stModInfo::DetId, reco::tau::disc::Eta(), DeDxDiscriminatorLearner::stModInfo::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, edm::ESHandle< class >::product(), dttmaxenums::R, DeDxDiscriminatorLearner::stModInfo::R, DetId::rawId(), DeDxDiscriminatorLearner::stModInfo::SubDet, DetId::subdetId(), StripSubdetector::TEC, DeDxDiscriminatorLearner::stModInfo::Thickness, StripSubdetector::TIB, StripSubdetector::TID, and StripSubdetector::TOB.
|
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(), TrackerGeometry::idToDetUnit(), DeDxDiscriminatorTools::IsFarFromBorder(), DeDxDiscriminatorTools::IsSpanningOver2APV(), TrajectoryStateOnSurface::localDirection(), TrajectoryStateOnSurface::localMomentum(), m_tracker, PV3DBase< T, PVType, FrameType >::mag(), MaxNrStrips, MODsColl, DeDxDiscriminatorTools::path(), cmsHarvester::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().