CMS 3D CMS Logo

EcalTPCondAnalyzer.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Class: EcalTPCondAnalyzer
4 //
11 //
12 // Original Author: Ursula Berthon
13 // Created: Wed Oct 15 11:38:38 CEST 2008
14 //
15 //
16 
19 
23 
25 
39 
55 
56 //
57 // class declaration
58 //
59 
60 class EcalTPCondAnalyzer : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
61 public:
62  explicit EcalTPCondAnalyzer(const edm::ParameterSet &);
63  ~EcalTPCondAnalyzer() override;
64 
65  void analyze(const edm::Event &, const edm::EventSetup &) override;
66  void beginJob() override;
67  void beginRun(const edm::Run &run, const edm::EventSetup &evtSetup) override;
68  void endJob() override;
69  void endRun(edm::Run const &, edm::EventSetup const &) override;
70 
71 private:
72  unsigned long long getRecords(edm::EventSetup const &setup);
73  unsigned long long cacheID_;
74 
90 
93 
94  void printComment() const;
96  void printCRYSTAL(const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin);
97  void printSTRIP(const EcalTPGSlidingWindow *ecaltpgSlidW,
98  const EcalTPGWeightGroup *ecaltpgWeightGroup,
99  const EcalTPGFineGrainStripEE *ecaltpgFgStripEE) const;
100  void printWEIGHT(const EcalTPGWeightIdMap *ecaltpgWeightMap) const;
101  void printTOWEREB(const EcalTPGSpike *ecaltpgSpike,
102  const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup,
103  const EcalTPGLutGroup *ecaltpgLutGroup) const;
104  void printEcalTPGLutIdMap(const EcalTPGLutIdMap *ecaltpgLut) const;
105  void printEcalTPGFineGrainEBIdMap(const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB) const;
106  void printTOWEREE(const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE,
107  const EcalTPGLutGroup *ecaltpgLutGroup) const;
108 };
EcalTPGLutGroupRcd.h
EcalTPGWeightIdMap
Definition: EcalTPGWeightIdMap.h:10
EDAnalyzer.h
EcalTPCondAnalyzer::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &evtSetup) override
Definition: EcalTPCondAnalyzer.cc:46
EcalTPGLinearizationConstRcd.h
edm::Run
Definition: Run.h:45
EcalTPGSpikeRcd.h
EcalTPGSpike
Definition: EcalTPGSpike.h:9
EcalTPCondAnalyzer::printEcalTPGPhysicsConst
void printEcalTPGPhysicsConst(const EcalTPGPhysicsConst *) const
Definition: EcalTPCondAnalyzer.cc:111
EcalTPCondAnalyzer::printTOWEREE
void printTOWEREE(const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE, const EcalTPGLutGroup *ecaltpgLutGroup) const
Definition: EcalTPCondAnalyzer.cc:351
EcalTPGFineGrainStripEE
Definition: EcalTPGFineGrainStripEE.h:9
EcalTPGFineGrainEBIdMap.h
EcalTPGFineGrainEBIdMap
Definition: EcalTPGFineGrainEBIdMap.h:10
EcalTPCondAnalyzer::tokenEcalTPGFineGrainEBIdMap_
edm::ESGetToken< EcalTPGFineGrainEBIdMap, EcalTPGFineGrainEBIdMapRcd > tokenEcalTPGFineGrainEBIdMap_
Definition: EcalTPCondAnalyzer.h:81
EcalTPCondAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: EcalTPCondAnalyzer.cc:105
edm::one::EDAnalyzer
Definition: EDAnalyzer.h:30
EcalTPGWeightGroup
Definition: EcalTPGWeightGroup.h:8
EcalCondObjectContainer
Definition: EcalCondObjectContainer.h:13
EcalTPCondAnalyzer::tokenEcalTPGFineGrainStripEE_
edm::ESGetToken< EcalTPGFineGrainStripEE, EcalTPGFineGrainStripEERcd > tokenEcalTPGFineGrainStripEE_
Definition: EcalTPCondAnalyzer.h:84
EcalTPCondAnalyzer::tokenEndcapGeom_
edm::ESGetToken< CaloSubdetectorGeometry, EcalEndcapGeometryRecord > tokenEndcapGeom_
Definition: EcalTPCondAnalyzer.h:75
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
EcalTPGLutGroup
Definition: EcalTPGLutGroup.h:13
EcalTPGFineGrainTowerEE.h
EcalTPGFineGrainStripEE.h
EcalTPCondAnalyzer::tokenEcalTPGLutIdMap_
edm::ESGetToken< EcalTPGLutIdMap, EcalTPGLutIdMapRcd > tokenEcalTPGLutIdMap_
Definition: EcalTPCondAnalyzer.h:82
EcalTPCondAnalyzer::tokenEcalTPGWeightIdMap_
edm::ESGetToken< EcalTPGWeightIdMap, EcalTPGWeightIdMapRcd > tokenEcalTPGWeightIdMap_
Definition: EcalTPCondAnalyzer.h:80
MakerMacros.h
EcalTPGSlidingWindow
Definition: EcalTPGSlidingWindow.h:9
EcalTPGFineGrainTowerEE
Definition: EcalTPGFineGrainTowerEE.h:9
EcalTPGSpike.h
EcalTPGLutIdMap.h
EcalTPCondAnalyzer::printComment
void printComment() const
Definition: EcalTPCondAnalyzer.cc:248
EcalTPCondAnalyzer::endJob
void endJob() override
Definition: EcalTPCondAnalyzer.cc:107
EcalTPCondAnalyzer::beginJob
void beginJob() override
Definition: EcalTPCondAnalyzer.cc:54
EcalTPCondAnalyzer::printEcalTPGLutIdMap
void printEcalTPGLutIdMap(const EcalTPGLutIdMap *ecaltpgLut) const
Definition: EcalTPCondAnalyzer.cc:203
EcalTPGWeightIdMapRcd.h
EcalTPCondAnalyzer::~EcalTPCondAnalyzer
~EcalTPCondAnalyzer() override
Definition: EcalTPCondAnalyzer.cc:56
EcalTPCondAnalyzer::printWEIGHT
void printWEIGHT(const EcalTPGWeightIdMap *ecaltpgWeightMap) const
Definition: EcalTPCondAnalyzer.cc:177
EcalTPGSlidingWindowRcd.h
EcalTPGFineGrainEBGroupRcd.h
CaloGeometryRecord.h
EcalTPGLutIdMap
Definition: EcalTPGLutIdMap.h:10
EcalTPGWeightGroup.h
EcalTPCondAnalyzer::printSTRIP
void printSTRIP(const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGWeightGroup *ecaltpgWeightGroup, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE) const
Definition: EcalTPCondAnalyzer.cc:127
EcalTPGLutGroup.h
CaloSubdetectorGeometry.h
EcalTPCondAnalyzer::tokenEcalTPGLutGroup_
edm::ESGetToken< EcalTPGLutGroup, EcalTPGLutGroupRcd > tokenEcalTPGLutGroup_
Definition: EcalTPCondAnalyzer.h:86
edm::ParameterSet
Definition: ParameterSet.h:47
EcalTPCondAnalyzer::tokenEcalTPGFineGrainEBGroup_
edm::ESGetToken< EcalTPGFineGrainEBGroup, EcalTPGFineGrainEBGroupRcd > tokenEcalTPGFineGrainEBGroup_
Definition: EcalTPCondAnalyzer.h:87
Event.h
EcalTPGLinearizationConst.h
EcalTPGFineGrainEBGroup
Definition: EcalTPGFineGrainEBGroup.h:13
EcalTPCondAnalyzer::theBarrelGeometry_
const CaloSubdetectorGeometry * theBarrelGeometry_
Definition: EcalTPCondAnalyzer.h:92
EcalTPGFineGrainEBGroup.h
EcalTPCondAnalyzer
Definition: EcalTPCondAnalyzer.h:60
EcalTPCondAnalyzer::theEndcapGeometry_
const CaloSubdetectorGeometry * theEndcapGeometry_
Definition: EcalTPCondAnalyzer.h:91
EcalTPCondAnalyzer::tokenEcalTPGFineGrainTowerEE_
edm::ESGetToken< EcalTPGFineGrainTowerEE, EcalTPGFineGrainTowerEERcd > tokenEcalTPGFineGrainTowerEE_
Definition: EcalTPCondAnalyzer.h:89
EcalTPCondAnalyzer::printEcalTPGFineGrainEBIdMap
void printEcalTPGFineGrainEBIdMap(const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB) const
Definition: EcalTPCondAnalyzer.cc:190
EcalTPGPedestals.h
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< CaloSubdetectorGeometry, EcalEndcapGeometryRecord >
EcalTPGFineGrainEBIdMapRcd.h
EcalTPGFineGrainTowerEERcd.h
InputTag.h
EcalTPCondAnalyzer::tokenEcalTPGSpike_
edm::ESGetToken< EcalTPGSpike, EcalTPGSpikeRcd > tokenEcalTPGSpike_
Definition: EcalTPCondAnalyzer.h:88
EcalTPCondAnalyzer::tokenEcalTPGPedestals_
edm::ESGetToken< EcalTPGPedestals, EcalTPGPedestalsRcd > tokenEcalTPGPedestals_
Definition: EcalTPCondAnalyzer.h:79
EcalTPGPhysicsConst
Definition: EcalTPGPhysicsConst.h:9
EcalTPCondAnalyzer::endRun
void endRun(edm::Run const &, edm::EventSetup const &) override
Definition: EcalTPCondAnalyzer.cc:109
writedatasetfile.run
run
Definition: writedatasetfile.py:27
EcalTPGSlidingWindow.h
EcalTPCondAnalyzer::tokenEcalTPGPhysics_
edm::ESGetToken< EcalTPGPhysicsConst, EcalTPGPhysicsConstRcd > tokenEcalTPGPhysics_
Definition: EcalTPCondAnalyzer.h:77
EcalTPGLutIdMapRcd.h
EventSetup.h
EcalTPCondAnalyzer::EcalTPCondAnalyzer
EcalTPCondAnalyzer(const edm::ParameterSet &)
Definition: EcalTPCondAnalyzer.cc:29
EcalTPCondAnalyzer::tokenEcalTPGLinearization_
edm::ESGetToken< EcalTPGLinearizationConst, EcalTPGLinearizationConstRcd > tokenEcalTPGLinearization_
Definition: EcalTPCondAnalyzer.h:78
CaloSubdetectorGeometry
Definition: CaloSubdetectorGeometry.h:22
EcalTPCondAnalyzer::printTOWEREB
void printTOWEREB(const EcalTPGSpike *ecaltpgSpike, const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGLutGroup *ecaltpgLutGroup) const
Definition: EcalTPCondAnalyzer.cc:329
EcalTPGWeightGroupRcd.h
EcalTPGPhysicsConst.h
EcalTPGPedestalsRcd.h
EcalTPCondAnalyzer::getRecords
unsigned long long getRecords(edm::EventSetup const &setup)
Definition: EcalTPCondAnalyzer.cc:58
ParameterSet.h
EcalTPCondAnalyzer::tokenEcalTPGWeightGroup_
edm::ESGetToken< EcalTPGWeightGroup, EcalTPGWeightGroupRcd > tokenEcalTPGWeightGroup_
Definition: EcalTPCondAnalyzer.h:85
EcalTPGPhysicsConstRcd.h
edm::Event
Definition: Event.h:73
EcalTPCondAnalyzer::printCRYSTAL
void printCRYSTAL(const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin)
Definition: EcalTPCondAnalyzer.cc:216
EcalTPCondAnalyzer::tokenEcalTPGSlidingWindow_
edm::ESGetToken< EcalTPGSlidingWindow, EcalTPGSlidingWindowRcd > tokenEcalTPGSlidingWindow_
Definition: EcalTPCondAnalyzer.h:83
EcalTPCondAnalyzer::tokenBarrelGeom_
edm::ESGetToken< CaloSubdetectorGeometry, EcalBarrelGeometryRecord > tokenBarrelGeom_
Definition: EcalTPCondAnalyzer.h:76
EcalTPGWeightIdMap.h
EcalTPGFineGrainStripEERcd.h
EcalTPCondAnalyzer::cacheID_
unsigned long long cacheID_
Definition: EcalTPCondAnalyzer.h:73