CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripDigitizer.h
Go to the documentation of this file.
1 
7 #ifndef SiStripDigitizer_h
8 #define SiStripDigitizer_h
9 
10 #include "boost/shared_ptr.hpp"
11 
16 
18 
20 
23 
25 
26 #include <string>
27 #include <vector>
28 #include <map>
29 
30 namespace CLHEP {
31  class HepRandomEngine;
32 }
33 
35 {
36 public:
37 
38  explicit SiStripDigitizer(const edm::ParameterSet& conf);
39 
40  virtual ~SiStripDigitizer();
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;
61  std::string geometryType;
62  std::string alias;
65 };
66 
67 #endif
simhit_map SimHitMap
SiStripDigitizer(const edm::ParameterSet &conf)
std::map< uint32_t, std::vector< int > > theDetIdList
SiStripDigitizerAlgorithm * theDigiAlgo
virtual ~SiStripDigitizer()
std::vector< edm::DetSet< SiStripDigi > > theDigiVector
SiStripFedZeroSuppression * theSiFEDZeroSuppress
simhit_map::iterator simhit_map_iterator
edm::ParameterSet conf_
tuple conf
Definition: dbtoconf.py:185
std::vector< edm::DetSet< StripDigiSimLink > > theDigiLinkVector
std::vector< std::string > vstring
SimHitSelectorFromDB SimHitSelectorFromDB_
std::string geometryType
std::map< unsigned int, std::vector< std::pair< const PSimHit *, int > >, std::less< unsigned int > > simhit_map
std::vector< edm::DetSet< SiStripRawDigi > > theRawDigiVector
virtual void produce(edm::Event &e, const edm::EventSetup &c)
CLHEP::HepRandomEngine * rndEngine