#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 | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
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 | |
edm::EDGetTokenT< CrossingFrame< PSimHit > > | cf_token |
std::string | collection_for_XF |
float | deadTime |
bool | debug |
std::string | geometryType |
bool | IdealModel |
bool | interpolate |
float | LinksTimeWindow |
std::string | mix_ |
bool | MultipleLinks |
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<> | |
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 |
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 46 of file DTDigitizer.h.
|
private |
Definition at line 56 of file DTDigitizer.h.
|
private |
Definition at line 58 of file DTDigitizer.h.
|
private |
Definition at line 57 of file DTDigitizer.h.
|
private |
Definition at line 53 of file DTDigitizer.h.
|
private |
Definition at line 54 of file DTDigitizer.h.
|
explicit |
Definition at line 57 of file DTDigitizer.cc.
References cf_token, collection_for_XF, deadTime, debug, Exception, geometryType, reco::get(), edm::ParameterSet::getParameter(), IdealModel, interpolate, edm::Service< T >::isAvailable(), LinksTimeWindow, mix_, MultipleLinks, onlyMuHits, smearing, AlCaHLTBitMon_QueryRunRegistry::string, theConstVDrift, and vPropWire.
|
private |
Definition at line 442 of file DTDigitizer.cc.
References f, and protons_cff::t.
Referenced by driftTimeFromParametrization().
|
private |
Definition at line 224 of file DTDigitizer.cc.
References Vector3DBase< T, FrameTag >::cross(), edmIntegrityCheck::d, debug, delta, dir, Vector3DBase< T, FrameTag >::dot(), driftTimeFromParametrization(), driftTimeFromTimeMap(), dumpHit(), PSimHit::entryPoint(), PSimHit::exitPoint(), externalDelays(), IdealModel, PSimHit::localDirection(), PSimHit::localPosition(), M_PI, PV3DBase< T, PVType, FrameType >::mag(), PSimHit::momentumAtEntry(), DTTopology::none, DTTopology::onWhichBorder(), PSimHit::pabs(), PSimHit::particleType(), EnergyCorrector::pt, PVValHelper::pT, DTLayer::specificTopology(), 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 370 of file DTDigitizer.cc.
References asymGausSmear(), debug, GeomDetEnumerators::DT, f, RemoveAddSevLevel::flag, interpolate, SiStripPI::max, DTDriftTimeParametrization::MB_DT_drift_time(), smearing, DTDriftTimeParametrization::drift_time::t_drift, DTDriftTimeParametrization::drift_time::t_width_m, DTDriftTimeParametrization::drift_time::t_width_p, theta(), and protons_cff::time.
Referenced by computeTime().
|
private |
Definition at line 459 of file DTDigitizer.cc.
References debug.
Referenced by computeTime().
|
private |
Definition at line 564 of file DTDigitizer.cc.
References DTTopology::cellHeight(), DTTopology::cellLenght(), DTTopology::cellWidth(), PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::exitPoint(), createfilelist::int, mag(), PSimHit::momentumAtEntry(), DTTopology::onWhichBorder(), PSimHit::pabs(), PSimHit::particleType(), PSimHit::processType(), PSimHit::trackId(), Vector3DBase< T, FrameTag >::unit(), x, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by computeTime().
|
private |
Definition at line 468 of file DTDigitizer.cc.
References DTTopology::cellLenght(), debug, PSimHit::localPosition(), DTLayer::specificTopology(), theSync, PSimHit::tof(), vPropWire, and PV3DBase< T, PVType, FrameType >::y().
Referenced by computeTime().
|
override |
Definition at line 127 of file DTDigitizer.cc.
References cf_token, computeTime(), debug, edm::EventID::event(), geometryType, edm::EventSetup::get(), edm::Event::getByToken(), edm::RandomNumberGenerator::getEngine(), edm::EventBase::id(), MagneticField::inTesla(), DTGeometry::layer(), DTWireId::layerId(), eostools::move(), convertSQLitetoXML_cfg::output, edm::Handle< T >::product(), edm::Event::put(), edm::EventID::run(), rpcPointValidation_cfi::simHit, trackerHits::simHits, storeDigis(), edm::Event::streamID(), GeomDet::surface(), protons_cff::time, Surface::toGlobal(), and GloballyPositioned< T >::toLocal().
|
private |
Definition at line 493 of file DTDigitizer.cc.
References funct::abs(), DTDigi::countsTDC(), deadTime, debug, MuonDigiCollection< IndexType, DigiType >::insertDigi(), DTWireId::layerId(), LinksTimeWindow, MultipleLinks, DTDigi::number(), onlyMuHits, funct::pow(), jetUpdater_cfi::sort, protons_cff::time, DTDigi::time(), and DTWireId::wire().
Referenced by produce().
|
friend |
Definition at line 102 of file DTDigitizer.h.
|
private |
Definition at line 129 of file DTDigitizer.h.
Referenced by DTDigitizer(), and produce().
|
private |
Definition at line 127 of file DTDigitizer.h.
Referenced by DTDigitizer().
|
private |
Definition at line 106 of file DTDigitizer.h.
Referenced by DTDigitizer(), and storeDigis().
|
private |
Definition at line 108 of file DTDigitizer.h.
Referenced by computeTime(), driftTimeFromParametrization(), driftTimeFromTimeMap(), DTDigitizer(), externalDelays(), produce(), and storeDigis().
|
private |
Definition at line 115 of file DTDigitizer.h.
Referenced by DTDigitizer(), and produce().
|
private |
Definition at line 118 of file DTDigitizer.h.
Referenced by computeTime(), and DTDigitizer().
|
private |
Definition at line 109 of file DTDigitizer.h.
Referenced by driftTimeFromParametrization(), and DTDigitizer().
|
private |
Definition at line 123 of file DTDigitizer.h.
Referenced by DTDigitizer(), and storeDigis().
|
private |
Definition at line 126 of file DTDigitizer.h.
Referenced by DTDigitizer().
|
private |
Definition at line 122 of file DTDigitizer.h.
Referenced by DTDigitizer(), and storeDigis().
|
private |
Definition at line 110 of file DTDigitizer.h.
Referenced by DTDigitizer(), and storeDigis().
|
private |
Definition at line 107 of file DTDigitizer.h.
Referenced by driftTimeFromParametrization(), and DTDigitizer().
|
private |
Definition at line 112 of file DTDigitizer.h.
|
private |
Definition at line 119 of file DTDigitizer.h.
Referenced by computeTime(), and DTDigitizer().
|
private |
Definition at line 113 of file DTDigitizer.h.
Referenced by externalDelays().
|
private |
Definition at line 105 of file DTDigitizer.h.
Referenced by DTDigitizer(), and externalDelays().