CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DataMixingHcalWorker.h
Go to the documentation of this file.
1 #ifndef DataMixingHcalWorker_h
2 #define SimDataMixingHcalWorker_h
3 
20 
24 
25 #include <map>
26 #include <vector>
27 #include <string>
28 
29 
30 namespace edm
31 {
32  class ModuleCallingContext;
33 
35  {
36  public:
37 
39 
41  explicit DataMixingHcalWorker(const edm::ParameterSet& ps);
42 
44  virtual ~DataMixingHcalWorker();
45 
46  void putHcal(edm::Event &e) ;
47  void addHcalSignals(const edm::Event &e);
48  void addHcalPileups(const int bcr, const edm::EventPrincipal*,unsigned int EventId,
49  ModuleCallingContext const*);
50 
51 
52  private:
53  // data specifiers
54 
55  // Hcal
56  edm::InputTag HBHErechitCollectionSig_; // secondary name given to collection of EB rechits
57  edm::InputTag HOrechitCollectionSig_ ; // secondary name given to collection of EB rechits
58  edm::InputTag HFrechitCollectionSig_ ; // secondary name given to collection of EB rechits
59  edm::InputTag ZDCrechitCollectionSig_ ; // secondary name given to collection of EB rechits
60 
61  edm::InputTag HBHEPileRecHitInputTag_ ; // InputTag for HB RecHits for Pileup
62  edm::InputTag HOPileRecHitInputTag_ ; // InputTag for HO RecHits for Pileup
63  edm::InputTag HFPileRecHitInputTag_ ; // InputTag for HF RecHits for Pileup
64  edm::InputTag ZDCPileRecHitInputTag_ ; // InputTag for ZDC RecHits for Pileup
65 
66  std::string HBHERecHitCollectionDM_; // secondary name to be given to EB collection of hits
67  std::string HORecHitCollectionDM_ ; // secondary name to be given to EB collection of hits
68  std::string HFRecHitCollectionDM_ ; // secondary name to be given to EB collection of hits
69  std::string ZDCRecHitCollectionDM_ ; // secondary name to be given to EB collection of hits
70 
71  typedef std::multimap<DetId, HBHERecHit> HBHERecHitMap;
72  typedef std::multimap<DetId, HFRecHit> HFRecHitMap;
73  typedef std::multimap<DetId, HORecHit> HORecHitMap;
74  typedef std::multimap<DetId, ZDCRecHit> ZDCRecHitMap;
75 
80 
81 
82  // unsigned int eventId_; //=0 for signal, from 1-n for pileup events
83 
85 
86  };
87 }//edm
88 
89 #endif
std::multimap< DetId, HORecHit > HORecHitMap
void addHcalSignals(const edm::Event &e)
void addHcalPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
std::multimap< DetId, HBHERecHit > HBHERecHitMap
std::multimap< DetId, ZDCRecHit > ZDCRecHitMap
std::multimap< DetId, HFRecHit > HFRecHitMap