CMS 3D CMS Logo

SiStripGain.h

Go to the documentation of this file.
00001 #ifndef SiStripObjects_SiStripGain_h
00002 #define SiStripObjects_SiStripGain_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     SiStripObjects
00006 // Class  :     SiStripGain
00007 // 
00016 //
00017 // Original Author:  gbruno
00018 //         Created:  Wed Mar 22 12:24:20 CET 2006
00019 // $Id: SiStripGain.h,v 1.2 2007/05/10 22:56:24 gbruno Exp $
00020 //
00021 
00022 #include "CondFormats/SiStripObjects/interface/SiStripApvGain.h"
00023 
00024 
00025 class SiStripGain
00026 {
00027 public:
00028   SiStripGain();
00029   virtual ~SiStripGain();
00030   SiStripGain(const SiStripApvGain &, double factor);
00031   
00032   // getters
00033   const SiStripApvGain::Range getRange(const uint32_t& detID) const;
00034   
00035   float getStripGain(const uint16_t& strip, const SiStripApvGain::Range& range) const;
00036   float getApvGain(const uint16_t& apv, const SiStripApvGain::Range& range) const;
00037   void getDetIds(std::vector<uint32_t>& DetIds_) const;
00038 
00039   private:
00040 
00041     SiStripGain(const SiStripGain&); // stop default
00042     const SiStripGain& operator=(const SiStripGain&); // stop default
00043 
00044     // ---------- member data --------------------------------
00045 
00046     const SiStripApvGain * apvgain_;
00047     double norm_;
00048 
00049 };
00050 
00051 #endif

Generated on Tue Jun 9 17:25:26 2009 for CMSSW by  doxygen 1.5.4