CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DataMixingEcalDigiWorkerProd.h
Go to the documentation of this file.
1 #ifndef DataMixingEcalDigiWorkerProd_h
2 #define SimDataMixingEcalDigiWorkerProd_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 putEcal(edm::Event &e,const edm::EventSetup& ES);
54  void addEcalSignals(const edm::Event &e,const edm::EventSetup& ES);
55  void addEcalPileups(const int bcr, const edm::EventPrincipal*,unsigned int EventId,
56  const edm::EventSetup& ES, edm::ModuleCallingContext const*);
57 
58  // set tokens for data access
62 
63  void beginRun(const edm::EventSetup& ES);
64  void initializeEvent(const edm::Event &e, const edm::EventSetup& ES);
65 
66  private:
67  // data specifiers
68 
69  // Ecal
70  // edm::InputTag EBdigiCollectionSig_; // secondary name given to collection of digis
71  // edm::InputTag EEdigiCollectionSig_ ; // secondary name given to collection of digis
72  //edm::InputTag ESdigiCollectionSig_ ; // secondary name given to collection of digis
73  //edm::InputTag ZDCdigiCollectionSig_ ; // secondary name given to collection of digis
74  edm::InputTag EBPileInputTag_; // InputTag for Pileup Digis collection
75  edm::InputTag EEPileInputTag_ ; // InputTag for Pileup Digis collection
76  edm::InputTag ESPileInputTag_ ; // InputTag for Pileup Digis collection
77 
78  std::string EBDigiCollectionDM_; // secondary name to be given to collection of digis
79  std::string EEDigiCollectionDM_ ; // secondary name to be given to collection of digis
80  std::string ESDigiCollectionDM_ ; // secondary name to be given to collection of digis
81 
85 
86  const double m_EBs25notCont;
87  const double m_EEs25notCont;
88  const double m_peToABarrel;
89  const double m_peToAEndcap;
90 
91 
96 
98 
99  };
100 }//edm
101 
102 #endif
void setESAccess(edm::EDGetTokenT< ESDigitizerTraits::DigiCollection > tok)
void putEcal(edm::Event &e, const edm::EventSetup &ES)
edm::EDGetTokenT< ESDigitizerTraits::DigiCollection > tok_es_
edm::EDGetTokenT< EEDigitizerTraits::DigiCollection > tok_ee_
edm::EDGetTokenT< EBDigitizerTraits::DigiCollection > tok_eb_
void setEBAccess(edm::EDGetTokenT< EBDigitizerTraits::DigiCollection > tok)
DataMixingEcalDigiWorkerProd(const edm::ParameterSet &ps, edm::ConsumesCollector &iC)
void setEEAccess(edm::EDGetTokenT< EEDigitizerTraits::DigiCollection > tok)
void beginRun(const edm::EventSetup &ES)
void addEcalSignals(const edm::Event &e, const edm::EventSetup &ES)
void addEcalPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES, edm::ModuleCallingContext const *)
void initializeEvent(const edm::Event &e, const edm::EventSetup &ES)