#include <ME0ReDigiProducer.h>
Classes | |
class | TemporaryGeometry |
Public Member Functions | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
void | buildDigis (const ME0DigiPreRecoCollection &, ME0DigiPreRecoCollection &, ME0DigiPreRecoMap &, CLHEP::HepRandomEngine *engine) |
ME0ReDigiProducer (const edm::ParameterSet &ps) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~ME0ReDigiProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
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 |
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(), digitizers_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().