CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCWireHitSim.h
Go to the documentation of this file.
1 #ifndef MU_END_WIRE_HIT_SIM_H
2 #define MU_END_WIRE_HIT_SIM_H
3 
10 #include <vector>
15 
16 class CSCDriftSim;
17 class CSCLayer;
18 class CSCG3Hit;
19 class CSCGasCollisions;
20 class CSCLayerGeometry;
21 
22 namespace CLHEP {
23  class HepRandomEngine;
24 }
25 
27 {
28 public:
29  explicit CSCWireHitSim(CSCDriftSim* driftSim);
31 
32  // makes wire hits from the given g3hits
33  std::vector<CSCDetectorHit> & simulate(const CSCLayer * layer,
35  CLHEP::HepRandomEngine*);
36 
37  void setParticleDataTable(const ParticleDataTable * pdt);
38 
39 private:
40  // Helper functions
41  std::vector<Local3DPoint> getIonizationClusters(const PSimHit & hit,
42  const CSCLayer *,
43  CLHEP::HepRandomEngine*);
45 
46  // member data
49  std::vector<CSCDetectorHit> theNewWireHits;
50 };
51 
52 #endif
HepPDT::ParticleDataTable ParticleDataTable
std::vector< CSCDetectorHit > & simulate(const CSCLayer *layer, const edm::PSimHitContainer &simHits, CLHEP::HepRandomEngine *)
CSCDriftSim * theDriftSim
Definition: CSCWireHitSim.h:47
CSCDetectorHit driftElectronsToWire()
std::vector< Local3DPoint > getIonizationClusters(const PSimHit &hit, const CSCLayer *, CLHEP::HepRandomEngine *)
CSCWireHitSim(CSCDriftSim *driftSim)
CSCGasCollisions * theGasIonizer
Definition: CSCWireHitSim.h:48
tuple simHits
Definition: trackerHits.py:16
std::vector< PSimHit > PSimHitContainer
std::vector< CSCDetectorHit > theNewWireHits
Definition: CSCWireHitSim.h:49
void setParticleDataTable(const ParticleDataTable *pdt)