1 #ifndef SimMuon_DTDigitizer_h
2 #define SimMuon_DTDigitizer_h
31 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)
return true;
73 CLHEP::HepRandomEngine*);
79 float Bz, CLHEP::HepRandomEngine*)
const;
101 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
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
float externalDelays(const DTLayer *layer, const DTWireId &wireId, const PSimHit *hit) const
friend class DTDigitizerAnalysis
virtual void produce(edm::Event &, const edm::EventSetup &)
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