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;
63 bool operator()(
const hitAndT & h1,
const hitAndT & h2) {
64 if (h1.second < h2.second)
return true;
71 std::pair<float,bool> computeTime(
const DTLayer* layer,
const DTWireId &wireId,
74 CLHEP::HepRandomEngine*);
79 std::pair<float,bool> driftTimeFromParametrization(
float x,
float alpha,
float By,
80 float Bz, CLHEP::HepRandomEngine*)
const;
84 std::pair<float,bool> driftTimeFromTimeMap()
const;
88 float externalDelays(
const DTLayer* layer,
99 void dumpHit(
const PSimHit * hit,
float xEntry,
float xExit,
const DTTopology &topo);
102 float asymGausSmear(
double mean,
double sigmaLeft,
double sigmaRight, CLHEP::HepRandomEngine*)
const;
105 friend class DTDigitizerAnalysis;
T x() const
Cartesian x coordinate.
std::pair< const PSimHit *, float > hitAndT
edm::EDGetTokenT< CrossingFrame< PSimHit > > cf_token
DTWireIdMap::const_iterator DTWireIdMapConstIter
std::unique_ptr< DTDigiSyncBase > theSync
bool operator()(const hitAndT &h1, const hitAndT &h2)
std::vector< hitAndT > TDContainer
DTWireIdMap::iterator DTWireIdMapIter
std::map< DTWireId, std::vector< const PSimHit * > > DTWireIdMap
std::string collection_for_XF