test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiTrackerGaussianSmearingRecHitConverter.h
Go to the documentation of this file.
1 #ifndef FastSimulation_TrackingRecHitProducer_SiTrackerGaussianSmearingRecHitConverter_h
2 #define FastSimulation_TrackingRecHitProducer_SiTrackerGaussianSmearingRecHitConverter_h
3 
4 //---------------------------------------------------------------------------
9 //---------------------------------------------------------------------------
10 
11 // Framework
15 
16 // PSimHit
19 
20 // Data Formats
25 
26 // For Dead Channels
29 
30 // STL
31 #include <vector>
32 #include <map>
33 #include <string>
34 
35 class TFile;
36 class TH1F;
37 class TrackerGeometry;
40 
41 namespace edm {
42  class ParameterSet;
43  class Event;
44  class EventSetup;
45 }
46 
48 class TrackerTopology;
49 
51 {
52  public:
53  //--- Constructor, virtual destructor (just in case)
56 
57  //--- The top-level event method.
58  virtual void produce(edm::Event& e, const edm::EventSetup& c) override;
59 
60  // Begin Run
61  virtual void beginRun(edm::Run const& run, const edm::EventSetup & es) override;
62 
63 
64  private:
65  //
66  bool smear(const PSimHit& simHit,
68  LocalError& error,
69  const TrackerTopology *tTopo,
71  //
72  void loadPixelData();
73  //
74  void loadPixelData(TFile* pixelDataFile, unsigned int nMultiplicity, std::string histName,
75  std::vector<TH1F*>& theMultiplicityCumulativeProbabilities, bool bigPixels = false);
76  //
77  //
78  // parameters
79  // std::vector<edm::InputTag> trackerContainers;
83  double deltaRaysPCut; // GeV/c
84  bool trackingPSimHits; // in case it is true make RecHit = replica of PSimHit without errors (1 um)
85  //
87 
88 
89  // Vector with the list of dead modules
90  std::vector<SiPixelQuality::disabledModuleType> * disabledModules;
92 
93 
94  // Switch between old (ORCA) and new (CMSSW) pixel parameterization
96  double ElectronsPerADC;
98 
101  //
102  // Pixel
109  //
110  // multiplicity bins
112  // internal vector: bins ; external vector: multiplicity
117  // resolution bins
119  unsigned int resAlphaBarrel_binN;
121  unsigned int resBetaBarrel_binN;
123  unsigned int resAlphaForward_binN;
125  unsigned int resBetaForward_binN;
126  //
129  //
130  // Strips
131  // TIB
140  //
145  //
146  // TID
153  //
157  //
158  // TOB
171  //
178  //
179  // TEC
194  //
202  //
203  // valid for all the detectors
205  //
206 
207  // Pixel Error Parametrization (barrel)
209  // Pixel Error Parametrization (barrel)
211  // Si Strip Error parametrization (generic)
213 
214  typedef edm::PSimHitContainer::const_iterator SimHiterator;
215 
216 };
217 
218 
219 #endif
SiStripGaussianSmearingRecHitConverterAlgorithm * theSiStripErrorParametrization
SiPixelGaussianSmearingRecHitConverterAlgorithm * thePixelEndcapParametrization
Definition: Event.h:16
bool smear(const PSimHit &simHit, Local3DPoint &position, LocalError &error, const TrackerTopology *tTopo, RandomEngineAndDistribution const *)
SiPixelGaussianSmearingRecHitConverterAlgorithm * thePixelBarrelParametrization
std::vector< SiPixelQuality::disabledModuleType > * disabledModules
virtual void produce(edm::Event &e, const edm::EventSetup &c) override
virtual void beginRun(edm::Run const &run, const edm::EventSetup &es) override
static int position[264][3]
Definition: ReadPGInfo.cc:509
Definition: Run.h:43