#include <ME0ReDigiProducer.h>
Classes | |
class | TemporaryGeometry |
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 | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
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.
|
override |
|
override |
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().
|
override |
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().