1 #ifndef SimMuon_DTDigitizer_h
2 #define SimMuon_DTDigitizer_h
32 class HepRandomEngine;
54 typedef std::pair<const PSimHit*,float>
hitAndT;
57 typedef std::map<DTWireId, std::vector<const PSimHit*> >
DTWireIdMap;
64 if (h1.second < h2.second)
return true;
74 CLHEP::HepRandomEngine*);
80 float Bz, CLHEP::HepRandomEngine*)
const;
102 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 *)
void dumpHit(const PSimHit *hit, float xEntry, float xExit, const DTTopology &topo)
std::pair< const PSimHit *, float > hitAndT
void storeDigis(DTWireId &wireId, TDContainer &hits, DTDigiCollection &output, DTDigiSimLinkCollection &outputLinks)
edm::EDGetTokenT< CrossingFrame< PSimHit > > cf_token
DTDigitizer(const edm::ParameterSet &)
DTWireIdMap::const_iterator DTWireIdMapConstIter
std::unique_ptr< DTDigiSyncBase > theSync
bool operator()(const hitAndT &h1, const hitAndT &h2)
std::pair< float, bool > driftTimeFromParametrization(float x, float alpha, float By, float Bz, CLHEP::HepRandomEngine *) const
std::vector< hitAndT > TDContainer
virtual void produce(edm::Event &, const edm::EventSetup &) override
float externalDelays(const DTLayer *layer, const DTWireId &wireId, const PSimHit *hit) const
friend class DTDigitizerAnalysis
DTWireIdMap::iterator DTWireIdMapIter
std::pair< float, bool > driftTimeFromTimeMap() const
std::map< DTWireId, std::vector< const PSimHit * > > DTWireIdMap
float asymGausSmear(double mean, double sigmaLeft, double sigmaRight, CLHEP::HepRandomEngine *) const
std::string collection_for_XF