CMS 3D CMS Logo

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 //
24 // class declaration
25 //
26 
27 class TKStatus : public edm::one::EDAnalyzer<> {
28  public:
29  TKStatus( const edm::ParameterSet& );
30 
31  protected:
32 
33  void analyze(const edm::Event& e, const edm::EventSetup& c) override ;
34 
35  private:
36 
37  void dumpTkDcsStatus(std::string const &, edm::RunNumber_t, std::array<bool,6> const&);
38 
41 
42  int lastlumi_ = -1;
43  // ----------member data ---------------------------
44 
45 
46 };
47 
48 #endif
49 
50 
51 // Local Variables:
52 // show-trailing-whitespace: t
53 // truncate-lines: t
54 // End:
edm::EDGetTokenT< DcsStatusCollection > dcsStatus_
Definition: TKStatus.h:40
std::string dcsTkFileName_
Definition: TKStatus.h:39
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:22
void dumpTkDcsStatus(std::string const &, edm::RunNumber_t, std::array< bool, 6 > const &)
Definition: TKStatus.cc:47
int lastlumi_
Definition: TKStatus.h:42