#include <DTDigitizer.h>
Classes | |
struct | hitLessT |
Public Member Functions | |
DTDigitizer (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) 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< DTWireId, std::vector< const PSimHit * > > | DTWireIdMap |
typedef DTWireIdMap::const_iterator | DTWireIdMapConstIter |
typedef DTWireIdMap::iterator | DTWireIdMapIter |
typedef std::pair< const PSimHit *, float > | hitAndT |
typedef std::vector< hitAndT > | TDContainer |
Private Member Functions | |
float | asymGausSmear (double mean, double sigmaLeft, double sigmaRight, CLHEP::HepRandomEngine *) const |
std::pair< float, bool > | computeTime (const DTLayer *layer, const DTWireId &wireId, const PSimHit *hit, const LocalVector &BLoc, CLHEP::HepRandomEngine *) |
std::pair< float, bool > | driftTimeFromParametrization (float x, float alpha, float By, float Bz, CLHEP::HepRandomEngine *) const |
std::pair< float, bool > | driftTimeFromTimeMap () const |
void | dumpHit (const PSimHit *hit, float xEntry, float xExit, const DTTopology &topo) |
float | externalDelays (const DTLayer *layer, const DTWireId &wireId, const PSimHit *hit) const |
void | storeDigis (DTWireId &wireId, TDContainer &hits, DTDigiCollection &output, DTDigiSimLinkCollection &outputLinks) |
Private Attributes | |
int | base |
edm::EDGetTokenT< CrossingFrame< PSimHit > > | cf_token |
std::string | collection_for_XF |
float | deadTime |
bool | debug |
std::string | geometryType |
bool | IdealModel |
bool | interpolate |
float | LinksTimeWindow |
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | magnField_token |
std::string | mix_ |
bool | MultipleLinks |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | muonGeom_token |
bool | onlyMuHits |
float | smearing |
std::string | syncName |
float | theConstVDrift |
std::unique_ptr< DTDigiSyncBase > | theSync |
double | vPropWire |
Friends | |
class | DTDigitizerAnalysis |
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 |
Digitize the muon drift tubes. The parametrisation function in DTDriftTimeParametrization from P.G.Abia, J.Puerta is used in all cases where it is applicable.
Definition at line 52 of file DTDigitizer.h.
|
private |
Definition at line 62 of file DTDigitizer.h.
|
private |
Definition at line 64 of file DTDigitizer.h.
|
private |
Definition at line 63 of file DTDigitizer.h.
|
private |
Definition at line 59 of file DTDigitizer.h.
|
private |
Definition at line 60 of file DTDigitizer.h.
|
explicit |
Definition at line 51 of file DTDigitizer.cc.
References get, and edm::ParameterSet::getParameter().
|
private |
Definition at line 443 of file DTDigitizer.cc.
References f, SiStripPI::mean, and submitPVValidationJobs::t.
Referenced by driftTimeFromParametrization().
|
private |
Definition at line 225 of file DTDigitizer.cc.
References Vector3DBase< T, FrameTag >::cross(), ztail::d, debug, dumpMFGeometry_cfg::delta, DeadROC_duringRun::dir, Vector3DBase< T, FrameTag >::dot(), driftTimeFromParametrization(), driftTimeFromTimeMap(), dumpHit(), externalDelays(), IdealModel, pixelTopology::layer, M_PI, PV3DBase< T, PVType, FrameType >::mag(), DTTopology::none, DTTopology::onWhichBorder(), DiDispStaMuonMonitor_cfi::pt, pv::pT, mathSSE::sqrt(), theConstVDrift, theta(), Vector3DBase< T, FrameTag >::unit(), DTWireId::wire(), DTTopology::wirePosition(), x, PV3DBase< T, PVType, FrameType >::x(), DTTopology::xMax, DTTopology::xMin, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
|
private |
Definition at line 371 of file DTDigitizer.cc.
References asymGausSmear(), debug, GeomDetEnumerators::DT, f, RemoveAddSevLevel::flag, interpolate, SiStripPI::max, DTDriftTimeParametrization::MB_DT_drift_time(), smearing, theta(), protons_cff::time, and x.
Referenced by computeTime().
|
private |
|
private |
Definition at line 561 of file DTDigitizer.cc.
References DTTopology::cellHeight(), DTTopology::cellLenght(), DTTopology::cellWidth(), createfilelist::int, mag(), DTTopology::onWhichBorder(), x, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by computeTime().
|
private |
Definition at line 469 of file DTDigitizer.cc.
References debug, pixelTopology::layer, theSync, vPropWire, and hit::y.
Referenced by computeTime().
|
override |
Definition at line 130 of file DTDigitizer.cc.
References cf_token, computeTime(), debug, edm::RandomNumberGenerator::getEngine(), edm::EventSetup::getHandle(), iEvent, MagneticField::inTesla(), DTGeometry::layer(), pixelTopology::layer, DTWireId::layerId(), magnField_token, eostools::move(), muonGeom_token, convertSQLitetoXML_cfg::output, edm::Handle< T >::product(), rpcPointValidation_cfi::simHit, FastTrackerRecHitCombiner_cfi::simHits, storeDigis(), and protons_cff::time.
|
private |
Definition at line 494 of file DTDigitizer.cc.
References funct::abs(), base, deadTime, debug, hfClusterShapes_cfi::hits, MuonDigiCollection< IndexType, DigiType >::insertDigi(), DTWireId::layerId(), LinksTimeWindow, MultipleLinks, DTDigi::number(), onlyMuHits, convertSQLitetoXML_cfg::output, jetUpdater_cfi::sort, protons_cff::time, DTDigi::time(), and DTWireId::wire().
Referenced by produce().
|
friend |
Definition at line 108 of file DTDigitizer.h.
|
private |
Definition at line 117 of file DTDigitizer.h.
Referenced by storeDigis().
|
private |
Definition at line 136 of file DTDigitizer.h.
Referenced by produce().
|
private |
Definition at line 134 of file DTDigitizer.h.
|
private |
Definition at line 112 of file DTDigitizer.h.
Referenced by storeDigis().
|
private |
Definition at line 114 of file DTDigitizer.h.
Referenced by computeTime(), driftTimeFromParametrization(), driftTimeFromTimeMap(), externalDelays(), produce(), and storeDigis().
|
private |
Definition at line 122 of file DTDigitizer.h.
|
private |
Definition at line 125 of file DTDigitizer.h.
Referenced by computeTime().
|
private |
Definition at line 115 of file DTDigitizer.h.
Referenced by driftTimeFromParametrization().
|
private |
Definition at line 130 of file DTDigitizer.h.
Referenced by storeDigis().
|
private |
Definition at line 138 of file DTDigitizer.h.
Referenced by produce().
|
private |
Definition at line 133 of file DTDigitizer.h.
|
private |
Definition at line 129 of file DTDigitizer.h.
Referenced by storeDigis().
|
private |
Definition at line 137 of file DTDigitizer.h.
Referenced by produce().
|
private |
Definition at line 116 of file DTDigitizer.h.
Referenced by storeDigis().
|
private |
Definition at line 113 of file DTDigitizer.h.
Referenced by driftTimeFromParametrization().
|
private |
Definition at line 119 of file DTDigitizer.h.
|
private |
Definition at line 126 of file DTDigitizer.h.
Referenced by computeTime().
|
private |
Definition at line 120 of file DTDigitizer.h.
Referenced by externalDelays().
|
private |
Definition at line 111 of file DTDigitizer.h.
Referenced by externalDelays().