Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
SimMuon
CSCDigitizer
src
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 "
DataFormats/GeometryVector/interface/LocalPoint.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
13
#include "
SimGeneral/HepPDTRecord/interface/ParticleDataTable.h
"
14
#include "
SimMuon/CSCDigitizer/src/CSCDetectorHit.h
"
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
27
class
CSCWireHitSim
{
28
public
:
29
explicit
CSCWireHitSim
(
CSCDriftSim
*driftSim,
const
edm::ParameterSet
&
p
);
30
~CSCWireHitSim
();
31
32
// makes wire hits from the given g3hits
33
std::vector<CSCDetectorHit> &
simulate
(
const
CSCLayer
*
layer
,
34
const
edm::PSimHitContainer
&
simHits
,
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 *);
42
CSCDetectorHit
driftElectronsToWire
();
43
44
// member data
45
CSCDriftSim
*
theDriftSim
;
46
CSCGasCollisions
*
theGasIonizer
;
47
std::vector<CSCDetectorHit>
theNewWireHits
;
48
};
49
50
#endif
CSCWireHitSim
Definition:
CSCWireHitSim.h:27
LocalPoint.h
CSCWireHitSim::CSCWireHitSim
CSCWireHitSim(CSCDriftSim *driftSim, const edm::ParameterSet &p)
Definition:
CSCWireHitSim.cc:10
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition:
ParticleDataTable.h:8
CSCWireHitSim::simulate
std::vector< CSCDetectorHit > & simulate(const CSCLayer *layer, const edm::PSimHitContainer &simHits, CLHEP::HepRandomEngine *)
Definition:
CSCWireHitSim.cc:15
CSCWireHitSim::theDriftSim
CSCDriftSim * theDriftSim
Definition:
CSCWireHitSim.h:45
CSCLayerGeometry
Definition:
CSCLayerGeometry.h:25
CSCWireHitSim::driftElectronsToWire
CSCDetectorHit driftElectronsToWire()
CSCGasCollisions
Definition:
CSCGasCollisions.h:27
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition:
phase1PixelTopology.h:110
ParameterSet.h
CSCDriftSim
Definition:
CSCDriftSim.h:32
ParticleDataTable.h
PSimHitContainer.h
CSCWireHitSim::getIonizationClusters
std::vector< Local3DPoint > getIonizationClusters(const PSimHit &hit, const CSCLayer *, CLHEP::HepRandomEngine *)
Definition:
CSCWireHitSim.cc:40
CSCLayer
Definition:
CSCLayer.h:24
CSCWireHitSim::theGasIonizer
CSCGasCollisions * theGasIonizer
Definition:
CSCWireHitSim.h:46
trackerHits.simHits
tuple simHits
Definition:
trackerHits.py:16
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
PSimHit
Definition:
PSimHit.h:15
CSCDetectorHit
Definition:
CSCDetectorHit.h:16
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition:
PSimHitContainer.h:11
CSCWireHitSim::theNewWireHits
std::vector< CSCDetectorHit > theNewWireHits
Definition:
CSCWireHitSim.h:47
CSCDetectorHit.h
CSCWireHitSim::setParticleDataTable
void setParticleDataTable(const ParticleDataTable *pdt)
Definition:
CSCWireHitSim.cc:77
CSCWireHitSim::~CSCWireHitSim
~CSCWireHitSim()
Definition:
CSCWireHitSim.cc:13
Generated for CMSSW Reference Manual by
1.8.5