Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Validation
DTRecHits
plugins
DT2DSegmentClients.cc
Go to the documentation of this file.
1
#include "
DT2DSegmentClients.h
"
2
#include "
FWCore/ServiceRegistry/interface/Service.h
"
3
#include "
DQMServices/Core/interface/MonitorElement.h
"
4
#include "
DQMServices/Core/interface/DQMStore.h
"
5
#include "
FWCore/Framework/interface/MakerMacros.h
"
6
7
#include "
Validation/DTRecHits/interface/utils.h
"
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
18
DT2DSegmentClients::DT2DSegmentClients
(
const
edm::ParameterSet
& ps){
19
}
20
DT2DSegmentClients::~DT2DSegmentClients
(){
21
}
22
void
DT2DSegmentClients::endJob
(){}
23
24
void
DT2DSegmentClients::endLuminosityBlock
(
edm::LuminosityBlock
const
& lumiSeg,
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
edm::Service< DQMStore >
DT2DSegmentClients::~DT2DSegmentClients
virtual ~DT2DSegmentClients()
Destructor.
Definition:
DT2DSegmentClients.cc:20
DT2DSegmentClients::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition:
DT2DSegmentClients.cc:40
cppFunctionSkipper.operator
string operator
Definition:
cppFunctionSkipper.py:10
edm::LuminosityBlock
Definition:
LuminosityBlock.h:47
MakerMacros.h
printConversionInfo.aux
tuple aux
Definition:
printConversionInfo.py:18
DT2DSegmentClients::endLuminosityBlock
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
Definition:
DT2DSegmentClients.cc:24
DQMStore.h
MonitorElement::getTH1
TH1 * getTH1(void) const
Definition:
MonitorElement.cc:1491
Service.h
edm::EventSetup
Definition:
EventSetup.h:44
MonitorElement
Definition:
MonitorElement.h:34
DT2DSegmentClients.h
Tutils::drawGFit
void drawGFit(TH1 *h1, float nsigmas, float min, float max)
utils.h
trackerHits.c
tuple c
Definition:
trackerHits.py:26
MonitorElement.h
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
edm::ParameterSet
Definition:
ParameterSet.h:35
Tutils
Definition:
utils.h:9
edm::Event
Definition:
Event.h:62
DT2DSegmentClients::endJob
void endJob()
Definition:
DT2DSegmentClients.cc:22
DT2DSegmentClients::DT2DSegmentClients
DT2DSegmentClients(const edm::ParameterSet &ps)
Constructor.
Definition:
DT2DSegmentClients.cc:18
Generated for CMSSW Reference Manual by
1.8.5