CMS 3D CMS Logo

DataMixingSiStripRawWorker.h
Go to the documentation of this file.
1 #ifndef SimDataMixingSiStripRawWorker_h
2 #define SimDataMixingSiStripRawWorker_h
3 
21 
24 // Data Formats
29 
30 #include <map>
31 #include <string>
32 #include <vector>
33 
34 namespace edm {
35  class ModuleCallingContext;
36 
38  public:
40 
43 
46 
47  void putSiStrip(edm::Event &e);
48  void addSiStripSignals(const edm::Event &e);
49  void addSiStripPileups(const int bcr,
50  const edm::EventPrincipal *,
51  unsigned int EventId,
52  ModuleCallingContext const *);
53 
54  private:
55  // data specifiers
56 
57  edm::InputTag Sistripdigi_collectionSig_; // primary name given to collection
58  // of SiStrip digis
59  edm::InputTag SistripLabelSig_; // secondary name given to collection of SiStrip digis
60  edm::InputTag SiStripPileInputTag_; // InputTag for pileup strips
61  edm::InputTag SiStripRawInputTag_; // InputTag for strips with rawdigis
62  edm::EDGetTokenT<edm::DetSetVector<SiStripDigi>> SiStripInputTok_; // InputToken for strips with rawdigis
64  std::string SiStripDigiCollectionDM_; // secondary name to be given to new
65  // SiStrip raw digis
66  std::string SiStripRawDigiSource_; // which collection is rawdigis: either
67  // "SIGNAL" or "PILEUP"
68 
69  //
70 
71  typedef std::vector<SiStripDigi> OneDetectorMap; // maps by strip ID for later combination - can have
72  // duplicate strips
73  typedef std::map<uint32_t, OneDetectorMap> SiGlobalIndex; // map to all data for each detector ID
74 
76 
77  // SiStripDigi and SiStripRawDigi collections
80 
82  };
83 } // namespace edm
84 
85 #endif // SimDataMixingSiStripRawWorker_h
edm::DataMixingSiStripRawWorker::SiStripRawInputTok_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > SiStripRawInputTok_
Definition: DataMixingSiStripRawWorker.h:63
edm::DetSetVector< SiStripDigi >
Handle.h
edm::DataMixingSiStripRawWorker::SiStripInputTok_
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > SiStripInputTok_
Definition: DataMixingSiStripRawWorker.h:62
edm::DataMixingSiStripRawWorker::label_
std::string label_
Definition: DataMixingSiStripRawWorker.h:81
edm::DataMixingSiStripRawWorker::SiGlobalIndex
std::map< uint32_t, OneDetectorMap > SiGlobalIndex
Definition: DataMixingSiStripRawWorker.h:73
edm::EDGetTokenT
Definition: EDGetToken.h:33
edm
HLT enums.
Definition: AlignableModifier.h:19
SiStripRawDigi.h
edm::DataMixingSiStripRawWorker::rawdigicollection_
const edm::DetSetVector< SiStripRawDigi > * rawdigicollection_
Definition: DataMixingSiStripRawWorker.h:79
edm::DataMixingSiStripRawWorker::~DataMixingSiStripRawWorker
virtual ~DataMixingSiStripRawWorker()
Definition: DataMixingSiStripRawWorker.cc:54
edm::EventPrincipal
Definition: EventPrincipal.h:46
EventPrincipal.h
SiStripDigi.h
ProductID.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
edm::DataMixingSiStripRawWorker::putSiStrip
void putSiStrip(edm::Event &e)
Definition: DataMixingSiStripRawWorker.cc:94
Event.h
edm::DataMixingSiStripRawWorker
Definition: DataMixingSiStripRawWorker.h:37
edm::DataMixingSiStripRawWorker::Sistripdigi_collectionSig_
edm::InputTag Sistripdigi_collectionSig_
Definition: DataMixingSiStripRawWorker.h:57
DetSetVector.h
edm::DataMixingSiStripRawWorker::DataMixingSiStripRawWorker
DataMixingSiStripRawWorker()
Definition: DataMixingSiStripRawWorker.cc:21
edm::DataMixingSiStripRawWorker::addSiStripPileups
void addSiStripPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
Definition: DataMixingSiStripRawWorker.cc:72
edm::DataMixingSiStripRawWorker::digicollection_
const edm::DetSetVector< SiStripDigi > * digicollection_
Definition: DataMixingSiStripRawWorker.h:78
edm::DataMixingSiStripRawWorker::OneDetectorMap
std::vector< SiStripDigi > OneDetectorMap
Definition: DataMixingSiStripRawWorker.h:71
edm::DataMixingSiStripRawWorker::addSiStripSignals
void addSiStripSignals(const edm::Event &e)
Definition: DataMixingSiStripRawWorker.cc:56
edm::DataMixingSiStripRawWorker::SiStripRawInputTag_
edm::InputTag SiStripRawInputTag_
Definition: DataMixingSiStripRawWorker.h:61
DetSet.h
ConsumesCollector.h
ParameterSet.h
edm::DataMixingSiStripRawWorker::SiStripRawDigiSource_
std::string SiStripRawDigiSource_
Definition: DataMixingSiStripRawWorker.h:66
edm::DataMixingSiStripRawWorker::SiStripDigiCollectionDM_
std::string SiStripDigiCollectionDM_
Definition: DataMixingSiStripRawWorker.h:64
edm::DataMixingSiStripRawWorker::SistripLabelSig_
edm::InputTag SistripLabelSig_
Definition: DataMixingSiStripRawWorker.h:59
edm::Event
Definition: Event.h:73
edm::DataMixingSiStripRawWorker::SiHitStorage_
SiGlobalIndex SiHitStorage_
Definition: DataMixingSiStripRawWorker.h:75
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29
edm::DataMixingSiStripRawWorker::SiStripPileInputTag_
edm::InputTag SiStripPileInputTag_
Definition: DataMixingSiStripRawWorker.h:60