#include <DTDigitizer.h>
Classes | |
struct | hitLessT |
Public Member Functions | |
DTDigitizer (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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, 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, DTLayer::specificTopology(), mathSSE::sqrt(), theta(), Vector3DBase< T, FrameTag >::unit(), DTWireId::wire(), DTTopology::wirePosition(), PV3DBase< T, PVType, FrameType >::x(), 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(), x(), 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().
|
overridevirtual |
Definition at line 127 of file DTDigitizer.cc.
References debug, edm::EventID::event(), 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(), and GloballyPositioned< T >::toLocal().
|
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.