CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTDigiForNoiseTask.h
Go to the documentation of this file.
1 #ifndef DTDigiForNoiseTask_H
2 #define DTDigiForNoiseTask_H
3 
4 /*
5  * \file DTDigiForNoiseTask.h
6  *
7  * $Date: 2010/01/05 10:14:40 $
8  * $Revision: 1.6 $
9  * \author G. Mila - INFN Torino
10  *
11 */
12 
20 
25 
26 #include <memory>
27 #include <iostream>
28 #include <fstream>
29 #include <string>
30 #include <vector>
31 #include <map>
32 
33 class DTGeometry;
34 class DTSuperLayerId;
35 class DTLayerId;
36 class DTChamberId;
37 
38 
40 
41 public:
42 
45 
47  virtual ~DTDigiForNoiseTask();
48 
49 protected:
50 
52  void beginJob();
53 
55  void beginRun(const edm::Run&, const edm::EventSetup&);
56 
58  void bookHistos(const DTLayerId& dtSL);
59 
61  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
62 
64  void analyze(const edm::Event& e, const edm::EventSetup& c);
65 
67  void endJob();
68 
69 private:
70 
71  bool debug;
72  int nevents;
73 
75 
77 
79 
80  std::map< DTLayerId, MonitorElement* > digiHistos;
81 
82 
83 };
84 
85 #endif
void beginJob()
BeginJob.
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
To reset the MEs.
void bookHistos(const DTLayerId &dtSL)
Book the ME.
std::map< DTLayerId, MonitorElement * > digiHistos
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
edm::ParameterSet parameters
virtual ~DTDigiForNoiseTask()
Destructor.
void beginRun(const edm::Run &, const edm::EventSetup &)
BeginRun.
DTDigiForNoiseTask(const edm::ParameterSet &ps)
Constructor.
edm::ESHandle< DTGeometry > muonGeom
Definition: Run.h:33