#include <ME0ReDigiProducer.h>
Classes | |
class | TemporaryGeometry |
Public Member Functions | |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) override |
void | buildDigis (const ME0DigiPreRecoCollection &, ME0DigiPreRecoCollection &, ME0DigiPreRecoMap &, CLHEP::HepRandomEngine *engine) |
ME0ReDigiProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
virtual | ~ME0ReDigiProducer () |
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 Types | |
typedef std::map< DigiIndicies, unsigned int > | ChamberDigiMap |
typedef std::tuple< unsigned int, unsigned int, unsigned int > | DigiIndicies |
Private Member Functions | |
void | fillCentralTOFs () |
unsigned int | fillDigiMap (ChamberDigiMap &chDigiMap, unsigned int bx, unsigned int part, unsigned int strip, unsigned int currentIDX) const |
int | getCustomStripProperties (const ME0DetId &detId, const ME0DigiPreReco *inDigi, float &tof, int &strip, LocalPoint &digiLocalPoint, LocalError &digiLocalError) const |
void | getStripProperties (const ME0EtaPartition *etaPart, const ME0DigiPreReco *inDigi, float &tof, int &strip, LocalPoint &digiLocalPoint, LocalError &digiLocalError) const |
Private Attributes | |
const float | bxWidth |
const ME0Geometry * | geometry |
std::vector< int > | layerReadout |
int | maxBXReadout |
bool | mergeDigis |
int | minBXReadout |
double | neutronAcceptance |
unsigned int | numberOfPartitions |
unsigned int | numberOfStrips |
TemporaryGeometry * | tempGeo |
double | timeResolution |
std::vector< std::vector< double > > | tofs |
edm::EDGetTokenT< ME0DigiPreRecoCollection > | token |
bool | useBuiltinGeo |
bool | useCusGeoFor1PartGeo |
bool | usePads |
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) |
Definition at line 29 of file ME0ReDigiProducer.h.
|
private |
Definition at line 77 of file ME0ReDigiProducer.h.
|
private |
Definition at line 76 of file ME0ReDigiProducer.h.
|
explicit |
Definition at line 136 of file ME0ReDigiProducer.cc.
References Exception, neutronAcceptance, numberOfPartitions, numberOfStrips, tempGeo, useBuiltinGeo, useCusGeoFor1PartGeo, and usePads.
|
virtual |
|
overridevirtual |
Definition at line 183 of file ME0ReDigiProducer.cc.
References chambers, Exception, fillCentralTOFs(), edm::EventSetup::get(), layerReadout, LogDebug, MuonTCMETValueMapProducer_cff::nLayers, numberOfPartitions, numberOfStrips, ME0ReDigiProducer::TemporaryGeometry::numLayers(), tempGeo, useBuiltinGeo, and useCusGeoFor1PartGeo.
void ME0ReDigiProducer::buildDigis | ( | const ME0DigiPreRecoCollection & | input_digis, |
ME0DigiPreRecoCollection & | output_digis, | ||
ME0DigiPreRecoMap & | output_digimap, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 245 of file ME0ReDigiProducer.cc.
References bxWidth, fillDigiMap(), getCustomStripProperties(), getStripProperties(), MuonDigiCollection< IndexType, DigiType >::insertDigi(), layerReadout, LogDebug, LogTrace, maxBXReadout, mergeDigis, minBXReadout, neutronAcceptance, fftjetvertexadder_cfi::sigmaX, fftjetvertexadder_cfi::sigmaY, mathSSE::sqrt(), digi_MixPreMix_cfi::strip, timeResolution, useBuiltinGeo, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().
Referenced by produce().
|
private |
Definition at line 352 of file ME0ReDigiProducer.cc.
References Exception, LogDebug, MuonTCMETValueMapProducer_cff::nLayers, and tofs.
Referenced by beginRun().
|
private |
Definition at line 417 of file ME0ReDigiProducer.cc.
Referenced by buildDigis().
|
private |
Definition at line 374 of file ME0ReDigiProducer.cc.
References ME0ReDigiProducer::TemporaryGeometry::findEtaPartition(), objects.autophobj::float, ME0ReDigiProducer::TemporaryGeometry::getCentralTOF(), ME0ReDigiProducer::TemporaryGeometry::getPartCenter(), ME0ReDigiProducer::TemporaryGeometry::getTopo(), LogTrace, partIdx(), mathSSE::sqrt(), tempGeo, ME0DigiPreReco::x(), PV3DBase< T, PVType, FrameType >::x(), ME0DigiPreReco::y(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by buildDigis().
|
private |
Definition at line 399 of file ME0ReDigiProducer.cc.
References objects.autophobj::float, ME0EtaPartition::id(), ME0DetId::layer(), TrapezoidalStripTopology::nstrips(), TrapezoidalStripTopology::pitch(), TrapezoidalStripTopology::radius(), ME0DetId::roll(), ME0EtaPartition::specificTopology(), mathSSE::sqrt(), TrapezoidalStripTopology::stripLength(), tofs, usePads, ME0DigiPreReco::x(), and ME0DigiPreReco::y().
Referenced by buildDigis().
|
overridevirtual |
Definition at line 222 of file ME0ReDigiProducer.cc.
References buildDigis(), edm::Event::getByToken(), edm::RandomNumberGenerator::getEngine(), eostools::move(), edm::Handle< T >::product(), edm::Event::put(), edm::Event::streamID(), and token.
|
private |
Definition at line 82 of file ME0ReDigiProducer.h.
Referenced by buildDigis().
|
private |
Definition at line 96 of file ME0ReDigiProducer.h.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent().
|
private |
Definition at line 91 of file ME0ReDigiProducer.h.
Referenced by beginRun(), and buildDigis().
|
private |
Definition at line 90 of file ME0ReDigiProducer.h.
Referenced by buildDigis().
|
private |
Definition at line 92 of file ME0ReDigiProducer.h.
Referenced by buildDigis().
|
private |
Definition at line 89 of file ME0ReDigiProducer.h.
Referenced by buildDigis().
|
private |
Definition at line 87 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 86 of file ME0ReDigiProducer.h.
Referenced by beginRun(), ME0ReDigiProducer(), and ME0ReDigiProducer::TemporaryGeometry::TemporaryGeometry().
|
private |
Definition at line 85 of file ME0ReDigiProducer.h.
Referenced by beginRun(), ME0ReDigiProducer(), and ME0ReDigiProducer::TemporaryGeometry::TemporaryGeometry().
|
private |
Definition at line 97 of file ME0ReDigiProducer.h.
Referenced by beginRun(), getCustomStripProperties(), ME0ReDigiProducer(), and ~ME0ReDigiProducer().
|
private |
Definition at line 88 of file ME0ReDigiProducer.h.
Referenced by buildDigis().
|
private |
Definition at line 98 of file ME0ReDigiProducer.h.
Referenced by fillCentralTOFs(), and getStripProperties().
|
private |
Definition at line 93 of file ME0ReDigiProducer.h.
Referenced by produce().
|
private |
Definition at line 95 of file ME0ReDigiProducer.h.
Referenced by beginRun(), buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 83 of file ME0ReDigiProducer.h.
Referenced by beginRun(), and ME0ReDigiProducer().
|
private |
Definition at line 84 of file ME0ReDigiProducer.h.
Referenced by getStripProperties(), and ME0ReDigiProducer().