CMS 3D CMS Logo

DataMixingHcalDigiWorker.h
Go to the documentation of this file.
1 #ifndef SimDataMixingHcalDigiWorker_h
2 #define SimDataMixingHcalDigiWorker_h
3 
22 
32 
33 #include <map>
34 #include <string>
35 #include <vector>
36 
37 namespace edm {
38  class ModuleCallingContext;
39 
41  public:
43 
46 
48  virtual ~DataMixingHcalDigiWorker();
49 
50  void putHcal(edm::Event &e, const edm::EventSetup &ES);
51  void addHcalSignals(const edm::Event &e, const edm::EventSetup &ES);
52  void addHcalPileups(const int bcr,
53  const edm::EventPrincipal *,
54  unsigned int EventId,
55  const edm::EventSetup &ES,
56  ModuleCallingContext const *);
57 
58  private:
59  // data specifiers
60 
61  // Hcal
62  edm::InputTag HBHEdigiCollectionSig_; // secondary name given to collection of digis
63  edm::InputTag HOdigiCollectionSig_; // secondary name given to collection of digis
64  edm::InputTag HFdigiCollectionSig_; // secondary name given to collection of digis
65  edm::InputTag ZDCdigiCollectionSig_; // secondary name given to collection of digis
66  edm::InputTag QIE10digiCollectionSig_; // secondary name given to collection of digis
67  edm::InputTag QIE11digiCollectionSig_; // secondary name given to collection of digis
68 
69  edm::InputTag HBHEPileInputTag_; // InputTag for Pileup Digis collection
70  edm::InputTag HOPileInputTag_; // InputTag for Pileup Digis collection
71  edm::InputTag HFPileInputTag_; // InputTag for Pileup Digis collection
72  edm::InputTag ZDCPileInputTag_; // InputTag for Pileup Digis collection
73  edm::InputTag QIE10PileInputTag_; // InputTag for Pileup Digis collection
74  edm::InputTag QIE11PileInputTag_; // InputTag for Pileup Digis collection
75 
76  edm::EDGetTokenT<HBHEDigiCollection> HBHEDigiToken_; // Token to retrieve information
77  edm::EDGetTokenT<HODigiCollection> HODigiToken_; // Token to retrieve information
78  edm::EDGetTokenT<HFDigiCollection> HFDigiToken_; // Token to retrieve information
79  edm::EDGetTokenT<ZDCDigiCollection> ZDCDigiToken_; // Token to retrieve information
80  edm::EDGetTokenT<QIE10DigiCollection> QIE10DigiToken_; // Token to retrieve information
81  edm::EDGetTokenT<QIE11DigiCollection> QIE11DigiToken_; // Token to retrieve information
82 
83  edm::EDGetTokenT<HBHEDigiCollection> HBHEDigiPToken_; // Token to retrieve information
84  edm::EDGetTokenT<HODigiCollection> HODigiPToken_; // Token to retrieve information
85  edm::EDGetTokenT<HFDigiCollection> HFDigiPToken_; // Token to retrieve information
86  edm::EDGetTokenT<ZDCDigiCollection> ZDCDigiPToken_; // Token to retrieve information
87  edm::EDGetTokenT<QIE10DigiCollection> QIE10DigiPToken_; // Token to retrieve information
88  edm::EDGetTokenT<QIE11DigiCollection> QIE11DigiPToken_; // Token to retrieve information
89 
90  std::string HBHEDigiCollectionDM_; // secondary name to be given to collection
91  // of digis
92  std::string HODigiCollectionDM_; // secondary name to be given to collection of digis
93  std::string HFDigiCollectionDM_; // secondary name to be given to collection of digis
94  std::string ZDCDigiCollectionDM_; // secondary name to be given to collection of digis
95  std::string QIE10DigiCollectionDM_; // secondary name to be given to
96  // collection of digis
97  std::string QIE11DigiCollectionDM_; // secondary name to be given to
98  // collection of digis
99 
100  typedef std::multimap<DetId, CaloSamples> HBHEDigiMap;
101  typedef std::multimap<DetId, CaloSamples> HFDigiMap;
102  typedef std::multimap<DetId, CaloSamples> HODigiMap;
103  typedef std::multimap<DetId, CaloSamples> ZDCDigiMap;
104  typedef std::multimap<DetId, CaloSamples> QIE10DigiMap;
105  typedef std::multimap<DetId, CaloSamples> QIE11DigiMap;
106 
107  HBHEDigiMap HBHEDigiStorage_;
108  HFDigiMap HFDigiStorage_;
109  HODigiMap HODigiStorage_;
110  ZDCDigiMap ZDCDigiStorage_;
111  QIE10DigiMap QIE10DigiStorage_;
112  QIE11DigiMap QIE11DigiStorage_;
113 
114  bool DoZDC_;
115 
117  };
118 } // namespace edm
119 
120 #endif // SimDataMixingHcalDigiWorker_h
edm::EDGetTokenT< HBHEDigiCollection > HBHEDigiPToken_
edm::EDGetTokenT< HODigiCollection > HODigiToken_
std::multimap< DetId, CaloSamples > QIE10DigiMap
edm::EDGetTokenT< ZDCDigiCollection > ZDCDigiToken_
edm::EDGetTokenT< HODigiCollection > HODigiPToken_
std::multimap< DetId, CaloSamples > QIE11DigiMap
void addHcalPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES, ModuleCallingContext const *)
std::multimap< DetId, CaloSamples > HFDigiMap
edm::EDGetTokenT< ZDCDigiCollection > ZDCDigiPToken_
edm::EDGetTokenT< HFDigiCollection > HFDigiPToken_
void putHcal(edm::Event &e, const edm::EventSetup &ES)
std::multimap< DetId, CaloSamples > HBHEDigiMap
edm::EDGetTokenT< HFDigiCollection > HFDigiToken_
edm::EDGetTokenT< QIE11DigiCollection > QIE11DigiToken_
HLT enums.
edm::EDGetTokenT< QIE11DigiCollection > QIE11DigiPToken_
std::multimap< DetId, CaloSamples > ZDCDigiMap
void addHcalSignals(const edm::Event &e, const edm::EventSetup &ES)
edm::EDGetTokenT< QIE10DigiCollection > QIE10DigiToken_
edm::EDGetTokenT< QIE10DigiCollection > QIE10DigiPToken_
edm::EDGetTokenT< HBHEDigiCollection > HBHEDigiToken_
std::multimap< DetId, CaloSamples > HODigiMap