src
DQM
SiPixelPhase1Track
interface
SiPixelPhase1ResidualsExtra.h
Go to the documentation of this file.
1
#ifndef SiPixelPhase1ResidualsExtra_SiPixelPhase1ResidualsExtra_h
2
#define SiPixelPhase1ResidualsExtra_SiPixelPhase1ResidualsExtra_h
3
// -*- C++ -*-
4
//
5
// Package: SiPixelPhase1ResidualsExtra
6
// Class : SiPixelPhase1ResidualsExtra
7
//
8
/*
9
10
Description: Introduce some computation over the PixelPhase1 residuals distributions
11
12
Usage:
13
<usage>
14
15
*/
16
//
17
// Original Author: Alessandro Rossi
18
// Created: 21st May 2021
19
//
20
21
//#include <memory>
22
23
// user include files
24
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
25
#include "
DQMServices/Core/interface/DQMStore.h
"
26
#include "
FWCore/Framework/interface/Event.h
"
27
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
28
#include "
FWCore/Framework/interface/MakerMacros.h
"
29
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
30
31
class
SiPixelPhase1ResidualsExtra
:
public
DQMEDHarvester
{
32
public
:
33
explicit
SiPixelPhase1ResidualsExtra
(
const
edm::ParameterSet
& conf);
34
~SiPixelPhase1ResidualsExtra
()
override
;
35
36
protected
:
37
// BeginRun
38
void
beginRun
(
edm::Run
const
&
run
,
edm::EventSetup
const
& eSetup)
override
;
39
40
// EndJob
41
void
dqmEndJob
(
DQMStore::IBooker
& iBooker,
DQMStore::IGetter
& iGetter)
override
;
42
43
private
:
44
std::string
topFolderName_
;
45
int
minHits_
;
46
edm::ParameterSet
conf_
;
47
48
std::map<std::string, MonitorElement*>
residuals_
;
49
std::map<std::string, MonitorElement*>
DRnR_
;
50
51
//Book Monitoring Elements
52
void
bookMEs
(
DQMStore::IBooker
& iBooker);
53
54
//Fill Monitoring Elements
55
void
fillMEs
(
DQMStore::IBooker
& iBooker,
DQMStore::IGetter
& iGetter);
56
};
57
58
#endif
SiPixelPhase1ResidualsExtra::conf_
edm::ParameterSet conf_
Definition:
SiPixelPhase1ResidualsExtra.h:46
SiPixelPhase1ResidualsExtra::DRnR_
std::map< std::string, MonitorElement * > DRnR_
Definition:
SiPixelPhase1ResidualsExtra.h:49
Event.h
SiPixelPhase1ResidualsExtra
Definition:
SiPixelPhase1ResidualsExtra.h:31
SiPixelPhase1ResidualsExtra::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition:
SiPixelPhase1ResidualsExtra.cc:62
SiPixelPhase1ResidualsExtra::bookMEs
void bookMEs(DQMStore::IBooker &iBooker)
Definition:
SiPixelPhase1ResidualsExtra.cc:72
DQMEDHarvester.h
SiPixelPhase1ResidualsExtra::residuals_
std::map< std::string, MonitorElement * > residuals_
Definition:
SiPixelPhase1ResidualsExtra.h:48
Frameworkfwd.h
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
dqm::implementation::IGetter
Definition:
DQMStore.h:571
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
SiPixelPhase1ResidualsExtra::~SiPixelPhase1ResidualsExtra
~SiPixelPhase1ResidualsExtra() override
Definition:
SiPixelPhase1ResidualsExtra.cc:56
dqm::implementation::IBooker
Definition:
DQMStore.h:43
SiPixelPhase1ResidualsExtra::topFolderName_
std::string topFolderName_
Definition:
SiPixelPhase1ResidualsExtra.h:44
DQMStore.h
edm::EventSetup
Definition:
EventSetup.h:56
SiPixelPhase1ResidualsExtra::SiPixelPhase1ResidualsExtra
SiPixelPhase1ResidualsExtra(const edm::ParameterSet &conf)
Definition:
SiPixelPhase1ResidualsExtra.cc:49
SiPixelPhase1ResidualsExtra::fillMEs
void fillMEs(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter)
Definition:
SiPixelPhase1ResidualsExtra.cc:287
SiPixelPhase1ResidualsExtra::dqmEndJob
void dqmEndJob(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override
Definition:
SiPixelPhase1ResidualsExtra.cc:64
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
edm::ParameterSet
Definition:
ParameterSet.h:48
SiPixelPhase1ResidualsExtra::minHits_
int minHits_
Definition:
SiPixelPhase1ResidualsExtra.h:45
MakerMacros.h
edm::Run
Definition:
Run.h:45
Generated for CMSSW Reference Manual by
1.8.14