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: 2010/01/05 10:14:40 $
9  * $Revision: 1.4 $
10  * \author G. Mila - INFN Torino
11  *
12 */
13 
14 
22 
24 
25 #include <memory>
26 #include <iostream>
27 #include <fstream>
28 #include <string>
29 #include <vector>
30 #include <map>
31 #include "TH1F.h"
32 
33 class DTGeometry;
34 class DTWireId;
35 class DTTtrig;
36 class DTT0;
37 
38 
40 
41 public:
42 
45 
47  virtual ~DTAlbertoBenvenutiTask();
48 
49 protected:
50 
52  void beginJob();
53 
54  void beginRun(const edm::Run&, const edm::EventSetup&);
55 
57  void bookHistos(const DTWireId dtWire);
58 
60  void analyze(const edm::Event& e, const edm::EventSetup& c);
61 
63  void endJob();
64 
65 private:
66 
67  bool debug;
68  int nevents;
69 
71  int tMax;
73 
75  float tTrig;
76  float tTrigRMS;
77  float kFactor;
78 
80 
82 
84 
87 
88  std::string outputFile;
89 
90  std::map<DTWireId, TH1F*> TBMap;
91 
92 
93 };
94 
95 #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::Handle< LTCDigiCollection > ltcdigis
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:33