ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/DTDPGAnalysis/src/CheckDeadChannels.h
Revision: 1.1
Committed: Thu Jul 4 17:12:54 2013 UTC (11 years, 10 months ago) by marycruz
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Error occurred while calculating annotation data.
Log Message:
New code for check dead channels

File Contents

# Content
1 #ifndef CheckDeadChannels_H
2 #define CheckDeadChannels_H
3
4
5 /* class CheckDeadChannels
6 Oct. 13, 2011
7 Francesca R. Cavallo
8 */
9
10 #include <FWCore/Framework/interface/EDAnalyzer.h>
11 #include <FWCore/Framework/interface/Event.h>
12 #include <FWCore/Framework/interface/MakerMacros.h>
13 #include "FWCore/ParameterSet/interface/ParameterSet.h"
14
15 #include "DQMServices/Core/interface/DQMStore.h"
16 #include "FWCore/ServiceRegistry/interface/Service.h"
17
18
19 #include <memory>
20 #include <iostream>
21 #include <fstream>
22 #include <string>
23 #include <vector>
24 #include <map>
25
26
27 class CheckDeadChannels: public edm::EDAnalyzer{
28
29 public:
30
31 /// Constructor
32 CheckDeadChannels(const edm::ParameterSet& ps);
33
34 /// Destructor
35 virtual ~CheckDeadChannels();
36
37 protected:
38
39 /// BeginJob
40 void beginJob();
41
42 /// BeginRun
43 void beginRun(const edm::Run& r, const edm::EventSetup& c);
44
45 /// Analyze
46 void analyze(const edm::Event& e, const edm::EventSetup& c);
47
48 /// Endjob
49 void endJob();
50
51 std::ofstream* DeadComp;
52
53 private:
54
55 // int nevents;
56 std::string myMainFolder;
57
58 edm::ParameterSet myParameters;
59
60
61 // The run number
62 int myRunNumber;
63 int ReferenceRun;
64
65 };
66
67 #endif
68
69