CMS 3D CMS Logo

EcalTrigPrimProducer.h
Go to the documentation of this file.
1 #ifndef EcaltrigprimProducer_h
2 #define EcaltrigprimProducer_h
3 
20 #include <memory>
21 
26 
28 
30 
32 class EBDigiCollection;
33 class EEDigiCollection;
34 
36 {
37  public:
38 
39  explicit EcalTrigPrimProducer(const edm::ParameterSet& conf);
40 
41  ~EcalTrigPrimProducer() override;
42 
43  void beginRun(const edm::Run& run, const edm::EventSetup& es) override;
44  void endRun(const edm::Run&, const edm::EventSetup&) override;
45  void produce(edm::Event& e, const edm::EventSetup& c) override;
46 
47  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
48 
49  private:
50  std::unique_ptr<EcalTrigPrimFunctionalAlgo> algo_;
52  bool tcpFormat_;
53  bool debug_;
54  bool famos_;
57 
60 
61  //method to get EventSetupRecords
62  unsigned long long getRecords(edm::EventSetup const& setup);
63  unsigned long long cacheID_;
64 };
65 
66 #endif
67 
68 
69 
void endRun(const edm::Run &, const edm::EventSetup &) override
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
EcalTrigPrimProducer(const edm::ParameterSet &conf)
std::unique_ptr< EcalTrigPrimFunctionalAlgo > algo_
void produce(edm::Event &e, const edm::EventSetup &c) override
unsigned long long cacheID_
unsigned long long getRecords(edm::EventSetup const &setup)
edm::EDGetTokenT< EBDigiCollection > tokenEB_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< EEDigiCollection > tokenEE_
Definition: Run.h:44