#include <CondFormats/EcalObjects/interface/EcalMGPAGainRatio.h>
Public Member Functions | |
EcalMGPAGainRatio (const EcalMGPAGainRatio &ratio) | |
EcalMGPAGainRatio () | |
Author: Shahram Rahatlou, University of Rome & INFN Created: 22 Feb 2006
| |
float | gain12Over6 () const |
float | gain6Over1 () const |
EcalMGPAGainRatio & | operator= (const EcalMGPAGainRatio &rhs) |
void | print (std::ostream &s) const |
void | setGain12Over6 (const float &g) |
void | setGain6Over1 (const float &g) |
~EcalMGPAGainRatio () | |
Private Attributes | |
float | gain12Over6_ |
float | gain6Over1_ |
Definition at line 12 of file EcalMGPAGainRatio.h.
EcalMGPAGainRatio::EcalMGPAGainRatio | ( | ) |
Author: Shahram Rahatlou, University of Rome & INFN Created: 22 Feb 2006
Definition at line 8 of file EcalMGPAGainRatio.cc.
References gain12Over6_, and gain6Over1_.
00008 { 00009 gain12Over6_ = 2.; 00010 gain6Over1_ = 6.; 00011 }
EcalMGPAGainRatio::EcalMGPAGainRatio | ( | const EcalMGPAGainRatio & | ratio | ) |
Definition at line 13 of file EcalMGPAGainRatio.cc.
References gain12Over6_, and gain6Over1_.
00013 { 00014 gain12Over6_ = ratio.gain12Over6_; 00015 gain6Over1_ = ratio.gain6Over1_; 00016 }
EcalMGPAGainRatio::~EcalMGPAGainRatio | ( | ) |
float EcalMGPAGainRatio::gain12Over6 | ( | ) | const [inline] |
Definition at line 18 of file EcalMGPAGainRatio.h.
References gain12Over6_.
Referenced by EcalTrivialObjectAnalyzer::analyze(), GlobalDigisProducer::beginJob(), GlobalDigisAnalyzer::beginJob(), EcalMixingModuleValidation::checkCalibrations(), EcalEndcapDigisValidation::checkCalibrations(), EcalDigisValidation::checkCalibrations(), EcalBarrelDigisValidation::checkCalibrations(), EcalTBDigiProducer::checkCalibrations(), EcalDigiProducer::checkCalibrations(), EcalTBWeightUncalibRecHitProducer::produce(), EcalFixedAlphaBetaFitUncalibRecHitProducer::produce(), EcalAnalFitUncalibRecHitProducer::produce(), and EcalUnpackerWorker::work().
00018 { return gain12Over6_; }
float EcalMGPAGainRatio::gain6Over1 | ( | ) | const [inline] |
Definition at line 19 of file EcalMGPAGainRatio.h.
References gain6Over1_.
Referenced by EcalTrivialObjectAnalyzer::analyze(), GlobalDigisProducer::beginJob(), GlobalDigisAnalyzer::beginJob(), EcalMixingModuleValidation::checkCalibrations(), EcalEndcapDigisValidation::checkCalibrations(), EcalDigisValidation::checkCalibrations(), EcalBarrelDigisValidation::checkCalibrations(), EcalTBDigiProducer::checkCalibrations(), EcalDigiProducer::checkCalibrations(), EcalTBWeightUncalibRecHitProducer::produce(), EcalFixedAlphaBetaFitUncalibRecHitProducer::produce(), EcalAnalFitUncalibRecHitProducer::produce(), and EcalUnpackerWorker::work().
00019 { return gain6Over1_; }
EcalMGPAGainRatio & EcalMGPAGainRatio::operator= | ( | const EcalMGPAGainRatio & | rhs | ) |
Definition at line 22 of file EcalMGPAGainRatio.cc.
References gain12Over6_, and gain6Over1_.
00022 { 00023 gain12Over6_ = rhs.gain12Over6_; 00024 gain6Over1_ = rhs.gain6Over1_; 00025 return *this; 00026 }
void EcalMGPAGainRatio::print | ( | std::ostream & | s | ) | const [inline] |
Definition at line 24 of file EcalMGPAGainRatio.h.
References gain12Over6_, and gain6Over1_.
00024 { s << "gain 12/6: " << gain12Over6_ << " gain 6/1: " << gain6Over1_; }
void EcalMGPAGainRatio::setGain12Over6 | ( | const float & | g | ) | [inline] |
Definition at line 21 of file EcalMGPAGainRatio.h.
References gain12Over6_.
Referenced by EcalTestDevDB::generateEcalGainRatios(), and StoreEcalCondition::readEcalGainRatiosFromFile().
00021 { gain12Over6_ = g; }
void EcalMGPAGainRatio::setGain6Over1 | ( | const float & | g | ) | [inline] |
Definition at line 22 of file EcalMGPAGainRatio.h.
References gain6Over1_.
Referenced by EcalTestDevDB::generateEcalGainRatios(), and StoreEcalCondition::readEcalGainRatiosFromFile().
00022 { gain6Over1_ = g; }
float EcalMGPAGainRatio::gain12Over6_ [private] |
Definition at line 29 of file EcalMGPAGainRatio.h.
Referenced by EcalMGPAGainRatio(), gain12Over6(), operator=(), print(), and setGain12Over6().
float EcalMGPAGainRatio::gain6Over1_ [private] |
Definition at line 30 of file EcalMGPAGainRatio.h.
Referenced by EcalMGPAGainRatio(), gain6Over1(), operator=(), print(), and setGain6Over1().