CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DataMixingSiStripRawWorker.h
Go to the documentation of this file.
1 #ifndef DataMixingSiStripRawWorker_h
2 #define SimDataMixingSiStripRawWorker_h
3 
20 
23 //Data Formats
28 
29 #include <map>
30 #include <vector>
31 #include <string>
32 
33 
34 namespace edm
35 {
36  class ModuleCallingContext;
37 
39  {
40  public:
41 
43 
46 
49 
50  void putSiStrip(edm::Event &e) ;
51  void addSiStripSignals(const edm::Event &e);
52  void addSiStripPileups(const int bcr, const edm::EventPrincipal*,unsigned int EventId,
53  ModuleCallingContext const*);
54 
55 
56  private:
57  // data specifiers
58 
59  edm::InputTag Sistripdigi_collectionSig_ ; // primary name given to collection of SiStrip digis
60  edm::InputTag SistripLabelSig_ ; // secondary name given to collection of SiStrip digis
61  edm::InputTag SiStripPileInputTag_; // InputTag for pileup strips
62  edm::InputTag SiStripRawInputTag_ ; // InputTag for strips with rawdigis
63  std::string SiStripDigiCollectionDM_ ; // secondary name to be given to new SiStrip raw digis
64  std::string SiStripRawDigiSource_ ; // which collection is rawdigis: either "SIGNAL" or "PILEUP"
65 
66  //
67 
68  typedef std::vector<SiStripDigi> OneDetectorMap; // maps by strip ID for later combination - can have duplicate strips
69  typedef std::map<uint32_t, OneDetectorMap> SiGlobalIndex; // map to all data for each detector ID
70 
72 
73  // SiStripDigi and SiStripRawDigi collections
76 
78 
79  };
80 }//edm
81 
82 #endif
const edm::DetSetVector< SiStripDigi > * digicollection_
void addSiStripSignals(const edm::Event &e)
std::vector< SiStripDigi > OneDetectorMap
void addSiStripPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
std::map< uint32_t, OneDetectorMap > SiGlobalIndex
const edm::DetSetVector< SiStripRawDigi > * rawdigicollection_