CMS 3D CMS Logo

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