test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DataMixingHcalDigiWorkerProd.h
Go to the documentation of this file.
1 #ifndef DataMixingHcalDigiWorkerProd_h
2 #define SimDataMixingHcalDigiWorkerProd_h
3 
21 
32 
33 #include <map>
34 #include <vector>
35 #include <string>
36 
37 
38 namespace edm
39 {
40  class ConsumesCollector;
41  class ModuleCallingContext;
42 
44  {
45  public:
46 
49 
52 
53  void putHcal(edm::Event &e,const edm::EventSetup& ES);
54  void addHcalSignals(const edm::Event &e,const edm::EventSetup& ES);
55  void addHcalPileups(const int bcr, const edm::EventPrincipal*,unsigned int EventId,
56  const edm::EventSetup& ES, edm::ModuleCallingContext const*);
57 
58  // set tokens for data access
63  void beginRun(const edm::Run& run, const edm::EventSetup& ES);
64  void initializeEvent(const edm::Event &e, const edm::EventSetup& ES);
65 
66  private:
67  // data specifiers
68 
69  // Hcal
70  // edm::InputTag HBHEdigiCollectionSig_; // secondary name given to collection of digis
71  // edm::InputTag HOdigiCollectionSig_ ; // secondary name given to collection of digis
72  //edm::InputTag HFdigiCollectionSig_ ; // secondary name given to collection of digis
73  //edm::InputTag ZDCdigiCollectionSig_ ; // secondary name given to collection of digis
74  edm::InputTag HBHEPileInputTag_; // InputTag for Pileup Digis collection
75  edm::InputTag HOPileInputTag_ ; // InputTag for Pileup Digis collection
76  edm::InputTag HFPileInputTag_ ; // InputTag for Pileup Digis collection
77  edm::InputTag ZDCPileInputTag_ ; // InputTag for Pileup Digis collection
78  std::string HBHEDigiCollectionDM_; // secondary name to be given to collection of digis
79  std::string HODigiCollectionDM_ ; // secondary name to be given to collection of digis
80  std::string HFDigiCollectionDM_ ; // secondary name to be given to collection of digis
81  std::string ZDCDigiCollectionDM_ ; // secondary name to be given to collection of digis
82 
87 
88 
94 
96 
97  };
98 }//edm
99 
100 #endif
void addHcalSignals(const edm::Event &e, const edm::EventSetup &ES)
edm::EDGetTokenT< HODigitizerTraits::DigiCollection > tok_ho_
edm::EDGetTokenT< ZDCDigitizerTraits::DigiCollection > tok_zdc_
edm::EDGetTokenT< HFDigitizerTraits::DigiCollection > tok_hf_
void setHFAccess(edm::EDGetTokenT< HFDigitizerTraits::DigiCollection > tok)
void setZDCAccess(edm::EDGetTokenT< ZDCDigitizerTraits::DigiCollection > tok)
void initializeEvent(const edm::Event &e, const edm::EventSetup &ES)
edm::EDGetTokenT< HBHEDigitizerTraits::DigiCollection > tok_hbhe_
void setHBHEAccess(edm::EDGetTokenT< HBHEDigitizerTraits::DigiCollection > tok)
void addHcalPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES, edm::ModuleCallingContext const *)
void putHcal(edm::Event &e, const edm::EventSetup &ES)
void setHOAccess(edm::EDGetTokenT< HODigitizerTraits::DigiCollection > tok)
void beginRun(const edm::Run &run, const edm::EventSetup &ES)
DataMixingHcalDigiWorkerProd(const edm::ParameterSet &ps, edm::ConsumesCollector &&iC)
Definition: Run.h:41