#include <RecoTracker/DeDx/plugins/DeDxHitInfoProducer.cc>
Public Member Functions | |
DeDxHitInfoProducer (const edm::ParameterSet &) | |
~DeDxHitInfoProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
void | beginRun (edm::Run const &run, const edm::EventSetup &) override |
void | makeCalibrationMap (const TrackerGeometry &tkGeom) |
void | processHit (const TrackingRecHit *recHit, const float trackMomentum, const float cosine, reco::DeDxHitInfo &hitDeDxInfo, const LocalPoint &hitLocalPos) |
void | produce (edm::Event &, const edm::EventSetup &) override |
uint64_t | xorshift128p (uint64_t state[2]) |
Private Attributes | |
std::vector< std::vector< float > > | calibGains |
const float | lowPtTracksDeDxThreshold |
GenericTruncatedAverageDeDxEstimator | lowPtTracksEstimator |
const unsigned int | lowPtTracksPrescaleFail |
const unsigned int | lowPtTracksPrescalePass |
const std::string | m_calibrationPath |
unsigned int | m_off |
edm::EDGetTokenT< reco::TrackCollection > | m_tracksTag |
const float | maxTrackEta |
const float | MeVperADCPixel |
const float | MeVperADCStrip |
const unsigned int | minTrackHits |
const float | minTrackPt |
const float | minTrackPtPrescale |
const bool | shapetest |
edm::ESHandle< TrackerGeometry > | tkGeom |
const bool | useCalibration |
const bool | usePixel |
const 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 |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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::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 34 of file DeDxHitInfoProducer.h.
|
explicit |
Definition at line 27 of file DeDxHitInfoProducer.cc.
References edm::ParameterSet::getParameter(), m_tracksTag, usePixel, and useStrip.
|
override |
Definition at line 55 of file DeDxHitInfoProducer.cc.
|
overrideprivate |
Definition at line 58 of file DeDxHitInfoProducer.cc.
References calibGains, edm::EventSetup::get(), m_calibrationPath, m_off, DeDxTools::makeCalibrationMap(), TrackerGeometry::offsetDU(), GeomDetEnumerators::PixelBarrel, tkGeom, and useCalibration.
|
private |
|
private |
Definition at line 165 of file DeDxHitInfoProducer.cc.
References funct::abs(), reco::DeDxHitInfo::addHit(), Surface::bounds(), calibGains, DEFINE_FWK_MODULE, TrackerSingleRecHit::detUnit(), TrackingRecHit::detUnit(), f, TrackingRecHit::geographicalId(), DeDxTools::getCharge(), TrackerGeometry::idToDet(), m_off, hpstanc_transforms::max, SiStripMatchedRecHit2D::monoHit(), rpcPointValidation_cfi::recHit, SiStripMatchedRecHit2D::stereoHit(), TrackerSingleRecHit::stripCluster(), GeomDet::surface(), Bounds::thickness(), tkGeom, usePixel, and useStrip.
Referenced by produce().
|
overrideprivate |
Definition at line 70 of file DeDxHitInfoProducer.cc.
References funct::abs(), reco::DeDxHitInfo::charge(), GenericTruncatedAverageDeDxEstimator::dedx(), reco::DeDxHitInfo::detId(), reco::TrackBase::eta(), edm::EventID::event(), reco::Track::extra(), objects.autophobj::filler, edm::Event::getByToken(), h, hcalSimParameters_cfi::hb, hfClusterShapes_cfi::hits, mps_fire::i, edm::EventBase::id(), lowPtTracksDeDxThreshold, lowPtTracksEstimator, lowPtTracksPrescaleFail, lowPtTracksPrescalePass, edm::EventID::luminosityBlock(), m_tracksTag, maxTrackEta, MeVperADCPixel, MeVperADCStrip, minTrackHits, minTrackPt, minTrackPtPrescale, eostools::move(), gen::n, reco::TrackBase::numberOfValidHits(), reco::TrackBase::p(), reco::DeDxHitInfo::pathlength(), processHit(), edm::Handle< T >::product(), reco::TrackBase::pt(), edm::Event::put(), rpcPointValidation_cfi::recHit, reco::Track::recHitsBegin(), reco::Track::recHitsSize(), DeDxTools::shapeSelection(), shapetest, reco::DeDxHitInfo::size(), reco::DeDxHitInfo::stripCluster(), DetId::subdetId(), HiIsolationCommonParameters_cff::track, findElectronsInSiStrips_cfi::trackCollection, and xorshift128p().
|
inlineprivate |
Definition at line 73 of file DeDxHitInfoProducer.h.
Referenced by produce().
|
private |
Definition at line 68 of file DeDxHitInfoProducer.h.
Referenced by beginRun(), and processHit().
|
private |
Definition at line 66 of file DeDxHitInfoProducer.h.
Referenced by produce().
|
private |
Definition at line 65 of file DeDxHitInfoProducer.h.
Referenced by produce().
|
private |
Definition at line 64 of file DeDxHitInfoProducer.h.
Referenced by produce().
|
private |
Definition at line 64 of file DeDxHitInfoProducer.h.
Referenced by produce().
|
private |
Definition at line 60 of file DeDxHitInfoProducer.h.
Referenced by beginRun().
|
private |
Definition at line 69 of file DeDxHitInfoProducer.h.
Referenced by beginRun(), and processHit().
|
private |
Definition at line 48 of file DeDxHitInfoProducer.h.
Referenced by DeDxHitInfoProducer(), and produce().
|
private |
Definition at line 58 of file DeDxHitInfoProducer.h.
Referenced by produce().
|
private |
Definition at line 52 of file DeDxHitInfoProducer.h.
Referenced by produce().
|
private |
Definition at line 53 of file DeDxHitInfoProducer.h.
Referenced by produce().
|
private |
Definition at line 55 of file DeDxHitInfoProducer.h.
Referenced by produce().
|
private |
Definition at line 56 of file DeDxHitInfoProducer.h.
Referenced by produce().
|
private |
Definition at line 57 of file DeDxHitInfoProducer.h.
Referenced by produce().
|
private |
Definition at line 62 of file DeDxHitInfoProducer.h.
Referenced by produce().
|
private |
Definition at line 71 of file DeDxHitInfoProducer.h.
Referenced by beginRun(), and processHit().
|
private |
Definition at line 61 of file DeDxHitInfoProducer.h.
Referenced by beginRun().
|
private |
Definition at line 50 of file DeDxHitInfoProducer.h.
Referenced by DeDxHitInfoProducer(), and processHit().
|
private |
Definition at line 51 of file DeDxHitInfoProducer.h.
Referenced by DeDxHitInfoProducer(), and processHit().