CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TrackerHitProducer.h
Go to the documentation of this file.
1 #ifndef TrackerHitProducer_h
2 #define TrackerHitProducer_h
3 
4 // framework & common header files
8 
12 
13 #include <string>
14 #include <vector>
15 
16 namespace edm {
17  class HepMCProduct;
18 }
19 class PTrackerSimHit;
20 
22 public:
23  typedef std::vector<float> FloatVector;
24  typedef std::vector<int> IntegerVector;
25 
26  explicit TrackerHitProducer(const edm::ParameterSet &);
27  ~TrackerHitProducer() override;
28  void beginJob() override;
29  void endJob() override;
30  void produce(edm::Event &, const edm::EventSetup &) override;
31 
32 private:
33  // production related methods
34  void fillG4MC(edm::Event &);
35  void storeG4MC(PTrackerSimHit &);
36  void fillTrk(edm::Event &, const edm::EventSetup &);
37  void storeTrk(PTrackerSimHit &);
38 
39  void clear();
40 
41 private:
42  // parameter information
45  int verbosity;
46 
47  // private statistics information
48  unsigned int count;
49 
51 
53 
63 
64  // G4MC info
72 
73  // Tracker info
74 
75  // Hit info
98 
101 
102 }; // end class declaration
103 
104 #endif
void fillG4MC(edm::Event &)
void storeTrk(PTrackerSimHit &)
void storeG4MC(PTrackerSimHit &)
void beginJob() override
TrackerHitProducer(const edm::ParameterSet &)
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTECHigh_Token_
std::vector< float > FloatVector
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTOBLow_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTIBLow_Token_
std::vector< int > IntegerVector
edm::EDGetTokenT< edm::HepMCProduct > edmHepMCProductToken_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_pxlBrlHigh_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTIDLow_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_pxlFwdLow_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTIBHigh_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTIDHigh_Token_
IntegerVector HitsSysID
void endJob() override
edm::EDGetTokenT< edm::SimVertexContainer > edmSimVertexContainerToken_
edm::ParameterSet config_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTOBHigh_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTECLow_Token_
void fillTrk(edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< edm::SimTrackContainer > edmSimTrackContainerToken_
void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_pxlFwdHigh_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_pxlBrlLow_Token_