CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TKStatus.h
Go to the documentation of this file.
1 
2 #ifndef TKStatus_H
3 #define TKStatus_H
4 
11 // C++
12 #include <string>
13 #include <array>
14 // CMS
20 #include <fstream>
21 
22 //
23 // class declaration
24 //
25 
26 class TKStatus : public edm::one::EDAnalyzer<> {
27 public:
29 
30 protected:
31  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
32 
33 private:
34  void dumpTkDcsStatus(std::string const&, edm::RunNumber_t, std::array<bool, 6> const&);
35 
38 
39  int lastlumi_ = -1;
40  // ----------member data ---------------------------
41 };
42 
43 #endif
44 
45 // Local Variables:
46 // show-trailing-whitespace: t
47 // truncate-lines: t
48 // End:
const edm::EventSetup & c
edm::EDGetTokenT< DcsStatusCollection > dcsStatus_
Definition: TKStatus.h:37
std::string dcsTkFileName_
Definition: TKStatus.h:36
TKStatus(const edm::ParameterSet &)
Definition: TKStatus.cc:10
unsigned int RunNumber_t
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: TKStatus.cc:21
void dumpTkDcsStatus(std::string const &, edm::RunNumber_t, std::array< bool, 6 > const &)
Definition: TKStatus.cc:53
int lastlumi_
Definition: TKStatus.h:39