CMS 3D CMS Logo

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 
31 {
32 public:
33 
34  explicit DigiSimLinkProducer(const edm::ParameterSet& conf);
35 
36  virtual ~DigiSimLinkProducer();
37 
38  virtual void produce(edm::Event& e, const edm::EventSetup& c);
39 
40 private:
41  typedef std::vector<std::string> vstring;
42  typedef std::map<unsigned int, std::vector<std::pair<const PSimHit*, int> >,std::less<unsigned int> > simhit_map;
43  typedef simhit_map::iterator simhit_map_iterator;
44 
47  std::map<uint32_t, std::vector<int> > theDetIdList;
49  std::vector<edm::DetSet<SiStripDigi> > theDigiVector;
50  std::vector<edm::DetSet<SiStripRawDigi> > theRawDigiVector;
51  std::vector<edm::DetSet<StripDigiSimLink> > theDigiLinkVector;
54  simhit_map SimHitMap;
55  int numStrips; // number of strips in the module
60 };
61 
62 #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
DigiSimLinkProducer(const edm::ParameterSet &conf)
simhit_map::iterator simhit_map_iterator
SimHitSelectorFromDB SimHitSelectorFromDB_
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