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 
22 // system include files
23 #include <memory>
24 
25 // user include files
29 
30 // FastSimulation headers
31 class MagneticField;
32 class TrackerGeometry;
33 class DTGeometry;
34 class CSCGeometry;
35 class RPCGeometry;
36 class MuonServiceProxy;
37 class MaterialEffects;
39 class Propagator;
41 class SimTrack;
42 class SimVertex;
43 /*
44 namespace reco {
45  class Muon;
46 }
47 */
48 
49 namespace edm {
50  class ParameterSet;
51  class Event;
52  class EventSetup;
53 }
54 
55 //
56 // class declaration
57 //
58 
60  public:
61 
62  explicit MuonSimHitProducer(const edm::ParameterSet&);
63  ~MuonSimHitProducer() override;
64 
65  private:
66 
69 
76 
78 
79  void beginRun(edm::Run const& run, const edm::EventSetup & es) override;
80  void produce(edm::Event&, const edm::EventSetup&) override;
81  void readParameters(const edm::ParameterSet&,
82  const edm::ParameterSet&,
83  const edm::ParameterSet& );
84 
85  // Parameters to emulate the muonSimHit association inefficiency due to delta's
86  double kDT;
87  double fDT;
88  double kCSC;
89  double fCSC;
90 
92  void applyMaterialEffects(TrajectoryStateOnSurface& tsosWithdEdx,
94  double radPath,
97 
98 
99  // ----------- parameters ----------------------------
101  bool doL1_ , doL3_ , doGL_;
102 
103  // tags
106 
107  // tokens
110 
111 
112 };
113 
114 #endif
const MagneticField * magfield
const DTGeometry * dtGeom
HepPDT::ParticleDataTable ParticleDataTable
MaterialEffects * theMaterialEffects
edm::EDGetTokenT< std::vector< SimVertex > > simVertexToken
const RPCGeometry * rpcGeom
const Propagator * propagatorWithMaterial
Propagator * propagatorWithoutMaterial
const CSCGeometry * cscGeom
edm::EDGetTokenT< std::vector< SimTrack > > simMuonToken
MuonServiceProxy * theService
HLT enums.
edm::InputTag simMuonLabel
Definition: Run.h:45
edm::InputTag simVertexLabel
Chi2MeasurementEstimator theEstimator