CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DataMixingHcalDigiWorker.h
Go to the documentation of this file.
1 #ifndef DataMixingHcalDigiWorker_h
2 #define SimDataMixingHcalDigiWorker_h
3 
22 
30 
31 
32 #include <map>
33 #include <vector>
34 #include <string>
35 
36 
37 namespace edm
38 {
40  {
41  public:
42 
44 
46  explicit DataMixingHcalDigiWorker(const edm::ParameterSet& ps);
47 
49  virtual ~DataMixingHcalDigiWorker();
50 
51  void putHcal(edm::Event &e,const edm::EventSetup& ES) ;
52  void addHcalSignals(const edm::Event &e,const edm::EventSetup& ES);
53  void addHcalPileups(const int bcr, const edm::EventPrincipal*,unsigned int EventId,const edm::EventSetup& ES);
54 
55 
56  private:
57  // data specifiers
58 
59  // Hcal
60  edm::InputTag HBHEdigiCollectionSig_; // secondary name given to collection of digis
61  edm::InputTag HOdigiCollectionSig_ ; // secondary name given to collection of digis
62  edm::InputTag HFdigiCollectionSig_ ; // secondary name given to collection of digis
63  edm::InputTag ZDCdigiCollectionSig_ ; // secondary name given to collection of digis
64 
65  edm::InputTag HBHEPileInputTag_; // InputTag for Pileup Digis collection
66  edm::InputTag HOPileInputTag_ ; // InputTag for Pileup Digis collection
67  edm::InputTag HFPileInputTag_ ; // InputTag for Pileup Digis collection
68  edm::InputTag ZDCPileInputTag_ ; // InputTag for Pileup Digis collection
69 
70  std::string HBHEDigiCollectionDM_; // secondary name to be given to collection of digis
71  std::string HODigiCollectionDM_ ; // secondary name to be given to collection of digis
72  std::string HFDigiCollectionDM_ ; // secondary name to be given to collection of digis
73  std::string ZDCDigiCollectionDM_ ; // secondary name to be given to collection of digis
74 
75  typedef std::multimap<DetId, CaloSamples> HBHEDigiMap;
76  typedef std::multimap<DetId, CaloSamples> HFDigiMap;
77  typedef std::multimap<DetId, CaloSamples> HODigiMap;
78  typedef std::multimap<DetId, CaloSamples> ZDCDigiMap;
79 
80  // typedef std::multimap<DetId, HBHEDataFrame> HBHEDigiMap;
81  // typedef std::multimap<DetId, HFDataFrame> HFDigiMap;
82  // typedef std::multimap<DetId, HODataFrame> HODigiMap;
83  // typedef std::multimap<DetId, ZDCDataFrame> ZDCDigiMap;
84 
89 
90  bool DoZDC_;
91 
92  // unsigned int eventId_; //=0 for signal, from 1-n for pileup events
93 
95  std::string label_;
96 
97  };
98 }//edm
99 
100 #endif
std::multimap< DetId, CaloSamples > HFDigiMap
void putHcal(edm::Event &e, const edm::EventSetup &ES)
std::multimap< DetId, CaloSamples > HBHEDigiMap
void addHcalPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES)
std::multimap< DetId, CaloSamples > ZDCDigiMap
void addHcalSignals(const edm::Event &e, const edm::EventSetup &ES)
std::multimap< DetId, CaloSamples > HODigiMap