Go to the documentation of this file.00001 #include "DT2DSegmentClients.h"
00002 #include "FWCore/ServiceRegistry/interface/Service.h"
00003 #include "DQMServices/Core/interface/MonitorElement.h"
00004 #include "DQMServices/Core/interface/DQMStore.h"
00005 #include "FWCore/Framework/interface/MakerMacros.h"
00006
00007 #include "Validation/DTRecHits/interface/utils.h"
00008
00009
00010 #include <string>
00011 #include <iostream>
00012 #include <map>
00013
00014
00015 using namespace std;
00016 using namespace edm;
00017
00018 DT2DSegmentClients::DT2DSegmentClients(const edm::ParameterSet& ps){
00019 }
00020 DT2DSegmentClients::~DT2DSegmentClients(){
00021 }
00022 void DT2DSegmentClients::endJob(){}
00023
00024 void DT2DSegmentClients::endLuminosityBlock(edm::LuminosityBlock const& lumiSeg,
00025 edm::EventSetup const& c){
00026 dbe = Service<DQMStore>().operator->();
00027
00028 Tutils * aux = new Tutils;
00029 MonitorElement * hResPos = dbe->get("DT/2DSegments/Res/2D_SuperPhi_hResPos");
00030 MonitorElement * hResAngle = dbe->get("DT/2DSegments/Res/2D_SuperPhi_hResAngle");
00031 MonitorElement * hPullPos = dbe->get("DT/2DSegments/Pull/2D_SuperPhi_hPullPos");
00032 MonitorElement * hPullAngle = dbe->get("DT/2DSegments/Pull/2D_SuperPhi_hPullAngle");
00033 aux->drawGFit(hResPos->getTH1(),-0.1,0.1,-0.1,0.1);
00034 aux->drawGFit(hResAngle->getTH1(),-0.1,0.1,-0.1,0.1);
00035 aux->drawGFit(hPullPos->getTH1(),-5,5,-5,5);
00036 aux->drawGFit(hPullAngle->getTH1(),-5,5,-5,5);
00037
00038 }
00039
00040 void DT2DSegmentClients::analyze(const Event& e, const EventSetup& context){
00041 }
00042
00043