CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // $Id: EcalTPCondAnalyzer.h,v 1.2 2009/10/28 00:09:30 ebecheva Exp $
15 //
16 //
17 
18 
19 // system include files
22 
26 
29 
42 
44 
45 #include <vector>
46 #include <string>
47 
48 //
49 // class declaration
50 //
51 
53  public:
54  explicit EcalTPCondAnalyzer(const edm::ParameterSet&);
56 
57 
58  virtual void analyze(const edm::Event&, const edm::EventSetup&);
59  virtual void beginJob();
60  void beginRun(const edm::Run & run, const edm::EventSetup & es);
61  virtual void endJob();
62 
63  private:
64 
65  unsigned long long getRecords(edm::EventSetup const& setup);
66  unsigned long long cacheID_;
67 
70 
71  void printComment() const;
73  void printCRYSTAL(const EcalTPGPedestals * ecaltpPed, const EcalTPGLinearizationConst * ecaltpLin ) ;
74  void printSTRIP(const EcalTPGSlidingWindow *ecaltpgSlidW,const EcalTPGWeightGroup *ecaltpgWeightGroup,const EcalTPGFineGrainStripEE * ecaltpgFgStripEE) const;
75  void printWEIGHT(const EcalTPGWeightIdMap * ecaltpgWeightMap) const ;
76  void printTOWEREB(const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup,const EcalTPGLutGroup *ecaltpgLutGroup) const;
77  void printEcalTPGLutIdMap(const EcalTPGLutIdMap *ecaltpgLut) const;
78  void printEcalTPGFineGrainEBIdMap(const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB) const ;
79  void printTOWEREE(const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE,const EcalTPGLutGroup *ecaltpgLutGroup) const ;
80 };
81 
void printEcalTPGLutIdMap(const EcalTPGLutIdMap *ecaltpgLut) const
const CaloSubdetectorGeometry * theBarrelGeometry_
const CaloSubdetectorGeometry * theEndcapGeometry_
unsigned long long cacheID_
void printTOWEREB(const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGLutGroup *ecaltpgLutGroup) const
virtual void beginJob()
unsigned long long getRecords(edm::EventSetup const &setup)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
void printSTRIP(const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGWeightGroup *ecaltpgWeightGroup, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE) const
EcalTPCondAnalyzer(const edm::ParameterSet &)
void printWEIGHT(const EcalTPGWeightIdMap *ecaltpgWeightMap) const
void printEcalTPGFineGrainEBIdMap(const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB) const
void printComment() const
void printTOWEREE(const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE, const EcalTPGLutGroup *ecaltpgLutGroup) const
void printCRYSTAL(const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin)
void beginRun(const edm::Run &run, const edm::EventSetup &es)
void printEcalTPGPhysicsConst(const EcalTPGPhysicsConst *) const
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
Definition: Run.h:32