CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
40 
41  virtual ~EcalTrigPrimProducer();
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
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_
tuple conf
Definition: dbtoconf.py:185
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< EEDigiCollection > tokenEE_
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
Definition: Run.h:41