CMS 3D CMS Logo

DataMixingSiPixelWorker.h
Go to the documentation of this file.
1 #ifndef SimDataMixingSiPixelWorker_h
2 #define SimDataMixingSiPixelWorker_h
3 
21 
24 // Data Formats
28 
29 #include <map>
30 #include <string>
31 #include <vector>
32 
33 namespace edm {
34  class ModuleCallingContext;
35 
37  public:
39 
42 
44  virtual ~DataMixingSiPixelWorker();
45 
46  void putSiPixel(edm::Event &e);
47  void addSiPixelSignals(const edm::Event &e);
48  void addSiPixelPileups(const int bcr,
49  const edm::EventPrincipal *,
50  unsigned int EventId,
51  ModuleCallingContext const *);
52 
53  private:
54  // data specifiers
55 
56  edm::InputTag pixeldigi_collectionSig_; // secondary name given to collection
57  // of SiPixel digis
58  edm::InputTag pixeldigi_collectionPile_; // secondary name given to collection
59  // of SiPixel digis
60  std::string PixelDigiCollectionDM_; // secondary name to be given to new SiPixel digis
61 
64 
65  //
66 
67  typedef std::multimap<int, PixelDigi> OneDetectorMap; // maps by pixel ID for later combination - can have
68  // duplicate pixels
69  typedef std::map<uint32_t, OneDetectorMap> SiGlobalIndex; // map to all data for each detector ID
70 
72 
73  // unsigned int eventId_; //=0 for signal, from 1-n for pileup events
74 
76  };
77 } // namespace edm
78 
79 #endif // SimDataMixingSiPixelWorker_h
edm::DataMixingSiPixelWorker::OneDetectorMap
std::multimap< int, PixelDigi > OneDetectorMap
Definition: DataMixingSiPixelWorker.h:67
Handle.h
edm::DataMixingSiPixelWorker::SiHitStorage_
SiGlobalIndex SiHitStorage_
Definition: DataMixingSiPixelWorker.h:71
edm::EDGetTokenT
Definition: EDGetToken.h:33
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::DataMixingSiPixelWorker::~DataMixingSiPixelWorker
virtual ~DataMixingSiPixelWorker()
Definition: DataMixingSiPixelWorker.cc:46
edm::DataMixingSiPixelWorker::PixelDigiToken_
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > PixelDigiToken_
Definition: DataMixingSiPixelWorker.h:62
PixelDigi.h
edm::DataMixingSiPixelWorker::addSiPixelPileups
void addSiPixelPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
Definition: DataMixingSiPixelWorker.cc:79
edm::DataMixingSiPixelWorker
Definition: DataMixingSiPixelWorker.h:36
edm::EventPrincipal
Definition: EventPrincipal.h:46
EventPrincipal.h
ProductID.h
edm::DataMixingSiPixelWorker::pixeldigi_collectionSig_
edm::InputTag pixeldigi_collectionSig_
Definition: DataMixingSiPixelWorker.h:56
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
edm::DataMixingSiPixelWorker::PixelDigiPToken_
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > PixelDigiPToken_
Definition: DataMixingSiPixelWorker.h:63
Event.h
edm::DataMixingSiPixelWorker::SiGlobalIndex
std::map< uint32_t, OneDetectorMap > SiGlobalIndex
Definition: DataMixingSiPixelWorker.h:69
DetSetVector.h
edm::DataMixingSiPixelWorker::pixeldigi_collectionPile_
edm::InputTag pixeldigi_collectionPile_
Definition: DataMixingSiPixelWorker.h:58
edm::DataMixingSiPixelWorker::DataMixingSiPixelWorker
DataMixingSiPixelWorker()
Definition: DataMixingSiPixelWorker.cc:21
edm::DataMixingSiPixelWorker::label_
std::string label_
Definition: DataMixingSiPixelWorker.h:75
edm::DataMixingSiPixelWorker::addSiPixelSignals
void addSiPixelSignals(const edm::Event &e)
Definition: DataMixingSiPixelWorker.cc:48
edm::DataMixingSiPixelWorker::PixelDigiCollectionDM_
std::string PixelDigiCollectionDM_
Definition: DataMixingSiPixelWorker.h:60
DetSet.h
edm::DataMixingSiPixelWorker::putSiPixel
void putSiPixel(edm::Event &e)
Definition: DataMixingSiPixelWorker.cc:143
ConsumesCollector.h
ParameterSet.h
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29