Main Page
Namespaces
Classes
Package Documentation
CalibTracker
SiPixelTools
plugins
SiPixelErrorsDigisToCalibDigis.h
Go to the documentation of this file.
1
#ifndef SiPixelErrorsDigisToCalibDigis_h
2
#define SiPixelErrorsDigisToCalibDigis_h
3
10
// Original Author: Ricardo Vasquez Sierra on April 9, 2008
11
12
13
// system include files
14
#include <memory>
15
16
// user include files
17
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
18
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
19
20
#include "
FWCore/Framework/interface/Event.h
"
21
#include "
FWCore/ServiceRegistry/interface/Service.h
"
22
#include "
FWCore/Framework/interface/MakerMacros.h
"
23
#include "
FWCore/Framework/interface/ESHandle.h
"
24
25
#include "
FWCore/Utilities/interface/InputTag.h
"
26
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
27
28
#include "
DataFormats/Common/interface/DetSetVector.h
"
29
#include "
DataFormats/DetId/interface/DetId.h
"
30
31
#include "
DataFormats/SiPixelDigi/interface/SiPixelCalibDigi.h
"
32
#include "
DataFormats/SiPixelDigi/interface/SiPixelCalibDigiError.h
"
33
34
#include "
DQMServices/Core/interface/DQMStore.h
"
35
#include "
DQMServices/Core/interface/MonitorElement.h
"
36
37
#include "
DQM/SiPixelCommon/interface/SiPixelHistogramId.h
"
38
#include "
DQM/SiPixelCommon/interface/SiPixelFolderOrganizer.h
"
39
40
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
41
#include "
Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h
"
42
#include "
Geometry/TrackerGeometryBuilder/interface/PixelGeomDetType.h
"
43
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
44
45
#include "
CondFormats/SiPixelObjects/interface/SiPixelFedCablingMap.h
"
46
47
//
48
// class declaration
49
//
50
51
class
SiPixelErrorsDigisToCalibDigis
:
public
edm::EDAnalyzer
{
52
public
:
53
explicit
SiPixelErrorsDigisToCalibDigis
(
const
edm::ParameterSet
&);
54
~SiPixelErrorsDigisToCalibDigis
();
55
56
MonitorElement
*
bookDQMHistogram2D
(uint32_t detid,
std::string
name
,
std::string
title
,
int
nchX,
double
lowX,
double
highX,
int
nchY,
double
lowY,
double
highY);
57
MonitorElement
*
bookDQMHistoPlaquetteSummary2D
(uint32_t detid,
std::string
name,
std::string
title);
// take the detid to determine the size of rows and columns, this saves looking up everything in the cabling map by the user.
58
59
bool
setDQMDirectory
(
std::string
dirName
);
60
bool
setDQMDirectory
(uint32_t detID);
//automatically create directory hierachy based on DetID
61
protected
:
62
63
edm::ESHandle<TrackerGeometry>
geom_
;
64
65
private
:
66
virtual
void
beginJob
() ;
67
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
68
virtual
void
endJob
() ;
69
70
// ----------member data ---------------------------
71
72
// store the number of error per detector id encountered
73
// store the location of the mismatching error in the detector id
74
75
edm::InputTag
siPixelProducerLabel_
;
76
edm::EDGetTokenT <edm::DetSetVector<SiPixelCalibDigiError>
>
tPixelCalibDigiError
;
77
78
DQMStore
*
daqBE_
;
79
SiPixelHistogramId
*
theHistogramIdWorker_
;
80
std::string
outputFilename_
;
81
bool
createOutputFile_
;
82
83
SiPixelFolderOrganizer
*
folderMaker_
;
84
std::map<uint32_t, MonitorElement*>
SiPixelErrorsDigisToCalibDigis_2DErrorInformation_
;
85
86
MonitorElement
*
temp
;
87
};
88
89
#endif
SiPixelErrorsDigisToCalibDigis::~SiPixelErrorsDigisToCalibDigis
~SiPixelErrorsDigisToCalibDigis()
Definition:
SiPixelErrorsDigisToCalibDigis.cc:63
TrackerDigiGeometryRecord.h
SiPixelErrorsDigisToCalibDigis::setDQMDirectory
bool setDQMDirectory(std::string dirName)
Definition:
SiPixelErrorsDigisToCalibDigis.cc:173
SiPixelErrorsDigisToCalibDigis::beginJob
virtual void beginJob()
Definition:
SiPixelErrorsDigisToCalibDigis.cc:137
SiPixelHistogramId.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
SiPixelErrorsDigisToCalibDigis::siPixelProducerLabel_
edm::InputTag siPixelProducerLabel_
Definition:
SiPixelErrorsDigisToCalibDigis.h:75
SiPixelCalibDigi.h
Event.h
PixelGeomDetType.h
SiPixelCalibDigiError.h
MakerMacros.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
DetSetVector.h
ParameterSet.h
SiPixelErrorsDigisToCalibDigis::outputFilename_
std::string outputFilename_
Definition:
SiPixelErrorsDigisToCalibDigis.h:80
DQMStore
Definition:
DQMStore.h:75
SiPixelErrorsDigisToCalibDigis
Definition:
SiPixelErrorsDigisToCalibDigis.h:51
SiPixelHistogramId
Definition:
SiPixelHistogramId.h:24
SiPixelErrorsDigisToCalibDigis::endJob
virtual void endJob()
Definition:
SiPixelErrorsDigisToCalibDigis.cc:144
DQMStore.h
edm::ESHandle< TrackerGeometry >
SiPixelErrorsDigisToCalibDigis::bookDQMHistogram2D
MonitorElement * bookDQMHistogram2D(uint32_t detid, std::string name, std::string title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Definition:
SiPixelErrorsDigisToCalibDigis.cc:155
ESHandle.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:44
TrackerOfflineValidation_Dqm_cff.dirName
dirName
Definition:
TrackerOfflineValidation_Dqm_cff.py:56
SiPixelErrorsDigisToCalibDigis::createOutputFile_
bool createOutputFile_
Definition:
SiPixelErrorsDigisToCalibDigis.h:81
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
SiPixelErrorsDigisToCalibDigis::SiPixelErrorsDigisToCalibDigis_2DErrorInformation_
std::map< uint32_t, MonitorElement * > SiPixelErrorsDigisToCalibDigis_2DErrorInformation_
Definition:
SiPixelErrorsDigisToCalibDigis.h:84
MonitorElement
Definition:
MonitorElement.h:37
SiPixelFolderOrganizer
Definition:
SiPixelFolderOrganizer.h:23
SiPixelErrorsDigisToCalibDigis::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
SiPixelErrorsDigisToCalibDigis.cc:78
SiPixelErrorsDigisToCalibDigis::SiPixelErrorsDigisToCalibDigis
SiPixelErrorsDigisToCalibDigis(const edm::ParameterSet &)
Definition:
SiPixelErrorsDigisToCalibDigis.cc:45
SiPixelErrorsDigisToCalibDigis::temp
MonitorElement * temp
Definition:
SiPixelErrorsDigisToCalibDigis.h:86
SiPixelErrorsDigisToCalibDigis::tPixelCalibDigiError
edm::EDGetTokenT< edm::DetSetVector< SiPixelCalibDigiError > > tPixelCalibDigiError
Definition:
SiPixelErrorsDigisToCalibDigis.h:76
MonitorElement.h
fftjetcommon_cfi.title
title
Definition:
fftjetcommon_cfi.py:32
edm::InputTag
Definition:
InputTag.h:15
SiPixelErrorsDigisToCalibDigis::theHistogramIdWorker_
SiPixelHistogramId * theHistogramIdWorker_
Definition:
SiPixelErrorsDigisToCalibDigis.h:79
SiPixelFolderOrganizer.h
InputTag.h
TrackerGeometry.h
PixelGeomDetUnit.h
SiPixelErrorsDigisToCalibDigis::geom_
edm::ESHandle< TrackerGeometry > geom_
Definition:
SiPixelErrorsDigisToCalibDigis.h:63
edm::ParameterSet
Definition:
ParameterSet.h:36
SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D
MonitorElement * bookDQMHistoPlaquetteSummary2D(uint32_t detid, std::string name, std::string title)
Definition:
SiPixelErrorsDigisToCalibDigis.cc:161
dataset.name
name
Definition:
dataset.py:45
edm::Event
Definition:
Event.h:66
SiPixelErrorsDigisToCalibDigis::daqBE_
DQMStore * daqBE_
Definition:
SiPixelErrorsDigisToCalibDigis.h:78
DetId.h
SiPixelFedCablingMap.h
SiPixelErrorsDigisToCalibDigis::folderMaker_
SiPixelFolderOrganizer * folderMaker_
Definition:
SiPixelErrorsDigisToCalibDigis.h:83
Generated for CMSSW Reference Manual by
1.8.11