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 public:
37  explicit EcalTrigPrimProducer(const edm::ParameterSet &conf);
38 
39  ~EcalTrigPrimProducer() override;
40 
41  void beginRun(const edm::Run &run, const edm::EventSetup &es) override;
42  void endRun(const edm::Run &, const edm::EventSetup &) override;
43  void produce(edm::Event &e, const edm::EventSetup &c) override;
44 
45  static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);
46 
47 private:
48  std::unique_ptr<EcalTrigPrimFunctionalAlgo> algo_;
50  bool tcpFormat_;
51  bool debug_;
52  bool famos_;
55 
58 
59  // method to get EventSetupRecords
60  unsigned long long getRecords(edm::EventSetup const &setup);
61  unsigned long long cacheID_;
62 };
63 
64 #endif
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:45