#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 () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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< 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, 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 PV3DBase< T, PVType, FrameType >::basicVector(), Surface::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, getHLTPrescaleColumns::path, DeDxDiscriminatorTools::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().