CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTAlbertoBenvenutiTask.h
Go to the documentation of this file.
1 #ifndef DTAlbertoBenvenutiTask_H
2 #define DTAlbertoBenvenutiTask_H
3 
4 
5 /*
6  * \file DTAlbertoBenvenutiTask.h
7  *
8  * $Date: 2012/09/24 16:08:06 $
9  * $Revision: 1.5 $
10  * \author G. Mila - INFN Torino
11  *
12 */
13 
14 
22 
23 #include <memory>
24 #include <iostream>
25 #include <fstream>
26 #include <string>
27 #include <vector>
28 #include <map>
29 #include "TH1F.h"
30 
31 class DTGeometry;
32 class DTWireId;
33 class DTTtrig;
34 class DTT0;
35 
36 
38 
39 public:
40 
43 
45  virtual ~DTAlbertoBenvenutiTask();
46 
47 protected:
48 
50  void beginJob();
51 
52  void beginRun(const edm::Run&, const edm::EventSetup&);
53 
55  void bookHistos(const DTWireId dtWire);
56 
58  void analyze(const edm::Event& e, const edm::EventSetup& c);
59 
61  void endJob();
62 
63 private:
64 
65  bool debug;
66  int nevents;
67 
69  int tMax;
71 
73  float tTrig;
74  float tTrigRMS;
75  float kFactor;
76 
78 
80 
83 
85 
86  std::map<DTWireId, TH1F*> TBMap;
87 
88 
89 };
90 
91 #endif
edm::ESHandle< DTGeometry > muonGeom
virtual ~DTAlbertoBenvenutiTask()
Destructor.
float tTrig
tTrig from the DB
void beginRun(const edm::Run &, const edm::EventSetup &)
Definition: DTT0.h:52
edm::ESHandle< DTT0 > t0Map
edm::ESHandle< DTTtrig > tTrigMap
int tMax
no needs to be precise. Value from PSets will always be used
std::map< DTWireId, TH1F * > TBMap
void bookHistos(const DTWireId dtWire)
Book the ME.
DTAlbertoBenvenutiTask(const edm::ParameterSet &ps)
Constructor.
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
Definition: Run.h:36