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 #include "CLHEP/Random/RandomEngine.h"
16 
17 class CSCDriftSim;
18 class CSCLayer;
19 class CSCG3Hit;
20 class CSCGasCollisions;
21 class CSCLayerGeometry;
22 
23 
25 {
26 public:
27  explicit CSCWireHitSim(CSCDriftSim* driftSim);
29 
30  // makes wire hits from the given g3hits
31  std::vector<CSCDetectorHit> & simulate(const CSCLayer * layer,
33 
34  void setParticleDataTable(const ParticleDataTable * pdt);
35 
36  void setRandomEngine(CLHEP::HepRandomEngine& engine);
37 
38 private:
39  // Helper functions
40  std::vector<Local3DPoint> getIonizationClusters(const PSimHit & hit,
41  const CSCLayer *);
43 
44  // member data
47  std::vector<CSCDetectorHit> theNewWireHits;
48 };
49 
50 #endif
std::vector< Local3DPoint > getIonizationClusters(const PSimHit &hit, const CSCLayer *)
HepPDT::ParticleDataTable ParticleDataTable
CSCDriftSim * theDriftSim
Definition: CSCWireHitSim.h:45
CSCDetectorHit driftElectronsToWire()
void setRandomEngine(CLHEP::HepRandomEngine &engine)
CSCWireHitSim(CSCDriftSim *driftSim)
Definition: CSCWireHitSim.cc:9
CSCGasCollisions * theGasIonizer
Definition: CSCWireHitSim.h:46
tuple simHits
Definition: trackerHits.py:16
std::vector< CSCDetectorHit > & simulate(const CSCLayer *layer, const edm::PSimHitContainer &simHits)
std::vector< PSimHit > PSimHitContainer
std::vector< CSCDetectorHit > theNewWireHits
Definition: CSCWireHitSim.h:47
void setParticleDataTable(const ParticleDataTable *pdt)