CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DT2DSegmentClients.cc
Go to the documentation of this file.
1 #include "DT2DSegmentClients.h"
6 
8 
9 //#include "TFile.h"
10 #include <string>
11 #include <iostream>
12 #include <map>
13 
14 
15 using namespace std;
16 using namespace edm;
17 
19 }
21 }
23 
25  edm::EventSetup const& c){
26  dbe = Service<DQMStore>().operator->();
27  //dbe->setCurrentFolder("/DT/2DSegments/");
28  Tutils * aux = new Tutils;
29  MonitorElement * hResPos = dbe->get("DT/2DSegments/Res/2D_SuperPhi_hResPos");
30  MonitorElement * hResAngle = dbe->get("DT/2DSegments/Res/2D_SuperPhi_hResAngle");
31  MonitorElement * hPullPos = dbe->get("DT/2DSegments/Pull/2D_SuperPhi_hPullPos");
32  MonitorElement * hPullAngle = dbe->get("DT/2DSegments/Pull/2D_SuperPhi_hPullAngle");
33  aux->drawGFit(hResPos->getTH1(),-0.1,0.1,-0.1,0.1);
34  aux->drawGFit(hResAngle->getTH1(),-0.1,0.1,-0.1,0.1);
35  aux->drawGFit(hPullPos->getTH1(),-5,5,-5,5);
36  aux->drawGFit(hPullAngle->getTH1(),-5,5,-5,5);
37 
38 }
39 
40 void DT2DSegmentClients::analyze(const Event& e, const EventSetup& context){
41 }
42 
43 
virtual ~DT2DSegmentClients()
Destructor.
void analyze(const edm::Event &e, const edm::EventSetup &c)
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
TH1 * getTH1(void) const
void drawGFit(TH1 *h1, float nsigmas, float min, float max)
Definition: utils.h:9
DT2DSegmentClients(const edm::ParameterSet &ps)
Constructor.