CMS 3D CMS Logo

DataMixingEcalDigiWorkerProd.h
Go to the documentation of this file.
1 #ifndef SimDataMixingEcalDigiWorkerProd_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);
66 
67  private:
68  // data specifiers
69 
70  // Ecal
71  // edm::InputTag EBdigiCollectionSig_; // secondary name given to collection of digis
72  // edm::InputTag EEdigiCollectionSig_ ; // secondary name given to collection of digis
73  //edm::InputTag ESdigiCollectionSig_ ; // secondary name given to collection of digis
74  //edm::InputTag ZDCdigiCollectionSig_ ; // secondary name given to collection of digis
75  edm::InputTag EBPileInputTag_; // InputTag for Pileup Digis collection
76  edm::InputTag EEPileInputTag_ ; // InputTag for Pileup Digis collection
77  edm::InputTag ESPileInputTag_ ; // InputTag for Pileup Digis collection
78 
79  std::string EBDigiCollectionDM_; // secondary name to be given to collection of digis
80  std::string EEDigiCollectionDM_ ; // secondary name to be given to collection of digis
81  std::string ESDigiCollectionDM_ ; // secondary name to be given to collection of digis
82 
86 
87  const double m_EBs25notCont;
88  const double m_EEs25notCont;
89  const double m_peToABarrel;
90  const double m_peToAEndcap;
91 
96 
98 
99  };
100 }//edm
101 
102 #endif // SimDataMixingEcalDigiWorkerProd_h
void setESAccess(edm::EDGetTokenT< ESDigitizerTraits::DigiCollection > tok)
void putEcal(edm::Event &e, const edm::EventSetup &ES)
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
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)
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &setup)
DataMixingEcalDigiWorkerProd(const edm::ParameterSet &ps, edm::ConsumesCollector &iC)
void setEEAccess(edm::EDGetTokenT< EEDigitizerTraits::DigiCollection > tok)
void beginRun(const edm::EventSetup &ES)
HLT enums.
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)