test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Alignment
MillePedeAlignmentAlgorithm
plugins
MillePedeDQMModule.h
Go to the documentation of this file.
1
#ifndef Alignment_MillePedeAlignmentAlgorithm_MillePedeDQMModule_h
2
#define Alignment_MillePedeAlignmentAlgorithm_MillePedeDQMModule_h
3
16
/*** system includes ***/
17
#include <array>
18
19
/*** core framework functionality ***/
20
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
21
#include "
FWCore/ServiceRegistry/interface/Service.h
"
22
#include "
FWCore/Framework/interface/Event.h
"
23
#include "
FWCore/Framework/interface/EventSetup.h
"
24
#include "
FWCore/Framework/interface/MakerMacros.h
"
25
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
26
27
/*** DQM ***/
28
29
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
30
#include "
DQMServices/Core/interface/MonitorElement.h
"
31
32
/*** MillePede ***/
33
#include "
Alignment/MillePedeAlignmentAlgorithm/interface/MillePedeFileReader.h
"
34
35
36
37
38
class
MillePedeDQMModule
:
public
DQMEDHarvester
{
39
40
//========================== PUBLIC METHODS ==================================
41
public
:
//====================================================================
42
43
MillePedeDQMModule
(
const
edm::ParameterSet
&);
44
virtual
~MillePedeDQMModule
();
45
46
47
48
49
50
virtual
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
51
//virtual void endRun(edm::Run const&, edm::EventSetup const&) override;
52
53
//========================= PRIVATE METHODS ==================================
54
private
:
//===================================================================
55
56
void
bookHistograms
(
DQMStore::IBooker
&);
57
58
void
fillExpertHistos
();
59
60
void
fillExpertHisto
(
MonitorElement
*
histo
,
61
const
double
cut
,
62
const
double
sigCut
,
63
const
double
maxMoveCut,
64
const
double
maxErrorCut,
65
std::array<double, 6> obs,
66
std::array<double, 6> obsErr);
67
68
//========================== PRIVATE DATA ====================================
69
//============================================================================
70
71
const
edm::ParameterSet
mpReaderConfig_
;
72
MillePedeFileReader
mpReader
;
73
74
// Signifiance of movement must be above
75
double
sigCut_
;
76
// Cutoff in micro-meter & micro-rad
77
double
Xcut_
,
tXcut_
;
78
double
Ycut_
,
tYcut_
;
79
double
Zcut_
,
tZcut_
;
80
// maximum movement in micro-meter/rad
81
double
maxMoveCut_
;
82
double
maxErrorCut_
;
83
84
// Histograms
85
MonitorElement
*
h_xPos
;
86
MonitorElement
*
h_xRot
;
87
MonitorElement
*
h_yPos
;
88
MonitorElement
*
h_yRot
;
89
MonitorElement
*
h_zPos
;
90
MonitorElement
*
h_zRot
;
91
92
};
93
94
// define this as a plug-in
95
DEFINE_FWK_MODULE
(
MillePedeDQMModule
);
96
97
#endif
/* Alignment_MillePedeAlignmentAlgorithm_MillePedeDQMModule_h */
MillePedeDQMModule::mpReaderConfig_
const edm::ParameterSet mpReaderConfig_
Definition:
MillePedeDQMModule.h:71
MillePedeDQMModule::~MillePedeDQMModule
virtual ~MillePedeDQMModule()
Definition:
MillePedeDQMModule.cc:38
MessageLogger.h
MillePedeDQMModule::Xcut_
double Xcut_
Definition:
MillePedeDQMModule.h:77
MillePedeDQMModule
Definition:
MillePedeDQMModule.h:38
MillePedeDQMModule::tZcut_
double tZcut_
Definition:
MillePedeDQMModule.h:79
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
MillePedeFileReader.h
Event.h
MakerMacros.h
EventSetup.h
MillePedeDQMModule::dqmEndJob
virtual void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
MillePedeDQMModule.cc:66
MillePedeDQMModule::h_zPos
MonitorElement * h_zPos
Definition:
MillePedeDQMModule.h:89
DQMEDHarvester.h
timingPdfMaker.histo
tuple histo
Definition:
timingPdfMaker.py:279
HLT_25ns10e33_v2_cff.sigCut
tuple sigCut
Definition:
HLT_25ns10e33_v2_cff.py:9680
ParameterSet.h
DQMEDHarvester
Definition:
DQMEDHarvester.h:15
MillePedeDQMModule::tXcut_
double tXcut_
Definition:
MillePedeDQMModule.h:77
DQMStore::IGetter
Definition:
DQMStore.h:190
MillePedeDQMModule::maxMoveCut_
double maxMoveCut_
Definition:
MillePedeDQMModule.h:81
MillePedeDQMModule::fillExpertHisto
void fillExpertHisto(MonitorElement *histo, const double cut, const double sigCut, const double maxMoveCut, const double maxErrorCut, std::array< double, 6 > obs, std::array< double, 6 > obsErr)
Definition:
MillePedeDQMModule.cc:96
MillePedeDQMModule::MillePedeDQMModule
MillePedeDQMModule(const edm::ParameterSet &)
Definition:
MillePedeDQMModule.cc:19
MillePedeDQMModule::fillExpertHistos
void fillExpertHistos()
Definition:
MillePedeDQMModule.cc:81
MillePedeDQMModule::bookHistograms
void bookHistograms(DQMStore::IBooker &)
Definition:
MillePedeDQMModule.cc:47
Service.h
MillePedeDQMModule::h_xPos
MonitorElement * h_xPos
Definition:
MillePedeDQMModule.h:85
MillePedeDQMModule::sigCut_
double sigCut_
Definition:
MillePedeDQMModule.h:75
MillePedeDQMModule::h_yPos
MonitorElement * h_yPos
Definition:
MillePedeDQMModule.h:87
MonitorElement
Definition:
MonitorElement.h:37
MonitorElement.h
MillePedeDQMModule::h_xRot
MonitorElement * h_xRot
Definition:
MillePedeDQMModule.h:86
MillePedeDQMModule::Zcut_
double Zcut_
Definition:
MillePedeDQMModule.h:79
MillePedeDQMModule::mpReader
MillePedeFileReader mpReader
Definition:
MillePedeDQMModule.h:72
MillePedeDQMModule::tYcut_
double tYcut_
Definition:
MillePedeDQMModule.h:78
edm::ParameterSet
Definition:
ParameterSet.h:36
MillePedeDQMModule::maxErrorCut_
double maxErrorCut_
Definition:
MillePedeDQMModule.h:82
MillePedeFileReader
Definition:
MillePedeFileReader.h:12
MillePedeDQMModule::h_zRot
MonitorElement * h_zRot
Definition:
MillePedeDQMModule.h:90
DQMStore::IBooker
Definition:
DQMStore.h:90
MillePedeDQMModule::Ycut_
double Ycut_
Definition:
MillePedeDQMModule.h:78
MillePedeDQMModule::h_yRot
MonitorElement * h_yRot
Definition:
MillePedeDQMModule.h:88
GOODCOLL_filter_cfg.cut
tuple cut
Definition:
GOODCOLL_filter_cfg.py:65
Generated for CMSSW Reference Manual by
1.8.5