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 };
edm::ESGetToken< EcalTPGPhysicsConst, EcalTPGPhysicsConstRcd > tokenEcalTPGPhysics_
const CaloSubdetectorGeometry * theBarrelGeometry_
const CaloSubdetectorGeometry * theEndcapGeometry_
edm::ESGetToken< EcalTPGWeightGroup, EcalTPGWeightGroupRcd > tokenEcalTPGWeightGroup_
edm::ESGetToken< CaloSubdetectorGeometry, EcalBarrelGeometryRecord > tokenBarrelGeom_
void printEcalTPGFineGrainEBIdMap(const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB) const
edm::ESGetToken< EcalTPGSpike, EcalTPGSpikeRcd > tokenEcalTPGSpike_
edm::ESGetToken< EcalTPGPedestals, EcalTPGPedestalsRcd > tokenEcalTPGPedestals_
edm::ESGetToken< EcalTPGFineGrainTowerEE, EcalTPGFineGrainTowerEERcd > tokenEcalTPGFineGrainTowerEE_
unsigned long long cacheID_
void beginJob() override
void endJob() override
void printTOWEREB(const EcalTPGSpike *ecaltpgSpike, const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGLutGroup *ecaltpgLutGroup) const
~EcalTPCondAnalyzer() override
void printTOWEREE(const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE, const EcalTPGLutGroup *ecaltpgLutGroup) const
unsigned long long getRecords(edm::EventSetup const &setup)
void endRun(edm::Run const &, edm::EventSetup const &) override
edm::ESGetToken< EcalTPGLutGroup, EcalTPGLutGroupRcd > tokenEcalTPGLutGroup_
void printSTRIP(const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGWeightGroup *ecaltpgWeightGroup, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE) const
EcalTPCondAnalyzer(const edm::ParameterSet &)
edm::ESGetToken< EcalTPGSlidingWindow, EcalTPGSlidingWindowRcd > tokenEcalTPGSlidingWindow_
void printEcalTPGLutIdMap(const EcalTPGLutIdMap *ecaltpgLut) const
void printWEIGHT(const EcalTPGWeightIdMap *ecaltpgWeightMap) const
edm::ESGetToken< EcalTPGFineGrainEBIdMap, EcalTPGFineGrainEBIdMapRcd > tokenEcalTPGFineGrainEBIdMap_
void beginRun(const edm::Run &run, const edm::EventSetup &evtSetup) override
edm::ESGetToken< EcalTPGLinearizationConst, EcalTPGLinearizationConstRcd > tokenEcalTPGLinearization_
void printCRYSTAL(const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin)
edm::ESGetToken< EcalTPGFineGrainStripEE, EcalTPGFineGrainStripEERcd > tokenEcalTPGFineGrainStripEE_
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::ESGetToken< EcalTPGWeightIdMap, EcalTPGWeightIdMapRcd > tokenEcalTPGWeightIdMap_
edm::ESGetToken< EcalTPGLutIdMap, EcalTPGLutIdMapRcd > tokenEcalTPGLutIdMap_
edm::ESGetToken< CaloSubdetectorGeometry, EcalEndcapGeometryRecord > tokenEndcapGeom_
void printEcalTPGPhysicsConst(const EcalTPGPhysicsConst *) const
Definition: Run.h:45
edm::ESGetToken< EcalTPGFineGrainEBGroup, EcalTPGFineGrainEBGroupRcd > tokenEcalTPGFineGrainEBGroup_