Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
77
DQMStore
*
daqBE_
;
78
SiPixelHistogramId
*
theHistogramIdWorker_
;
79
std::string
outputFilename_
;
80
bool
createOutputFile_
;
81
82
SiPixelFolderOrganizer
*
folderMaker_
;
83
std::map<uint32_t, MonitorElement*>
SiPixelErrorsDigisToCalibDigis_2DErrorInformation_
;
84
85
MonitorElement
*
temp
;
86
};
87
88
#endif
indexGen.title
title
Definition:
indexGen.py:48
SiPixelErrorsDigisToCalibDigis::~SiPixelErrorsDigisToCalibDigis
~SiPixelErrorsDigisToCalibDigis()
Definition:
SiPixelErrorsDigisToCalibDigis.cc:62
TrackerDigiGeometryRecord.h
SiPixelErrorsDigisToCalibDigis::setDQMDirectory
bool setDQMDirectory(std::string dirName)
Definition:
SiPixelErrorsDigisToCalibDigis.cc:172
SiPixelErrorsDigisToCalibDigis::beginJob
virtual void beginJob()
Definition:
SiPixelErrorsDigisToCalibDigis.cc:136
SiPixelHistogramId.h
SiPixelErrorsDigisToCalibDigis::siPixelProducerLabel_
edm::InputTag siPixelProducerLabel_
Definition:
SiPixelErrorsDigisToCalibDigis.h:75
SiPixelCalibDigi.h
Event.h
PixelGeomDetType.h
SiPixelCalibDigiError.h
MakerMacros.h
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
DetSetVector.h
ParameterSet.h
SiPixelErrorsDigisToCalibDigis::outputFilename_
std::string outputFilename_
Definition:
SiPixelErrorsDigisToCalibDigis.h:79
DQMStore
Definition:
DQMStore.h:67
SiPixelErrorsDigisToCalibDigis
Definition:
SiPixelErrorsDigisToCalibDigis.h:51
SiPixelHistogramId
Definition:
SiPixelHistogramId.h:25
SiPixelErrorsDigisToCalibDigis::endJob
virtual void endJob()
Definition:
SiPixelErrorsDigisToCalibDigis.cc:143
TrackerOfflineValidation_Dqm_cff.dirName
tuple dirName
Definition:
TrackerOfflineValidation_Dqm_cff.py:56
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:154
ESHandle.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:44
SiPixelErrorsDigisToCalibDigis::createOutputFile_
bool createOutputFile_
Definition:
SiPixelErrorsDigisToCalibDigis.h:80
edm::EDAnalyzer
Definition:
EDAnalyzer.h:15
EDAnalyzer.h
SiPixelErrorsDigisToCalibDigis::SiPixelErrorsDigisToCalibDigis_2DErrorInformation_
std::map< uint32_t, MonitorElement * > SiPixelErrorsDigisToCalibDigis_2DErrorInformation_
Definition:
SiPixelErrorsDigisToCalibDigis.h:83
MonitorElement
Definition:
MonitorElement.h:34
SiPixelFolderOrganizer
Definition:
SiPixelFolderOrganizer.h:24
SiPixelErrorsDigisToCalibDigis::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
SiPixelErrorsDigisToCalibDigis.cc:77
SiPixelErrorsDigisToCalibDigis::SiPixelErrorsDigisToCalibDigis
SiPixelErrorsDigisToCalibDigis(const edm::ParameterSet &)
Definition:
SiPixelErrorsDigisToCalibDigis.cc:46
SiPixelErrorsDigisToCalibDigis::temp
MonitorElement * temp
Definition:
SiPixelErrorsDigisToCalibDigis.h:85
cond::rpcobgas::detid
Definition:
RPCObGasPyWrapper.cc:61
MonitorElement.h
edm::InputTag
Definition:
InputTag.h:17
SiPixelErrorsDigisToCalibDigis::theHistogramIdWorker_
SiPixelHistogramId * theHistogramIdWorker_
Definition:
SiPixelErrorsDigisToCalibDigis.h:78
SiPixelFolderOrganizer.h
InputTag.h
TrackerGeometry.h
PixelGeomDetUnit.h
SiPixelErrorsDigisToCalibDigis::geom_
edm::ESHandle< TrackerGeometry > geom_
Definition:
SiPixelErrorsDigisToCalibDigis.h:63
edm::ParameterSet
Definition:
ParameterSet.h:35
SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D
MonitorElement * bookDQMHistoPlaquetteSummary2D(uint32_t detid, std::string name, std::string title)
Definition:
SiPixelErrorsDigisToCalibDigis.cc:160
edm::Event
Definition:
Event.h:56
SiPixelErrorsDigisToCalibDigis::daqBE_
DQMStore * daqBE_
Definition:
SiPixelErrorsDigisToCalibDigis.h:77
DetId.h
SiPixelFedCablingMap.h
SiPixelErrorsDigisToCalibDigis::folderMaker_
SiPixelFolderOrganizer * folderMaker_
Definition:
SiPixelErrorsDigisToCalibDigis.h:82
Generated for CMSSW Reference Manual by
1.8.5