test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
22 // system include files
23 #include <memory>
24 
25 // 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 }
53 
54 //
55 // class declaration
56 //
57 
59  public:
60 
61  explicit MuonSimHitProducer(const edm::ParameterSet&);
63 
64  private:
65 
68 
75 
77 
78  virtual void beginRun(edm::Run const& run, const edm::EventSetup & es) override;
79  virtual void produce(edm::Event&, const edm::EventSetup&) override;
80  void readParameters(const edm::ParameterSet&,
81  const edm::ParameterSet&,
82  const edm::ParameterSet& );
83 
84  // Parameters to emulate the muonSimHit association inefficiency due to delta's
85  double kDT;
86  double fDT;
87  double kCSC;
88  double fCSC;
89 
93  double radPath,
95 
96 
97  // ----------- parameters ----------------------------
99  bool doL1_ , doL3_ , doGL_;
100 
101  // tags
104 
105  // tokens
108 
109 
110 };
111 
112 #endif
MuonSimHitProducer(const edm::ParameterSet &)
const MagneticField * magfield
const DTGeometry * dtGeom
MaterialEffects * theMaterialEffects
edm::EDGetTokenT< std::vector< SimVertex > > simVertexToken
Definition: Event.h:16
const RPCGeometry * rpcGeom
const Propagator * propagatorWithMaterial
Propagator * propagatorWithoutMaterial
const CSCGeometry * cscGeom
virtual void beginRun(edm::Run const &run, const edm::EventSetup &es) override
virtual void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< std::vector< SimTrack > > simMuonToken
MuonServiceProxy * theService
void readParameters(const edm::ParameterSet &, const edm::ParameterSet &, const edm::ParameterSet &)
edm::InputTag simMuonLabel
void applyMaterialEffects(TrajectoryStateOnSurface &tsosWithdEdx, TrajectoryStateOnSurface &tsos, double radPath, RandomEngineAndDistribution const *)
Simulate material effects in iron (dE/dx, multiple scattering)
Definition: Run.h:43
edm::InputTag simVertexLabel
Chi2MeasurementEstimator theEstimator