#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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 SurfaceDeformationFactory::create(), debug, Exception, reco::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HLT_25ns10e33_v2_cff::InputTag, edm::Service< T >::isAvailable(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
|
private |
Definition at line 229 of file DTDigitizer.cc.
References Vector3DBase< T, FrameTag >::cross(), ztail::d, debug, delta, dir, Vector3DBase< T, FrameTag >::dot(), PSimHit::entryPoint(), PSimHit::exitPoint(), 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, edm::max(), DTDriftTimeParametrization::MB_DT_drift_time(), DTDriftTimeParametrization::drift_time::t_drift, DTDriftTimeParametrization::drift_time::t_width_m, DTDriftTimeParametrization::drift_time::t_width_p, and theta().
|
private |
|
private |
Definition at line 573 of file DTDigitizer.cc.
References DTTopology::cellHeight(), DTTopology::cellLenght(), DTTopology::cellWidth(), PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::exitPoint(), 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(), and PV3DBase< T, PVType, FrameType >::y().
|
overridevirtual |
Implements edm::stream::EDProducerBase.
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(), DTWireId::layerId(), convertSQLitetoXML_cfg::output, edm::Handle< T >::product(), edm::Event::put(), edm::EventID::run(), trackerHits::simHits, edm::Event::streamID(), GeomDet::surface(), Surface::toGlobal(), and GloballyPositioned< T >::toLocal().
|
private |
Definition at line 499 of file DTDigitizer.cc.
References funct::abs(), DTDigi::countsTDC(), debug, MuonDigiCollection< IndexType, DigiType >::insertDigi(), DTWireId::layerId(), DTDigi::number(), funct::pow(), DTDigi::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.