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 | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
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 |
edm::ESGetToken< ME0Geometry, MuonGeometryRecord > | geom_token_ |
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<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 41 of file ME0ReDigiProducer.cc.
|
private |
Definition at line 102 of file ME0ReDigiProducer.cc.
|
private |
Definition at line 101 of file ME0ReDigiProducer.cc.
|
explicit |
Definition at line 268 of file ME0ReDigiProducer.cc.
References Exception, neutronAcceptance, numberOfPartitions, numberOfStrips, tempGeo, useBuiltinGeo, useCusGeoFor1PartGeo, and usePads.
|
override |
|
override |
Definition at line 316 of file ME0ReDigiProducer.cc.
References chambers, options_cfi::eventSetup, Exception, fillCentralTOFs(), geom_token_, 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 372 of file ME0ReDigiProducer.cc.
References bxWidth, fillDigiMap(), getCustomStripProperties(), getStripProperties(), MuonDigiCollection< IndexType, DigiType >::insertDigi(), layerReadout, LogDebug, LogTrace, maxBXReadout, mergeDigis, minBXReadout, neutronAcceptance, FastTimerService_cff::range, BeamSpotPI::sigmaX, BeamSpotPI::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 478 of file ME0ReDigiProducer.cc.
References Exception, pixelTopology::layer, LogDebug, MuonTCMETValueMapProducer_cff::nLayers, and tofs.
Referenced by beginRun().
|
private |
Definition at line 557 of file ME0ReDigiProducer.cc.
References l1GtPatternGenerator_cfi::bx, and digitizers_cfi::strip.
Referenced by buildDigis().
|
private |
Definition at line 501 of file ME0ReDigiProducer.cc.
References ME0ReDigiProducer::TemporaryGeometry::findEtaPartition(), dqmMemoryStats::float, ME0ReDigiProducer::TemporaryGeometry::getCentralTOF(), ME0ReDigiProducer::TemporaryGeometry::getPartCenter(), ME0ReDigiProducer::TemporaryGeometry::getTopo(), LogTrace, partIdx(), mathSSE::sqrt(), digitizers_cfi::strip, tempGeo, ME0DigiPreReco::x(), PV3DBase< T, PVType, FrameType >::x(), ME0DigiPreReco::y(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by buildDigis().
|
private |
Definition at line 533 of file ME0ReDigiProducer.cc.
References dqmMemoryStats::float, ME0EtaPartition::id(), ME0DetId::layer(), TrapezoidalStripTopology::nstrips(), TrapezoidalStripTopology::pitch(), TrapezoidalStripTopology::radius(), ME0DetId::roll(), ME0EtaPartition::specificTopology(), mathSSE::sqrt(), digitizers_cfi::strip, TrapezoidalStripTopology::stripLength(), tofs, usePads, ME0DigiPreReco::x(), and ME0DigiPreReco::y().
Referenced by buildDigis().
|
override |
Definition at line 354 of file ME0ReDigiProducer.cc.
References buildDigis(), MillePedeFileConverter_cfg::e, edm::RandomNumberGenerator::getEngine(), eostools::move(), edm::Handle< T >::product(), and token.
|
private |
Definition at line 108 of file ME0ReDigiProducer.cc.
Referenced by buildDigis().
|
private |
Definition at line 120 of file ME0ReDigiProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 123 of file ME0ReDigiProducer.cc.
|
private |
Definition at line 117 of file ME0ReDigiProducer.cc.
Referenced by beginRun(), and buildDigis().
|
private |
Definition at line 116 of file ME0ReDigiProducer.cc.
Referenced by buildDigis().
|
private |
Definition at line 118 of file ME0ReDigiProducer.cc.
Referenced by buildDigis().
|
private |
Definition at line 115 of file ME0ReDigiProducer.cc.
Referenced by buildDigis().
|
private |
Definition at line 113 of file ME0ReDigiProducer.cc.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 112 of file ME0ReDigiProducer.cc.
Referenced by beginRun(), ME0ReDigiProducer(), and ME0ReDigiProducer::TemporaryGeometry::TemporaryGeometry().
|
private |
Definition at line 111 of file ME0ReDigiProducer.cc.
Referenced by beginRun(), ME0ReDigiProducer(), and ME0ReDigiProducer::TemporaryGeometry::TemporaryGeometry().
|
private |
Definition at line 124 of file ME0ReDigiProducer.cc.
Referenced by beginRun(), getCustomStripProperties(), ME0ReDigiProducer(), and ~ME0ReDigiProducer().
|
private |
Definition at line 114 of file ME0ReDigiProducer.cc.
Referenced by buildDigis().
|
private |
Definition at line 125 of file ME0ReDigiProducer.cc.
Referenced by fillCentralTOFs(), and getStripProperties().
|
private |
Definition at line 119 of file ME0ReDigiProducer.cc.
Referenced by produce().
|
private |
Definition at line 122 of file ME0ReDigiProducer.cc.
Referenced by beginRun(), buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 109 of file ME0ReDigiProducer.cc.
Referenced by beginRun(), and ME0ReDigiProducer().
|
private |
Definition at line 110 of file ME0ReDigiProducer.cc.
Referenced by getStripProperties(), and ME0ReDigiProducer().