CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DigiSimLinkProducer.h
Go to the documentation of this file.
1 
7 #ifndef SimTracker_SiStripDigitizer_DigiSimLinkProducer_h
8 #define SimTracker_SiStripDigitizer_DigiSimLinkProducer_h
9 
10 #include "boost/shared_ptr.hpp"
11 
16 
18 
20 
22 #include "DigiSimLinkAlgorithm.h"
23 
25 
26 #include <string>
27 #include <vector>
28 #include <map>
29 
30 namespace CLHEP {
31  class HepRandomEngine;
32 }
33 
35 {
36 public:
37 
39 
40  virtual ~DigiSimLinkProducer();
41 
42  virtual void produce(edm::Event& e, const edm::EventSetup& c);
43 
44 private:
45  typedef std::vector<std::string> vstring;
46  typedef std::map<unsigned int, std::vector<std::pair<const PSimHit*, int> >,std::less<unsigned int> > simhit_map;
47  typedef simhit_map::iterator simhit_map_iterator;
48 
51  std::map<uint32_t, std::vector<int> > theDetIdList;
53  std::vector<edm::DetSet<SiStripDigi> > theDigiVector;
54  std::vector<edm::DetSet<SiStripRawDigi> > theRawDigiVector;
55  std::vector<edm::DetSet<StripDigiSimLink> > theDigiLinkVector;
59  int numStrips; // number of strips in the module
60  CLHEP::HepRandomEngine* rndEngine;
65 };
66 
67 #endif
SiStripFedZeroSuppression * theSiFEDZeroSuppress
std::vector< std::string > vstring
std::vector< edm::DetSet< StripDigiSimLink > > theDigiLinkVector
virtual void produce(edm::Event &e, const edm::EventSetup &c)
edm::ParameterSet conf_
std::map< uint32_t, std::vector< int > > theDetIdList
DigiSimLinkAlgorithm * theDigiAlgo
tuple conf
Definition: dbtoconf.py:185
DigiSimLinkProducer(const edm::ParameterSet &conf)
simhit_map::iterator simhit_map_iterator
SimHitSelectorFromDB SimHitSelectorFromDB_
CLHEP::HepRandomEngine * rndEngine
std::vector< edm::DetSet< SiStripDigi > > theDigiVector
std::vector< edm::DetSet< SiStripRawDigi > > theRawDigiVector
std::map< unsigned int, std::vector< std::pair< const PSimHit *, int > >, std::less< unsigned int > > simhit_map