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 
113 
114  bool DoZDC_;
115 
117  };
118 } // namespace edm
119 
120 #endif // SimDataMixingHcalDigiWorker_h
edm::DataMixingHcalDigiWorker::QIE10DigiToken_
edm::EDGetTokenT< QIE10DigiCollection > QIE10DigiToken_
Definition: DataMixingHcalDigiWorker.h:80
edm::DataMixingHcalDigiWorker::label_
std::string label_
Definition: DataMixingHcalDigiWorker.h:116
HFDataFrame.h
Handle.h
edm::DataMixingHcalDigiWorker::QIE10DigiMap
std::multimap< DetId, CaloSamples > QIE10DigiMap
Definition: DataMixingHcalDigiWorker.h:104
edm::DataMixingHcalDigiWorker::HBHEDigiCollectionDM_
std::string HBHEDigiCollectionDM_
Definition: DataMixingHcalDigiWorker.h:90
edm::DataMixingHcalDigiWorker::HBHEdigiCollectionSig_
edm::InputTag HBHEdigiCollectionSig_
Definition: DataMixingHcalDigiWorker.h:62
edm::DataMixingHcalDigiWorker::HODigiMap
std::multimap< DetId, CaloSamples > HODigiMap
Definition: DataMixingHcalDigiWorker.h:102
edm::DataMixingHcalDigiWorker::HODigiCollectionDM_
std::string HODigiCollectionDM_
Definition: DataMixingHcalDigiWorker.h:92
edm::EDGetTokenT
Definition: EDGetToken.h:33
CaloSamples.h
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::DataMixingHcalDigiWorker::addHcalPileups
void addHcalPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES, ModuleCallingContext const *)
Definition: DataMixingHcalDigiWorker.cc:353
edm::DataMixingHcalDigiWorker::HFDigiMap
std::multimap< DetId, CaloSamples > HFDigiMap
Definition: DataMixingHcalDigiWorker.h:101
HODataFrame.h
edm::DataMixingHcalDigiWorker::ZDCDigiToken_
edm::EDGetTokenT< ZDCDigiCollection > ZDCDigiToken_
Definition: DataMixingHcalDigiWorker.h:79
edm::DataMixingHcalDigiWorker::HFDigiToken_
edm::EDGetTokenT< HFDigiCollection > HFDigiToken_
Definition: DataMixingHcalDigiWorker.h:78
edm::DataMixingHcalDigiWorker::HOPileInputTag_
edm::InputTag HOPileInputTag_
Definition: DataMixingHcalDigiWorker.h:70
edm::DataMixingHcalDigiWorker::ZDCDigiPToken_
edm::EDGetTokenT< ZDCDigiCollection > ZDCDigiPToken_
Definition: DataMixingHcalDigiWorker.h:86
edm::DataMixingHcalDigiWorker::QIE10digiCollectionSig_
edm::InputTag QIE10digiCollectionSig_
Definition: DataMixingHcalDigiWorker.h:66
edm::DataMixingHcalDigiWorker::QIE10PileInputTag_
edm::InputTag QIE10PileInputTag_
Definition: DataMixingHcalDigiWorker.h:73
edm::DataMixingHcalDigiWorker::QIE11DigiToken_
edm::EDGetTokenT< QIE11DigiCollection > QIE11DigiToken_
Definition: DataMixingHcalDigiWorker.h:81
edm::DataMixingHcalDigiWorker::HBHEDigiPToken_
edm::EDGetTokenT< HBHEDigiCollection > HBHEDigiPToken_
Definition: DataMixingHcalDigiWorker.h:83
edm::DataMixingHcalDigiWorker::HODigiStorage_
HODigiMap HODigiStorage_
Definition: DataMixingHcalDigiWorker.h:109
edm::DataMixingHcalDigiWorker::ZDCdigiCollectionSig_
edm::InputTag ZDCdigiCollectionSig_
Definition: DataMixingHcalDigiWorker.h:65
edm::DataMixingHcalDigiWorker::putHcal
void putHcal(edm::Event &e, const edm::EventSetup &ES)
Definition: DataMixingHcalDigiWorker.cc:409
edm::DataMixingHcalDigiWorker::HFDigiPToken_
edm::EDGetTokenT< HFDigiCollection > HFDigiPToken_
Definition: DataMixingHcalDigiWorker.h:85
edm::EventPrincipal
Definition: EventPrincipal.h:46
edm::DataMixingHcalDigiWorker::ZDCDigiStorage_
ZDCDigiMap ZDCDigiStorage_
Definition: DataMixingHcalDigiWorker.h:110
EventPrincipal.h
HcalDigiCollections.h
edm::DataMixingHcalDigiWorker::ZDCDigiCollectionDM_
std::string ZDCDigiCollectionDM_
Definition: DataMixingHcalDigiWorker.h:94
ProductID.h
edm::DataMixingHcalDigiWorker
Definition: DataMixingHcalDigiWorker.h:40
edm::DataMixingHcalDigiWorker::QIE11DigiStorage_
QIE11DigiMap QIE11DigiStorage_
Definition: DataMixingHcalDigiWorker.h:112
edm::DataMixingHcalDigiWorker::QIE11PileInputTag_
edm::InputTag QIE11PileInputTag_
Definition: DataMixingHcalDigiWorker.h:74
edm::DataMixingHcalDigiWorker::HODigiPToken_
edm::EDGetTokenT< HODigiCollection > HODigiPToken_
Definition: DataMixingHcalDigiWorker.h:84
edm::DataMixingHcalDigiWorker::QIE10DigiStorage_
QIE10DigiMap QIE10DigiStorage_
Definition: DataMixingHcalDigiWorker.h:111
edm::DataMixingHcalDigiWorker::HFDigiCollectionDM_
std::string HFDigiCollectionDM_
Definition: DataMixingHcalDigiWorker.h:93
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::DataMixingHcalDigiWorker::QIE11DigiMap
std::multimap< DetId, CaloSamples > QIE11DigiMap
Definition: DataMixingHcalDigiWorker.h:105
edm::DataMixingHcalDigiWorker::HOdigiCollectionSig_
edm::InputTag HOdigiCollectionSig_
Definition: DataMixingHcalDigiWorker.h:63
edm::ParameterSet
Definition: ParameterSet.h:36
edm::DataMixingHcalDigiWorker::DoZDC_
bool DoZDC_
Definition: DataMixingHcalDigiWorker.h:114
Event.h
edm::DataMixingHcalDigiWorker::QIE11digiCollectionSig_
edm::InputTag QIE11digiCollectionSig_
Definition: DataMixingHcalDigiWorker.h:67
edm::DataMixingHcalDigiWorker::HFDigiStorage_
HFDigiMap HFDigiStorage_
Definition: DataMixingHcalDigiWorker.h:108
edm::DataMixingHcalDigiWorker::HBHEDigiMap
std::multimap< DetId, CaloSamples > HBHEDigiMap
Definition: DataMixingHcalDigiWorker.h:100
QIE10DataFrame.h
edm::EventSetup
Definition: EventSetup.h:57
edm::DataMixingHcalDigiWorker::addHcalSignals
void addHcalSignals(const edm::Event &e, const edm::EventSetup &ES)
Definition: DataMixingHcalDigiWorker.cc:293
edm::DataMixingHcalDigiWorker::QIE10DigiPToken_
edm::EDGetTokenT< QIE10DigiCollection > QIE10DigiPToken_
Definition: DataMixingHcalDigiWorker.h:87
edm::DataMixingHcalDigiWorker::QIE11DigiCollectionDM_
std::string QIE11DigiCollectionDM_
Definition: DataMixingHcalDigiWorker.h:97
edm::DataMixingHcalDigiWorker::QIE10DigiCollectionDM_
std::string QIE10DigiCollectionDM_
Definition: DataMixingHcalDigiWorker.h:95
edm::DataMixingHcalDigiWorker::HBHEPileInputTag_
edm::InputTag HBHEPileInputTag_
Definition: DataMixingHcalDigiWorker.h:69
edm::DataMixingHcalDigiWorker::HFdigiCollectionSig_
edm::InputTag HFdigiCollectionSig_
Definition: DataMixingHcalDigiWorker.h:64
edm::DataMixingHcalDigiWorker::~DataMixingHcalDigiWorker
virtual ~DataMixingHcalDigiWorker()
Definition: DataMixingHcalDigiWorker.cc:291
QIE11DataFrame.h
EventSetup.h
edm::DataMixingHcalDigiWorker::ZDCPileInputTag_
edm::InputTag ZDCPileInputTag_
Definition: DataMixingHcalDigiWorker.h:72
ConsumesCollector.h
edm::DataMixingHcalDigiWorker::HBHEDigiToken_
edm::EDGetTokenT< HBHEDigiCollection > HBHEDigiToken_
Definition: DataMixingHcalDigiWorker.h:76
ParameterSet.h
edm::DataMixingHcalDigiWorker::DataMixingHcalDigiWorker
DataMixingHcalDigiWorker()
Definition: DataMixingHcalDigiWorker.cc:234
edm::Event
Definition: Event.h:73
edm::DataMixingHcalDigiWorker::HBHEDigiStorage_
HBHEDigiMap HBHEDigiStorage_
Definition: DataMixingHcalDigiWorker.h:107
edm::InputTag
Definition: InputTag.h:15
edm::DataMixingHcalDigiWorker::QIE11DigiPToken_
edm::EDGetTokenT< QIE11DigiCollection > QIE11DigiPToken_
Definition: DataMixingHcalDigiWorker.h:88
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
edm::DataMixingHcalDigiWorker::HODigiToken_
edm::EDGetTokenT< HODigiCollection > HODigiToken_
Definition: DataMixingHcalDigiWorker.h:77
HBHEDataFrame.h
edm::DataMixingHcalDigiWorker::HFPileInputTag_
edm::InputTag HFPileInputTag_
Definition: DataMixingHcalDigiWorker.h:71
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
edm::DataMixingHcalDigiWorker::ZDCDigiMap
std::multimap< DetId, CaloSamples > ZDCDigiMap
Definition: DataMixingHcalDigiWorker.h:103
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29