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 {
37  {
38  public:
39 
41 
44 
47 
48  void putSiStrip(edm::Event &e) ;
49  void addSiStripSignals(const edm::Event &e);
50  void addSiStripPileups(const int bcr, const edm::EventPrincipal*,unsigned int EventId);
51 
52 
53  private:
54  // data specifiers
55 
56  edm::InputTag Sistripdigi_collectionSig_ ; // primary name given to collection of SiStrip digis
57  edm::InputTag SistripLabelSig_ ; // secondary name given to collection of SiStrip digis
58  edm::InputTag SiStripPileInputTag_; // InputTag for pileup strips
59  edm::InputTag SiStripRawInputTag_ ; // InputTag for strips with rawdigis
60  std::string SiStripDigiCollectionDM_ ; // secondary name to be given to new SiStrip raw digis
61  std::string SiStripRawDigiSource_ ; // which collection is rawdigis: either "SIGNAL" or "PILEUP"
62 
63  //
64 
65  typedef std::vector<SiStripDigi> OneDetectorMap; // maps by strip ID for later combination - can have duplicate strips
66  typedef std::map<uint32_t, OneDetectorMap> SiGlobalIndex; // map to all data for each detector ID
67 
69 
70  // SiStripDigi and SiStripRawDigi collections
73 
75 
76  };
77 }//edm
78 
79 #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)
std::map< uint32_t, OneDetectorMap > SiGlobalIndex
const edm::DetSetVector< SiStripRawDigi > * rawdigicollection_