CMS 3D CMS Logo

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 
15 #include <vector>
16 
17 class CSCDriftSim;
18 class CSCLayer;
19 class CSCG3Hit;
20 class CSCGasCollisions;
21 class CSCLayerGeometry;
22 
23 namespace CLHEP {
24  class HepRandomEngine;
25 }
26 
28 public:
29  explicit CSCWireHitSim(CSCDriftSim *driftSim, const edm::ParameterSet &p);
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, const CSCLayer *, CLHEP::HepRandomEngine *);
43 
44  // member data
47  std::vector<CSCDetectorHit> theNewWireHits;
48 };
49 
50 #endif
CSCWireHitSim::getIonizationClusters
std::vector< Local3DPoint > getIonizationClusters(const PSimHit &hit, const CSCLayer *, CLHEP::HepRandomEngine *)
Definition: CSCWireHitSim.cc:40
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
PSimHitContainer.h
FastTrackerRecHitCombiner_cfi.simHits
simHits
Definition: FastTrackerRecHitCombiner_cfi.py:5
CSCLayer
Definition: CSCLayer.h:24
CSCWireHitSim::setParticleDataTable
void setParticleDataTable(const ParticleDataTable *pdt)
Definition: CSCWireHitSim.cc:77
CSCDetectorHit
Definition: CSCDetectorHit.h:16
CSCLayerGeometry
Definition: CSCLayerGeometry.h:25
CLHEP
Definition: CocoaGlobals.h:27
CSCWireHitSim
Definition: CSCWireHitSim.h:27
CSCWireHitSim::simulate
std::vector< CSCDetectorHit > & simulate(const CSCLayer *layer, const edm::PSimHitContainer &simHits, CLHEP::HepRandomEngine *)
Definition: CSCWireHitSim.cc:15
edm::ParameterSet
Definition: ParameterSet.h:47
ParticleDataTable.h
CSCWireHitSim::driftElectronsToWire
CSCDetectorHit driftElectronsToWire()
CSCWireHitSim::theDriftSim
CSCDriftSim * theDriftSim
Definition: CSCWireHitSim.h:45
CSCDriftSim
Definition: CSCDriftSim.h:32
CSCWireHitSim::theNewWireHits
std::vector< CSCDetectorHit > theNewWireHits
Definition: CSCWireHitSim.h:47
LocalPoint.h
CSCWireHitSim::theGasIonizer
CSCGasCollisions * theGasIonizer
Definition: CSCWireHitSim.h:46
CSCWireHitSim::~CSCWireHitSim
~CSCWireHitSim()
Definition: CSCWireHitSim.cc:13
CSCDetectorHit.h
CSCGasCollisions
Definition: CSCGasCollisions.h:27
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition: PSimHitContainer.h:11
ParameterSet.h
PSimHit
Definition: PSimHit.h:15
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition: ParticleDataTable.h:8
hit
Definition: SiStripHitEffFromCalibTree.cc:88
CSCWireHitSim::CSCWireHitSim
CSCWireHitSim(CSCDriftSim *driftSim, const edm::ParameterSet &p)
Definition: CSCWireHitSim.cc:10