#include <RecoTracker/DeDxDiscriminatorProducer/src/DeDxDiscriminatorProducer.cc>
Classes | |
class | isEqual |
struct | stModInfo |
Private Member Functions | |
virtual void | beginRun (edm::Run const &run, const edm::EventSetup &) override |
int | ClusterSaturatingStrip (const SiStripCluster *cluster, const uint32_t &) |
double | ComputeDiscriminator (std::vector< double > &vect_probs) |
virtual void | endStream () override |
double | GetProbability (const SiStripCluster *cluster, TrajectoryStateOnSurface trajState, const uint32_t &) |
void | MakeCalibrationMap () |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
PhysicsTools::Calibration::HistogramD3D | DeDxMap_ |
unsigned int | Formula |
std::string | m_calibrationPath |
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 |
TH3D * | Prob_ChargePath |
std::string | ProbabilityMode |
std::string | Reccord |
bool | shapetest |
bool | useCalibration |
bool | usePixel |
bool | useStrip |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 48 of file DeDxDiscriminatorProducer.h.
|
explicit |
Definition at line 48 of file DeDxDiscriminatorProducer.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and NULL.
DeDxDiscriminatorProducer::~DeDxDiscriminatorProducer | ( | ) |
Definition at line 81 of file DeDxDiscriminatorProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 84 of file DeDxDiscriminatorProducer.cc.
References compareJSON::const, DeDxDiscriminatorProducer::stModInfo::DetId, reco::tau::disc::Eta(), DeDxDiscriminatorProducer::stModInfo::Eta, cmsRelvalreport::exit, edm::EventSetup::get(), i, j, gen::k, ConfigFiles::l, DeDxDiscriminatorProducer::stModInfo::NAPV, StripTopology::nstrips(), edm::ESHandle< class >::product(), dttmaxenums::R, DeDxDiscriminatorProducer::stModInfo::R, DetId::rawId(), DeDxDiscriminatorProducer::stModInfo::SubDet, DetId::subdetId(), StripSubdetector::TEC, DeDxDiscriminatorProducer::stModInfo::Thickness, StripSubdetector::TIB, StripSubdetector::TID, tmp, StripSubdetector::TOB, SiStripMonitorClusterAlca_cfi::xmax, SiStripMonitorClusterAlca_cfi::xmin, SiStripMonitorClusterAlca_cfi::ymax, SiStripMonitorClusterAlca_cfi::ymin, SiStripMonitorClusterAlca_cfi::zmax, and SiStripMonitorClusterAlca_cfi::zmin.
|
private |
Definition at line 315 of file DeDxDiscriminatorProducer.cc.
References SiStripCluster::amplitudes(), DeDxDiscriminatorProducer::stModInfo::Gain, i, and NULL.
|
private |
Definition at line 375 of file DeDxDiscriminatorProducer.cc.
References create_public_lumi_plots::exp, i, ConfigFiles::l, fff_deleter::log, max(), bookConverter::min, P, funct::pow(), findQualityFiles::size, and python.multivaluedict::sort().
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 220 of file DeDxDiscriminatorProducer.cc.
|
private |
Definition at line 331 of file DeDxDiscriminatorProducer.cc.
References SiStripCluster::amplitudes(), reco_application_tbsim_DetSim-Digi_cfg::BinX, reco_application_tbsim_DetSim-Digi_cfg::BinY, DeDxDiscriminatorTools::charge(), DeDxDiscriminatorProducer::stModInfo::Gain, i, TrajectoryStateOnSurface::localDirection(), TrajectoryStateOnSurface::localMomentum(), PV3DBase< T, PVType, FrameType >::mag(), DeDxDiscriminatorTools::path(), cmsHarvester::path, DeDxDiscriminatorProducer::stModInfo::Thickness, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 430 of file DeDxDiscriminatorProducer.cc.
References DeDxDiscriminatorProducer::stModInfo::Gain.
|
overrideprivatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 227 of file DeDxDiscriminatorProducer.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(), edm::helper::Filler< Map >::fill(), reco::Track::found(), edm::EventSetup::get(), edm::Event::getByToken(), DeDxTools::GetCluster(), edm::helper::Filler< Map >::insert(), TrajectoryStateOnSurface::isValid(), Trajectory::measurements(), reco::TrackBase::p(), edm::Handle< T >::product(), edm::ESHandle< class >::product(), edm::Event::put(), DeDxTools::shapeSelection(), edm::AssociationMap< Tag >::size(), and findQualityFiles::size.
|
private |
Definition at line 83 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 93 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 76 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 81 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 69 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 68 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 89 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 91 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 88 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 86 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 73 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 74 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 87 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 90 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 85 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 110 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 98 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 95 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 94 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 78 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 77 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 71 of file DeDxDiscriminatorProducer.h.
|
private |
Definition at line 72 of file DeDxDiscriminatorProducer.h.