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  * \author G. Mila - INFN Torino
9  *
10 */
11 
12 
21 
22 #include <memory>
23 #include <iostream>
24 #include <fstream>
25 #include <string>
26 #include <vector>
27 #include <map>
28 #include "TH1F.h"
29 
30 class DTGeometry;
31 class DTWireId;
32 class DTTtrig;
33 class DTT0;
34 
35 
37 
38 public:
39 
42 
44  virtual ~DTAlbertoBenvenutiTask();
45 
46 protected:
47 
49  void beginJob();
50 
51  void beginRun(const edm::Run&, const edm::EventSetup&);
52 
54  void bookHistos(const DTWireId dtWire);
55 
57  void analyze(const edm::Event& e, const edm::EventSetup& c);
58 
60  void endJob();
61 
62 private:
63 
64  bool debug;
65  int nevents;
66 
68  int tMax;
70 
72  float tTrig;
73  float tTrigRMS;
74  float kFactor;
75 
77 
79 
82 
84 
85  std::map<DTWireId, TH1F*> TBMap;
86 
87  //define Token(-s)
89 
90 };
91 
92 #endif
93 
94 /* Local Variables: */
95 /* show-trailing-whitespace: t */
96 /* truncate-lines: t */
97 /* End: */
edm::ESHandle< DTGeometry > muonGeom
virtual ~DTAlbertoBenvenutiTask()
Destructor.
float tTrig
tTrig from the DB
edm::EDGetTokenT< DTDigiCollection > DTUnpackerToken_
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:41