Go to the documentation of this file. 1 #ifndef SimMuon_DTDigitizer_h
2 #define SimMuon_DTDigitizer_h
30 class HepRandomEngine;
53 typedef std::pair<const PSimHit *, float>
hitAndT;
56 typedef std::map<DTWireId, std::vector<const PSimHit *>>
DTWireIdMap;
63 if (h1.second < h2.second)
75 CLHEP::HepRandomEngine *);
81 float x,
float alpha,
float By,
float Bz, CLHEP::HepRandomEngine *)
const;
99 float asymGausSmear(
double mean,
double sigmaLeft,
double sigmaRight, CLHEP::HepRandomEngine *)
const;
bool operator()(const hitAndT &h1, const hitAndT &h2)
std::map< DTWireId, std::vector< const PSimHit * > > DTWireIdMap
alpha
zGenParticlesMatch = cms.InputTag(""),
A container for a generic type of digis indexed by some index, implemented with a map<IndexType,...
void dumpHit(const PSimHit *hit, float xEntry, float xExit, const DTTopology &topo)
std::pair< float, bool > driftTimeFromParametrization(float x, float alpha, float By, float Bz, CLHEP::HepRandomEngine *) const
edm::EDGetTokenT< CrossingFrame< PSimHit > > cf_token
void storeDigis(DTWireId &wireId, TDContainer &hits, DTDigiCollection &output, DTDigiSimLinkCollection &outputLinks)
DTDigitizer(const edm::ParameterSet &)
float asymGausSmear(double mean, double sigmaLeft, double sigmaRight, CLHEP::HepRandomEngine *) const
DTWireIdMap::const_iterator DTWireIdMapConstIter
std::unique_ptr< DTDigiSyncBase > theSync
DTWireIdMap::iterator DTWireIdMapIter
std::pair< const PSimHit *, float > hitAndT
std::vector< hitAndT > TDContainer
void produce(edm::Event &, const edm::EventSetup &) override
std::string collection_for_XF
std::pair< float, bool > driftTimeFromTimeMap() const
std::pair< float, bool > computeTime(const DTLayer *layer, const DTWireId &wireId, const PSimHit *hit, const LocalVector &BLoc, CLHEP::HepRandomEngine *)
friend class DTDigitizerAnalysis
float externalDelays(const DTLayer *layer, const DTWireId &wireId, const PSimHit *hit) const