Main Page
Namespaces
Classes
Package Documentation
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
Definition:
Service.h:30
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
edm::LuminosityBlock
Definition:
LuminosityBlock.h:45
MakerMacros.h
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:43
std
Definition:
JetResolutionObject.h:76
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
DT2DSegmentClients::endLuminosityBlock
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
Definition:
DT2DSegmentClients.cc:24
Utilities.operator
operator
Definition:
Utilities.py:23
DQMStore.h
MonitorElement::getTH1
TH1 * getTH1(void) const
Definition:
MonitorElement.cc:1458
Service.h
edm::EventSetup
Definition:
EventSetup.h:45
printConversionInfo.aux
aux
Definition:
printConversionInfo.py:18
MonitorElement
Definition:
MonitorElement.h:37
DT2DSegmentClients.h
Tutils::drawGFit
void drawGFit(TH1 *h1, float nsigmas, float min, float max)
utils.h
MonitorElement.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
Tutils
Definition:
utils.h:9
edm::Event
Definition:
Event.h:66
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.11