CMS 3D CMS Logo

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
TrackerHitProducer::HitsProT
FloatVector HitsProT
Definition: TrackerHitProducer.h:79
TrackerHitProducer::edmPSimHitContainer_siTOBHigh_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTOBHigh_Token_
Definition: TrackerHitProducer.h:60
TrackerHitProducer::HitsDuID
FloatVector HitsDuID
Definition: TrackerHitProducer.h:77
TrackerHitProducer::HitsExPx
FloatVector HitsExPx
Definition: TrackerHitProducer.h:90
TrackerHitProducer::beginJob
void beginJob() override
Definition: TrackerHitProducer.cc:123
EDProducer.h
TrackerHitProducer::printProvenanceInfo
bool printProvenanceInfo
Definition: TrackerHitProducer.h:44
TrackerHitProducer::edmPSimHitContainer_pxlFwdLow_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_pxlFwdLow_Token_
Definition: TrackerHitProducer.h:58
TrackerHitProducer::label
std::string label
Definition: TrackerHitProducer.h:100
edm::EDGetTokenT< edm::HepMCProduct >
edm
HLT enums.
Definition: AlignableModifier.h:19
TrackerHitProducer::edmPSimHitContainer_siTIDHigh_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTIDHigh_Token_
Definition: TrackerHitProducer.h:61
TrackerHitProducer::HitsLpZ
FloatVector HitsLpZ
Definition: TrackerHitProducer.h:84
PSimHitContainer.h
TrackerHitProducer::HitsLdTheta
FloatVector HitsLdTheta
Definition: TrackerHitProducer.h:88
TrackerHitProducer::edmPSimHitContainer_pxlBrlLow_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_pxlBrlLow_Token_
Definition: TrackerHitProducer.h:57
TrackerHitProducer::fillG4MC
void fillG4MC(edm::Event &)
Definition: TrackerHitProducer.cc:215
TrackerHitProducer::HitsSysID
IntegerVector HitsSysID
Definition: TrackerHitProducer.h:76
TrackerHitProducer::~TrackerHitProducer
~TrackerHitProducer() override
Definition: TrackerHitProducer.cc:121
TrackerHitProducer::edmPSimHitContainer_siTIBLow_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTIBLow_Token_
Definition: TrackerHitProducer.h:59
TrackerHitProducer::count
unsigned int count
Definition: TrackerHitProducer.h:48
TrackerHitProducer::edmSimVertexContainerToken_
edm::EDGetTokenT< edm::SimVertexContainer > edmSimVertexContainerToken_
Definition: TrackerHitProducer.h:55
TrackerHitProducer::clear
void clear()
Definition: TrackerHitProducer.cc:1050
TrackerHitProducer::endJob
void endJob() override
Definition: TrackerHitProducer.cc:130
TrackerHitProducer::edmHepMCProductToken_
edm::EDGetTokenT< edm::HepMCProduct > edmHepMCProductToken_
Definition: TrackerHitProducer.h:54
TrackerHitProducer::HitsEnPz
FloatVector HitsEnPz
Definition: TrackerHitProducer.h:95
TrackerHitProducer::config_
edm::ParameterSet config_
Definition: TrackerHitProducer.h:52
TrackerHitProducer::HitsEloss
FloatVector HitsEloss
Definition: TrackerHitProducer.h:96
TrackerHitProducer::edmPSimHitContainer_siTIBHigh_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTIBHigh_Token_
Definition: TrackerHitProducer.h:59
TrackerHitProducer::nRawGenPart
int nRawGenPart
Definition: TrackerHitProducer.h:50
TrackerHitProducer::HitsToF
FloatVector HitsToF
Definition: TrackerHitProducer.h:97
TrackerHitProducer::HitsLpX
FloatVector HitsLpX
Definition: TrackerHitProducer.h:82
TrackerHitProducer::storeTrk
void storeTrk(PTrackerSimHit &)
Definition: TrackerHitProducer.cc:966
TrackerHitProducer::G4VtxY
FloatVector G4VtxY
Definition: TrackerHitProducer.h:66
TrackerHitProducer::HitsLdZ
FloatVector HitsLdZ
Definition: TrackerHitProducer.h:87
TrackerHitProducer::HitsLpY
FloatVector HitsLpY
Definition: TrackerHitProducer.h:83
TrackerHitProducer::fillTrk
void fillTrk(edm::Event &, const edm::EventSetup &)
Definition: TrackerHitProducer.cc:348
TrackerHitProducer::edmSimTrackContainerToken_
edm::EDGetTokenT< edm::SimTrackContainer > edmSimTrackContainerToken_
Definition: TrackerHitProducer.h:56
TrackerHitProducer::edmPSimHitContainer_siTECLow_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTECLow_Token_
Definition: TrackerHitProducer.h:62
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerHitProducer
Definition: TrackerHitProducer.h:21
TrackerHitProducer::G4VtxZ
FloatVector G4VtxZ
Definition: TrackerHitProducer.h:67
TrackerHitProducer::TrackerHitProducer
TrackerHitProducer(const edm::ParameterSet &)
Definition: TrackerHitProducer.cc:36
TrackerHitProducer::edmPSimHitContainer_siTOBLow_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTOBLow_Token_
Definition: TrackerHitProducer.h:60
TrackerHitProducer::HitsLdX
FloatVector HitsLdX
Definition: TrackerHitProducer.h:85
edm::ParameterSet
Definition: ParameterSet.h:47
TrackerHitProducer::G4TrkPhi
FloatVector G4TrkPhi
Definition: TrackerHitProducer.h:71
TrackerHitProducer::G4VtxX
FloatVector G4VtxX
Definition: TrackerHitProducer.h:65
TrackerHitProducer::edmPSimHitContainer_siTECHigh_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTECHigh_Token_
Definition: TrackerHitProducer.h:62
TrackerHitProducer::storeG4MC
void storeG4MC(PTrackerSimHit &)
Definition: TrackerHitProducer.cc:310
TrackerHitProducer::HitsLdPhi
FloatVector HitsLdPhi
Definition: TrackerHitProducer.h:89
TrackerHitProducer::getAllProvenances
bool getAllProvenances
Definition: TrackerHitProducer.h:43
TrackerHitProducer::G4TrkPt
FloatVector G4TrkPt
Definition: TrackerHitProducer.h:68
TrackerHitProducer::HitsTkID
FloatVector HitsTkID
Definition: TrackerHitProducer.h:78
TrackerHitProducer::G4TrkEta
FloatVector G4TrkEta
Definition: TrackerHitProducer.h:70
TrackerHitProducer::HitsExPy
FloatVector HitsExPy
Definition: TrackerHitProducer.h:91
TrackerHitProducer::IntegerVector
std::vector< int > IntegerVector
Definition: TrackerHitProducer.h:24
edm::EventSetup
Definition: EventSetup.h:57
PTrackerSimHit
Definition: PValidationFormats.h:1771
TrackerHitProducer::HitsEnPx
FloatVector HitsEnPx
Definition: TrackerHitProducer.h:93
TrackerHitProducer::edmPSimHitContainer_pxlBrlHigh_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_pxlBrlHigh_Token_
Definition: TrackerHitProducer.h:57
TrackerHitProducer::HitsExPz
FloatVector HitsExPz
Definition: TrackerHitProducer.h:92
TrackerHitProducer::fName
std::string fName
Definition: TrackerHitProducer.h:99
TrackerHitProducer::G4TrkE
FloatVector G4TrkE
Definition: TrackerHitProducer.h:69
TrackerHitProducer::verbosity
int verbosity
Definition: TrackerHitProducer.h:45
Frameworkfwd.h
TrackerHitProducer::FloatVector
std::vector< float > FloatVector
Definition: TrackerHitProducer.h:23
TrackerHitProducer::HitsP
FloatVector HitsP
Definition: TrackerHitProducer.h:81
TrackerHitProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: TrackerHitProducer.cc:136
TrackerHitProducer::edmPSimHitContainer_pxlFwdHigh_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_pxlFwdHigh_Token_
Definition: TrackerHitProducer.h:58
edm::EDProducer
Definition: EDProducer.h:35
HepMCProduct
TrackerHitProducer::HitsParT
FloatVector HitsParT
Definition: TrackerHitProducer.h:80
ParameterSet.h
edm::Event
Definition: Event.h:73
SimTrackContainer.h
TrackerHitProducer::edmPSimHitContainer_siTIDLow_Token_
edm::EDGetTokenT< edm::PSimHitContainer > edmPSimHitContainer_siTIDLow_Token_
Definition: TrackerHitProducer.h:61
SimVertexContainer.h
TrackerHitProducer::HitsEnPy
FloatVector HitsEnPy
Definition: TrackerHitProducer.h:94
TrackerHitProducer::HitsLdY
FloatVector HitsLdY
Definition: TrackerHitProducer.h:86