#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 45 of file DTDigitizer.h.
|
private |
Definition at line 57 of file DTDigitizer.h.
|
private |
Definition at line 59 of file DTDigitizer.h.
|
private |
Definition at line 58 of file DTDigitizer.h.
|
private |
Definition at line 54 of file DTDigitizer.h.
|
private |
Definition at line 55 of file DTDigitizer.h.
|
explicit |
Definition at line 57 of file DTDigitizer.cc.
References beamerCreator::create(), muonDTDigis_cfi::deadTime, debug, Exception, hgcalDigitizer_cfi::geometryType, reco::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), muonDTDigis_cfi::IdealModel, HiCaloJetParameters_cff::interpolate, edm::Service< T >::isAvailable(), muonDTDigis_cfi::LinksTimeWindow, muonDTDigis_cfi::MultipleLinks, muonDTDigis_cfi::onlyMuHits, AlCaHLTBitMon_QueryRunRegistry::string, and DTLinearDriftAlgo_cfi::vPropWire.
|
private |
|
private |
Definition at line 229 of file DTDigitizer.cc.
References Vector3DBase< T, FrameTag >::cross(), edmIntegrityCheck::d, debug, delta, dir, Vector3DBase< T, FrameTag >::dot(), PSimHit::entryPoint(), PSimHit::exitPoint(), muonDTDigis_cfi::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(), theta(), Vector3DBase< T, FrameTag >::unit(), DTWireId::wire(), DTTopology::wirePosition(), PV3DBase< T, PVType, FrameType >::x(), DTTopology::xMax, DTTopology::xMin, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 370 of file DTDigitizer.cc.
References debug, GeomDetEnumerators::DT, f, RemoveAddSevLevel::flag, HiCaloJetParameters_cff::interpolate, edm::max(), DTDriftTimeParametrization::MB_DT_drift_time(), DTDriftTimeParametrization::drift_time::t_drift, DTDriftTimeParametrization::drift_time::t_width_m, DTDriftTimeParametrization::drift_time::t_width_p, theta(), and ntuplemaker::time.
|
private |
|
private |
Definition at line 573 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(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 466 of file DTDigitizer.cc.
References DTTopology::cellLenght(), debug, PSimHit::localPosition(), DTLayer::specificTopology(), PSimHit::tof(), DTLinearDriftAlgo_cfi::vPropWire, and PV3DBase< T, PVType, FrameType >::y().
|
override |
Definition at line 127 of file DTDigitizer.cc.
References debug, edm::EventID::event(), hgcalDigitizer_cfi::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, edm::Event::streamID(), GeomDet::surface(), ntuplemaker::time, Surface::toGlobal(), GloballyPositioned< T >::toLocal(), and mixOne_premix_on_sim_cfi::wire.
|
private |
Definition at line 499 of file DTDigitizer.cc.
References funct::abs(), DTDigi::countsTDC(), muonDTDigis_cfi::deadTime, debug, MuonDigiCollection< IndexType, DigiType >::insertDigi(), DTWireId::layerId(), muonDTDigis_cfi::LinksTimeWindow, muonDTDigis_cfi::MultipleLinks, DTDigi::number(), muonDTDigis_cfi::onlyMuHits, funct::pow(), DTDigi::time(), ntuplemaker::time, and DTWireId::wire().
|
friend |
Definition at line 105 of file DTDigitizer.h.
|
private |
Definition at line 132 of file DTDigitizer.h.
|
private |
Definition at line 130 of file DTDigitizer.h.
|
private |
Definition at line 109 of file DTDigitizer.h.
|
private |
Definition at line 111 of file DTDigitizer.h.
|
private |
Definition at line 118 of file DTDigitizer.h.
|
private |
Definition at line 121 of file DTDigitizer.h.
|
private |
Definition at line 112 of file DTDigitizer.h.
|
private |
Definition at line 126 of file DTDigitizer.h.
|
private |
Definition at line 129 of file DTDigitizer.h.
|
private |
Definition at line 125 of file DTDigitizer.h.
|
private |
Definition at line 113 of file DTDigitizer.h.
|
private |
Definition at line 110 of file DTDigitizer.h.
|
private |
Definition at line 115 of file DTDigitizer.h.
|
private |
Definition at line 122 of file DTDigitizer.h.
|
private |
Definition at line 116 of file DTDigitizer.h.
|
private |
Definition at line 108 of file DTDigitizer.h.