CMS 3D CMS Logo

DataMixingHcalWorker.h
Go to the documentation of this file.
1 #ifndef SimDataMixingHcalWorker_h
2 #define SimDataMixingHcalWorker_h
3 
21 
25 
26 #include <map>
27 #include <string>
28 #include <vector>
29 
30 namespace edm {
31  class ModuleCallingContext;
32 
34  public:
36 
39 
41  virtual ~DataMixingHcalWorker();
42 
43  void putHcal(edm::Event &e);
44  void addHcalSignals(const edm::Event &e);
45  void addHcalPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *);
46 
47  private:
48  // data specifiers
49 
50  // Hcal
51  edm::InputTag HBHErechitCollectionSig_; // secondary name given to collection
52  // of EB rechits
53  edm::InputTag HOrechitCollectionSig_; // secondary name given to collection of
54  // EB rechits
55  edm::InputTag HFrechitCollectionSig_; // secondary name given to collection of
56  // EB rechits
57  edm::InputTag ZDCrechitCollectionSig_; // secondary name given to collection
58  // of EB rechits
59 
60  edm::InputTag HBHEPileRecHitInputTag_; // InputTag for HB RecHits for Pileup
61  edm::InputTag HOPileRecHitInputTag_; // InputTag for HO RecHits for Pileup
62  edm::InputTag HFPileRecHitInputTag_; // InputTag for HF RecHits for Pileup
63  edm::InputTag ZDCPileRecHitInputTag_; // InputTag for ZDC RecHits for Pileup
64 
65  edm::EDGetTokenT<HBHERecHitCollection> HBHERecHitToken_; // Token to retrieve information
66  edm::EDGetTokenT<HORecHitCollection> HORecHitToken_; // Token to retrieve information
67  edm::EDGetTokenT<HFRecHitCollection> HFRecHitToken_; // Token to retrieve information
68  edm::EDGetTokenT<ZDCRecHitCollection> ZDCRecHitToken_; // Token to retrieve information
69 
71  edm::EDGetTokenT<HORecHitCollection> HORecHitPToken_; // Token to retrieve information
72  edm::EDGetTokenT<HFRecHitCollection> HFRecHitPToken_; // Token to retrieve information
73  edm::EDGetTokenT<ZDCRecHitCollection> ZDCRecHitPToken_; // Token to retrieve information
74 
75  std::string HBHERecHitCollectionDM_; // secondary name to be given to EB
76  // collection of hits
77  std::string HORecHitCollectionDM_; // secondary name to be given to EB
78  // collection of hits
79  std::string HFRecHitCollectionDM_; // secondary name to be given to EB
80  // collection of hits
81  std::string ZDCRecHitCollectionDM_; // secondary name to be given to EB
82  // collection of hits
83 
84  typedef std::multimap<DetId, HBHERecHit> HBHERecHitMap;
85  typedef std::multimap<DetId, HFRecHit> HFRecHitMap;
86  typedef std::multimap<DetId, HORecHit> HORecHitMap;
87  typedef std::multimap<DetId, ZDCRecHit> ZDCRecHitMap;
88 
93 
94  // unsigned int eventId_; //=0 for signal, from 1-n for pileup events
95 
97  };
98 } // namespace edm
99 
100 #endif // SimDataMixingHcalWorker_h
edm::DataMixingHcalWorker::HBHERecHitCollectionDM_
std::string HBHERecHitCollectionDM_
Definition: DataMixingHcalWorker.h:75
edm::DataMixingHcalWorker::ZDCPileRecHitInputTag_
edm::InputTag ZDCPileRecHitInputTag_
Definition: DataMixingHcalWorker.h:63
Handle.h
edm::DataMixingHcalWorker::HFRecHitMap
std::multimap< DetId, HFRecHit > HFRecHitMap
Definition: DataMixingHcalWorker.h:85
edm::DataMixingHcalWorker::HFRecHitCollectionDM_
std::string HFRecHitCollectionDM_
Definition: DataMixingHcalWorker.h:79
edm::EDGetTokenT
Definition: EDGetToken.h:33
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::DataMixingHcalWorker::putHcal
void putHcal(edm::Event &e)
Definition: DataMixingHcalWorker.cc:266
edm::DataMixingHcalWorker::HOPileRecHitInputTag_
edm::InputTag HOPileRecHitInputTag_
Definition: DataMixingHcalWorker.h:61
edm::DataMixingHcalWorker::addHcalSignals
void addHcalSignals(const edm::Event &e)
Definition: DataMixingHcalWorker.cc:66
edm::DataMixingHcalWorker::HFrechitCollectionSig_
edm::InputTag HFrechitCollectionSig_
Definition: DataMixingHcalWorker.h:55
edm::DataMixingHcalWorker::HFPileRecHitInputTag_
edm::InputTag HFPileRecHitInputTag_
Definition: DataMixingHcalWorker.h:62
edm::DataMixingHcalWorker::HORecHitToken_
edm::EDGetTokenT< HORecHitCollection > HORecHitToken_
Definition: DataMixingHcalWorker.h:66
edm::DataMixingHcalWorker::DataMixingHcalWorker
DataMixingHcalWorker()
Definition: DataMixingHcalWorker.cc:21
edm::DataMixingHcalWorker::~DataMixingHcalWorker
virtual ~DataMixingHcalWorker()
Definition: DataMixingHcalWorker.cc:64
edm::DataMixingHcalWorker::HBHERecHitMap
std::multimap< DetId, HBHERecHit > HBHERecHitMap
Definition: DataMixingHcalWorker.h:84
edm::DataMixingHcalWorker::label_
std::string label_
Definition: DataMixingHcalWorker.h:96
edm::DataMixingHcalWorker::HOrechitCollectionSig_
edm::InputTag HOrechitCollectionSig_
Definition: DataMixingHcalWorker.h:53
edm::EventPrincipal
Definition: EventPrincipal.h:46
edm::DataMixingHcalWorker::HORecHitCollectionDM_
std::string HORecHitCollectionDM_
Definition: DataMixingHcalWorker.h:77
EventPrincipal.h
edm::DataMixingHcalWorker::ZDCRecHitPToken_
edm::EDGetTokenT< ZDCRecHitCollection > ZDCRecHitPToken_
Definition: DataMixingHcalWorker.h:73
ProductID.h
edm::DataMixingHcalWorker::HFRecHitToken_
edm::EDGetTokenT< HFRecHitCollection > HFRecHitToken_
Definition: DataMixingHcalWorker.h:67
edm::DataMixingHcalWorker::HBHErechitCollectionSig_
edm::InputTag HBHErechitCollectionSig_
Definition: DataMixingHcalWorker.h:51
edm::DataMixingHcalWorker::HORecHitStorage_
HORecHitMap HORecHitStorage_
Definition: DataMixingHcalWorker.h:91
edm::DataMixingHcalWorker::ZDCRecHitCollectionDM_
std::string ZDCRecHitCollectionDM_
Definition: DataMixingHcalWorker.h:81
edm::DataMixingHcalWorker::ZDCRecHitMap
std::multimap< DetId, ZDCRecHit > ZDCRecHitMap
Definition: DataMixingHcalWorker.h:87
edm::DataMixingHcalWorker::HBHERecHitToken_
edm::EDGetTokenT< HBHERecHitCollection > HBHERecHitToken_
Definition: DataMixingHcalWorker.h:65
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
edm::DataMixingHcalWorker::HBHEPileRecHitInputTag_
edm::InputTag HBHEPileRecHitInputTag_
Definition: DataMixingHcalWorker.h:60
Event.h
edm::DataMixingHcalWorker
Definition: DataMixingHcalWorker.h:33
edm::DataMixingHcalWorker::ZDCRecHitToken_
edm::EDGetTokenT< ZDCRecHitCollection > ZDCRecHitToken_
Definition: DataMixingHcalWorker.h:68
edm::DataMixingHcalWorker::HBHERecHitStorage_
HBHERecHitMap HBHERecHitStorage_
Definition: DataMixingHcalWorker.h:89
edm::DataMixingHcalWorker::HFRecHitPToken_
edm::EDGetTokenT< HFRecHitCollection > HFRecHitPToken_
Definition: DataMixingHcalWorker.h:72
edm::DataMixingHcalWorker::HBHERecHitPToken_
edm::EDGetTokenT< HBHERecHitCollection > HBHERecHitPToken_
Definition: DataMixingHcalWorker.h:70
edm::DataMixingHcalWorker::addHcalPileups
void addHcalPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
Definition: DataMixingHcalWorker.cc:171
edm::DataMixingHcalWorker::ZDCrechitCollectionSig_
edm::InputTag ZDCrechitCollectionSig_
Definition: DataMixingHcalWorker.h:57
HcalRecHitCollections.h
ConsumesCollector.h
edm::DataMixingHcalWorker::ZDCRecHitStorage_
ZDCRecHitMap ZDCRecHitStorage_
Definition: DataMixingHcalWorker.h:92
ParameterSet.h
edm::DataMixingHcalWorker::HORecHitPToken_
edm::EDGetTokenT< HORecHitCollection > HORecHitPToken_
Definition: DataMixingHcalWorker.h:71
edm::Event
Definition: Event.h:73
edm::DataMixingHcalWorker::HFRecHitStorage_
HFRecHitMap HFRecHitStorage_
Definition: DataMixingHcalWorker.h:90
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
edm::DataMixingHcalWorker::HORecHitMap
std::multimap< DetId, HORecHit > HORecHitMap
Definition: DataMixingHcalWorker.h:86
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29