CMS 3D CMS Logo

DataMixingEMWorker.h
Go to the documentation of this file.
1 #ifndef SimDataMixingEMWorker_h
2 #define SimDataMixingEMWorker_h
3 
21 
29 
30 #include <map>
31 #include <string>
32 #include <vector>
33 
34 namespace edm {
35  class ModuleCallingContext;
36 
38  public:
40 
43 
45  virtual ~DataMixingEMWorker();
46 
47  void putEM(edm::Event &e);
48  void addEMSignals(const edm::Event &e);
49  void addEMPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *);
50 
51  private:
52  // data specifiers
53 
54  edm::InputTag EBProducerSig_; // primary? name given to collection of EB calib rechits
55  edm::InputTag EEProducerSig_; // primary? name given to collection of EE calib rechits
56  edm::InputTag ESProducerSig_; // primary? name given to collection of ES calib rechits
57 
58  edm::InputTag EBrechitCollectionSig_; // secondary name given to collection of
59  // EB calib rechits
60  edm::InputTag EErechitCollectionSig_; // secondary name given to collection of
61  // EE calib rechits
62  edm::InputTag ESrechitCollectionSig_; // secondary name given to collection of
63  // ES calib rechits
64 
65  edm::InputTag EBPileRecHitInputTag_; // full InputTag for pileup EB calib rechits
66  edm::InputTag EEPileRecHitInputTag_; // full InputTag for pileup EE calib rechits
67  edm::InputTag ESPileRecHitInputTag_; // full InputTag for pileup ES calib rechits
68 
69  edm::EDGetTokenT<EBRecHitCollection> EBRecHitToken_; // Token to retrieve information
70  edm::EDGetTokenT<EERecHitCollection> EERecHitToken_; // Token to retrieve information
71  edm::EDGetTokenT<ESRecHitCollection> ESRecHitToken_; // Token to retrieve information
72 
73  edm::EDGetTokenT<EBRecHitCollection> EBPileRecHitToken_; // Token to retrieve information
74  edm::EDGetTokenT<EERecHitCollection> EEPileRecHitToken_; // Token to retrieve information
75  edm::EDGetTokenT<ESRecHitCollection> ESPileRecHitToken_; // Token to retrieve information
76 
77  std::string EBRecHitCollectionDM_; // secondary name to be given to EB
78  // collection of hits
79  std::string EERecHitCollectionDM_; // secondary name to be given to EE
80  // collection of hits
81  std::string ESRecHitCollectionDM_; // secondary name to be given to ES
82  // collection of hits
83 
84  typedef std::multimap<DetId, EcalRecHit> EBRecHitMap;
85  typedef std::multimap<DetId, EcalRecHit> EERecHitMap;
86  typedef std::multimap<DetId, EcalRecHit> ESRecHitMap;
87 
91 
92  // unsigned int eventId_; //=0 for signal, from 1-n for pileup events
93 
95  };
96 } // namespace edm
97 
98 #endif // SimDataMixingEMWorker_h
edm::DataMixingEMWorker::EEPileRecHitToken_
edm::EDGetTokenT< EERecHitCollection > EEPileRecHitToken_
Definition: DataMixingEMWorker.h:74
edm::DataMixingEMWorker::addEMPileups
void addEMPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
Definition: DataMixingEMWorker.cc:136
Handle.h
edm::DataMixingEMWorker::EEProducerSig_
edm::InputTag EEProducerSig_
Definition: DataMixingEMWorker.h:55
edm::EDGetTokenT
Definition: EDGetToken.h:33
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::DataMixingEMWorker::ESrechitCollectionSig_
edm::InputTag ESrechitCollectionSig_
Definition: DataMixingEMWorker.h:62
EBDetId.h
edm::DataMixingEMWorker::ESRecHitToken_
edm::EDGetTokenT< ESRecHitCollection > ESRecHitToken_
Definition: DataMixingEMWorker.h:71
EEDetId.h
edm::DataMixingEMWorker::~DataMixingEMWorker
virtual ~DataMixingEMWorker()
Definition: DataMixingEMWorker.cc:60
ESDetId.h
edm::DataMixingEMWorker::ESPileRecHitInputTag_
edm::InputTag ESPileRecHitInputTag_
Definition: DataMixingEMWorker.h:67
EcalRecHitCollections.h
edm::DataMixingEMWorker::ESRecHitMap
std::multimap< DetId, EcalRecHit > ESRecHitMap
Definition: DataMixingEMWorker.h:86
edm::EventPrincipal
Definition: EventPrincipal.h:48
EventPrincipal.h
edm::DataMixingEMWorker::DataMixingEMWorker
DataMixingEMWorker()
Definition: DataMixingEMWorker.cc:21
edm::DataMixingEMWorker::EERecHitMap
std::multimap< DetId, EcalRecHit > EERecHitMap
Definition: DataMixingEMWorker.h:85
ProductID.h
edm::DataMixingEMWorker::EBrechitCollectionSig_
edm::InputTag EBrechitCollectionSig_
Definition: DataMixingEMWorker.h:58
EcalRecHit.h
edm::DataMixingEMWorker::EEPileRecHitInputTag_
edm::InputTag EEPileRecHitInputTag_
Definition: DataMixingEMWorker.h:66
edm::DataMixingEMWorker::EErechitCollectionSig_
edm::InputTag EErechitCollectionSig_
Definition: DataMixingEMWorker.h:60
edm::DataMixingEMWorker::EERecHitStorage_
EERecHitMap EERecHitStorage_
Definition: DataMixingEMWorker.h:89
edm::DataMixingEMWorker::EBRecHitStorage_
EBRecHitMap EBRecHitStorage_
Definition: DataMixingEMWorker.h:88
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
edm::DataMixingEMWorker::putEM
void putEM(edm::Event &e)
Definition: DataMixingEMWorker.cc:210
edm::DataMixingEMWorker::ESRecHitCollectionDM_
std::string ESRecHitCollectionDM_
Definition: DataMixingEMWorker.h:81
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::DataMixingEMWorker::EBProducerSig_
edm::InputTag EBProducerSig_
Definition: DataMixingEMWorker.h:54
edm::DataMixingEMWorker::EBRecHitToken_
edm::EDGetTokenT< EBRecHitCollection > EBRecHitToken_
Definition: DataMixingEMWorker.h:69
edm::DataMixingEMWorker
Definition: DataMixingEMWorker.h:37
edm::DataMixingEMWorker::EBRecHitCollectionDM_
std::string EBRecHitCollectionDM_
Definition: DataMixingEMWorker.h:77
edm::DataMixingEMWorker::label_
std::string label_
Definition: DataMixingEMWorker.h:94
edm::DataMixingEMWorker::EERecHitToken_
edm::EDGetTokenT< EERecHitCollection > EERecHitToken_
Definition: DataMixingEMWorker.h:70
edm::DataMixingEMWorker::addEMSignals
void addEMSignals(const edm::Event &e)
Definition: DataMixingEMWorker.cc:62
edm::DataMixingEMWorker::EERecHitCollectionDM_
std::string EERecHitCollectionDM_
Definition: DataMixingEMWorker.h:79
edm::DataMixingEMWorker::ESProducerSig_
edm::InputTag ESProducerSig_
Definition: DataMixingEMWorker.h:56
edm::DataMixingEMWorker::EBPileRecHitInputTag_
edm::InputTag EBPileRecHitInputTag_
Definition: DataMixingEMWorker.h:65
edm::DataMixingEMWorker::EBPileRecHitToken_
edm::EDGetTokenT< EBRecHitCollection > EBPileRecHitToken_
Definition: DataMixingEMWorker.h:73
ConsumesCollector.h
ParameterSet.h
edm::DataMixingEMWorker::ESRecHitStorage_
ESRecHitMap ESRecHitStorage_
Definition: DataMixingEMWorker.h:90
edm::Event
Definition: Event.h:73
edm::DataMixingEMWorker::ESPileRecHitToken_
edm::EDGetTokenT< ESRecHitCollection > ESPileRecHitToken_
Definition: DataMixingEMWorker.h:75
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
edm::DataMixingEMWorker::EBRecHitMap
std::multimap< DetId, EcalRecHit > EBRecHitMap
Definition: DataMixingEMWorker.h:84
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29