CMS 3D CMS Logo

MuonSimHitProducer.h
Go to the documentation of this file.
1 #ifndef FastSimulation_MuonSimHitProducer_MuonSimHitProducer_h
2 #define FastSimulation_MuonSimHitProducer_MuonSimHitProducer_h
3 
4 //
5 // Package: MuonSimHitProducer
6 // Class: MuonSimHitProducer
7 //
15 //
16 // Author: Martijn Mulders
17 // Created: Wed July 11 12:37:24 CET 2007
18 // $Id: MuonSimHitProducer.h,v 1.10 2010/05/13 15:23:21 aperrott Exp $
19 //
20 
21 // system include files
22 #include <memory>
23 
24 // user include files
28 
29 // FastSimulation headers
30 class MagneticField;
31 class TrackerGeometry;
32 class DTGeometry;
33 class CSCGeometry;
34 class RPCGeometry;
35 class MuonServiceProxy;
36 class MaterialEffects;
38 class Propagator;
40 class SimTrack;
41 class SimVertex;
42 /*
43 namespace reco {
44  class Muon;
45 }
46 */
47 
48 namespace edm {
49  class ParameterSet;
50  class Event;
51  class EventSetup;
52 } // namespace edm
53 
54 //
55 // class declaration
56 //
57 
59 public:
60  explicit MuonSimHitProducer(const edm::ParameterSet&);
61  ~MuonSimHitProducer() override;
62 
63 private:
66 
73 
75 
76  void beginRun(edm::Run const& run, const edm::EventSetup& es) override;
77  void produce(edm::Event&, const edm::EventSetup&) override;
79 
80  // Parameters to emulate the muonSimHit association inefficiency due to delta's
81  double kDT;
82  double fDT;
83  double kCSC;
84  double fCSC;
85 
89  double radPath,
92 
93  // ----------- parameters ----------------------------
95  bool doL1_, doL3_, doGL_;
96 
97  // tags
100 
101  // tokens
104 };
105 
106 #endif
DTGeometry
Definition: DTGeometry.h:28
Chi2MeasurementEstimator.h
MuonSimHitProducer::fCSC
double fCSC
Definition: MuonSimHitProducer.h:84
SimVertex
Definition: SimVertex.h:5
Chi2MeasurementEstimator
Definition: Chi2MeasurementEstimator.h:15
MuonSimHitProducer::cscGeom
const CSCGeometry * cscGeom
Definition: MuonSimHitProducer.h:69
MuonSimHitProducer::fDT
double fDT
Definition: MuonSimHitProducer.h:82
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
edm
HLT enums.
Definition: AlignableModifier.h:19
MuonSimHitProducer::fullPattern_
bool fullPattern_
Definition: MuonSimHitProducer.h:94
MuonSimHitProducer::simMuonToken
edm::EDGetTokenT< std::vector< SimTrack > > simMuonToken
Definition: MuonSimHitProducer.h:102
EDProducer.h
MuonSimHitProducer::kDT
double kDT
Definition: MuonSimHitProducer.h:81
MuonSimHitProducer
Definition: MuonSimHitProducer.h:58
MuonSimHitProducer::theService
MuonServiceProxy * theService
Definition: MuonSimHitProducer.h:64
MaterialEffects
Definition: MaterialEffects.h:51
MuonSimHitProducer::propagatorWithMaterial
const Propagator * propagatorWithMaterial
Definition: MuonSimHitProducer.h:71
MuonSimHitProducer::propagatorWithoutMaterial
Propagator * propagatorWithoutMaterial
Definition: MuonSimHitProducer.h:72
MuonSimHitProducer::beginRun
void beginRun(edm::Run const &run, const edm::EventSetup &es) override
Definition: MuonSimHitProducer.cc:101
CSCGeometry
Definition: CSCGeometry.h:24
Propagator
Definition: Propagator.h:44
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
MuonSimHitProducer::simMuonLabel
edm::InputTag simMuonLabel
Definition: MuonSimHitProducer.h:98
MuonSimHitProducer::kCSC
double kCSC
Definition: MuonSimHitProducer.h:83
MuonSimHitProducer::doL3_
bool doL3_
Definition: MuonSimHitProducer.h:95
Event
MuonSimHitProducer::simVertexToken
edm::EDGetTokenT< std::vector< SimVertex > > simVertexToken
Definition: MuonSimHitProducer.h:103
MuonSimHitProducer::MuonSimHitProducer
MuonSimHitProducer(const edm::ParameterSet &)
Definition: MuonSimHitProducer.cc:78
edm::ParameterSet
Definition: ParameterSet.h:36
MuonSimHitProducer::magfield
const MagneticField * magfield
Definition: MuonSimHitProducer.h:67
ParticleDataTable.h
ParameterSet
Definition: Functions.h:16
MuonSimHitProducer::simVertexLabel
edm::InputTag simVertexLabel
Definition: MuonSimHitProducer.h:99
MuonSimHitProducer::theEstimator
Chi2MeasurementEstimator theEstimator
Definition: MuonSimHitProducer.h:65
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
MuonSimHitProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: MuonSimHitProducer.cc:145
MuonSimHitProducer::doL1_
bool doL1_
Definition: MuonSimHitProducer.h:95
MuonSimHitProducer::applyMaterialEffects
void applyMaterialEffects(TrajectoryStateOnSurface &tsosWithdEdx, TrajectoryStateOnSurface &tsos, double radPath, RandomEngineAndDistribution const *, HepPDT::ParticleDataTable const &)
Simulate material effects in iron (dE/dx, multiple scattering)
Definition: MuonSimHitProducer.cc:538
writedatasetfile.run
run
Definition: writedatasetfile.py:27
MuonSimHitProducer::theMaterialEffects
MaterialEffects * theMaterialEffects
Definition: MuonSimHitProducer.h:74
SimTrack
Definition: SimTrack.h:6
RPCGeometry
Definition: RPCGeometry.h:20
MuonSimHitProducer::rpcGeom
const RPCGeometry * rpcGeom
Definition: MuonSimHitProducer.h:70
MuonSimHitProducer::dtGeom
const DTGeometry * dtGeom
Definition: MuonSimHitProducer.h:68
EventSetup
MuonServiceProxy
Definition: MuonServiceProxy.h:38
edm::Event
Definition: Event.h:73
MagneticField
Definition: MagneticField.h:19
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition: ParticleDataTable.h:8
MuonSimHitProducer::doGL_
bool doGL_
Definition: MuonSimHitProducer.h:95
MuonSimHitProducer::~MuonSimHitProducer
~MuonSimHitProducer() override
Definition: MuonSimHitProducer.cc:129
edm::InputTag
Definition: InputTag.h:15
TrackerGeometry
Definition: TrackerGeometry.h:14
RandomEngineAndDistribution
Definition: RandomEngineAndDistribution.h:18
MuonSimHitProducer::readParameters
void readParameters(const edm::ParameterSet &, const edm::ParameterSet &, const edm::ParameterSet &)
Definition: MuonSimHitProducer.cc:503