CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackerHitProducer.h
Go to the documentation of this file.
1 #ifndef TrackerHitProducer_h
2 #define TrackerHitProducer_h
3 
4 // framework & common header files
13 //#include "FWCore/ParameterSet/interface/ParameterSet.h"
15 //#include "FWCore/Framework/interface/Provenance.h"
19 
20 // tracker info
25 
26 
27 // data in edm::event
34 //#include "SimDataFormats/CrossingFrame/interface/CrossingFrame.h"
35 //#include "SimDataFormats/CrossingFrame/interface/MixCollection.h"
36 
37 // helper files
38 #include <CLHEP/Vector/LorentzVector.h>
39 #include "CLHEP/Units/GlobalSystemOfUnits.h"
40 
41 #include <iostream>
42 #include <stdlib.h>
43 #include <string>
44 #include <memory>
45 #include <vector>
46 
47 #include "TString.h"
48 
49 class PGlobalSimHit;
50 
52 {
53 
54  public:
55 
56  typedef std::vector<float> FloatVector;
57  typedef std::vector<int> IntegerVector;
58 
59  explicit TrackerHitProducer(const edm::ParameterSet&);
60  virtual ~TrackerHitProducer();
61  virtual void beginJob();
62  virtual void endJob();
63  virtual void produce(edm::Event&, const edm::EventSetup&);
64 
65  private:
66 
67  //TrackerHitidation(const TrackerHitidation&);
68  //const TrackerHitidation& operator=(const TrackerHitidation&);
69 
70  // production related methods
71  void fillG4MC(edm::Event&);
73  void fillTrk(edm::Event&, const edm::EventSetup&);
74  void storeTrk(PTrackerSimHit&);
75 
76  void clear();
77 
78  private:
79 
80  // parameter information
81  std::string fName;
82  int verbosity;
83  std::string label;
86 
87  // G4MC info
96 
97 
98  // Tracker info
99 
100  // Hit info
123 
136 
138  // private statistics information
139  unsigned int count;
140 
141 }; // end class declaration
142 
143 
144 #endif
void fillG4MC(edm::Event &)
void storeTrk(PTrackerSimHit &)
edm::InputTag SiTIBHighSrc_
edm::InputTag PxlFwdHighSrc_
void storeG4MC(PTrackerSimHit &)
edm::InputTag PxlBrlHighSrc_
virtual void beginJob()
virtual void produce(edm::Event &, const edm::EventSetup &)
edm::InputTag SiTIDHighSrc_
TrackerHitProducer(const edm::ParameterSet &)
std::vector< float > FloatVector
std::vector< int > IntegerVector
edm::InputTag PxlFwdLowSrc_
edm::InputTag SiTOBLowSrc_
edm::InputTag SiTECHighSrc_
edm::InputTag PxlBrlLowSrc_
edm::InputTag SiTECLowSrc_
edm::ParameterSet config_
edm::InputTag SiTIDLowSrc_
void fillTrk(edm::Event &, const edm::EventSetup &)
edm::InputTag SiTOBHighSrc_
edm::InputTag SiTIBLowSrc_