Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
indexGen.title
title
Definition:
indexGen.py:48
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
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
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
DetSetVector.h
ParameterSet.h
SiPixelErrorsDigisToCalibDigis::outputFilename_
std::string outputFilename_
Definition:
SiPixelErrorsDigisToCalibDigis.h:80
DQMStore
Definition:
DQMStore.h:73
SiPixelErrorsDigisToCalibDigis
Definition:
SiPixelErrorsDigisToCalibDigis.h:51
SiPixelHistogramId
Definition:
SiPixelHistogramId.h:24
SiPixelErrorsDigisToCalibDigis::endJob
virtual void endJob()
Definition:
SiPixelErrorsDigisToCalibDigis.cc:144
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:155
ESHandle.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:44
SiPixelErrorsDigisToCalibDigis::createOutputFile_
bool createOutputFile_
Definition:
SiPixelErrorsDigisToCalibDigis.h:81
edm::EDAnalyzer
Definition:
EDAnalyzer.h:25
EDAnalyzer.h
SiPixelErrorsDigisToCalibDigis::SiPixelErrorsDigisToCalibDigis_2DErrorInformation_
std::map< uint32_t, MonitorElement * > SiPixelErrorsDigisToCalibDigis_2DErrorInformation_
Definition:
SiPixelErrorsDigisToCalibDigis.h:84
MonitorElement
Definition:
MonitorElement.h:34
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
cond::rpcobgas::detid
Definition:
RPCObGasPyWrapper.cc:61
SiPixelErrorsDigisToCalibDigis::tPixelCalibDigiError
edm::EDGetTokenT< edm::DetSetVector< SiPixelCalibDigiError > > tPixelCalibDigiError
Definition:
SiPixelErrorsDigisToCalibDigis.h:76
MonitorElement.h
edm::InputTag
Definition:
InputTag.h:17
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:35
SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D
MonitorElement * bookDQMHistoPlaquetteSummary2D(uint32_t detid, std::string name, std::string title)
Definition:
SiPixelErrorsDigisToCalibDigis.cc:161
edm::Event
Definition:
Event.h:62
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.5