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