#include <CSCRecHitDProducer.h>
Public Member Functions | |
CSCRecHitDProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
~CSCRecHitDProducer () | |
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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Attributes | |
unsigned | iRun |
CSCRecHitDBuilder * | recHitBuilder_ |
CSCRecoConditions * | recoConditions_ |
edm::EDGetTokenT < CSCStripDigiCollection > | s_token |
bool | useCalib |
bool | useGasGainCorrections |
bool | useStaticPedestals |
bool | useTimingCorrections |
edm::EDGetTokenT < CSCWireDigiCollection > | w_token |
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) |
Produces a collection of CSCRecHit2D's (2-dim space-point RecHits) in endcap muon CSCs. It starts from collections of CSC wire and strip digis. The treatment here is differently than from CSCRecHit2Producer existing in RecoLocalMuon/CSCRecHit as pseudo-segments are built from wire hits only and strip only hits.
Definition at line 30 of file CSCRecHitDProducer.h.
|
explicit |
Definition at line 19 of file CSCRecHitDProducer.cc.
References edm::ParameterSet::getParameter(), recHitBuilder_, recoConditions_, s_token, CSCRecHitDBuilder::setConditions(), and w_token.
CSCRecHitDProducer::~CSCRecHitDProducer | ( | ) |
Definition at line 40 of file CSCRecHitDProducer.cc.
References recHitBuilder_, and recoConditions_.
|
virtual |
Implements edm::stream::EDProducerBase.
Definition at line 47 of file CSCRecHitDProducer.cc.
References CSCRecHitDBuilder::build(), edm::EventID::event(), edm::EventSetup::get(), edm::Event::getByToken(), h, edm::EventBase::id(), CSCRecoConditions::initializeEvent(), LogTrace, edm::Handle< T >::product(), edm::Event::put(), recHitBuilder_, recoConditions_, edm::EventID::run(), s_token, CSCRecHitDBuilder::setGeometry(), useCalib, useGasGainCorrections, useStaticPedestals, useTimingCorrections, and w_token.
|
private |
Definition at line 41 of file CSCRecHitDProducer.h.
|
private |
Definition at line 47 of file CSCRecHitDProducer.h.
Referenced by CSCRecHitDProducer(), produce(), and ~CSCRecHitDProducer().
|
private |
Definition at line 48 of file CSCRecHitDProducer.h.
Referenced by CSCRecHitDProducer(), produce(), and ~CSCRecHitDProducer().
|
private |
Definition at line 50 of file CSCRecHitDProducer.h.
Referenced by CSCRecHitDProducer(), and produce().
|
private |
Definition at line 42 of file CSCRecHitDProducer.h.
Referenced by produce().
|
private |
Definition at line 45 of file CSCRecHitDProducer.h.
Referenced by produce().
|
private |
Definition at line 43 of file CSCRecHitDProducer.h.
Referenced by produce().
|
private |
Definition at line 44 of file CSCRecHitDProducer.h.
Referenced by produce().
|
private |
Definition at line 51 of file CSCRecHitDProducer.h.
Referenced by CSCRecHitDProducer(), and produce().