CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_8_patch3/src/RecoParticleFlow/PFClusterTools/src/Calibrator.cc

Go to the documentation of this file.
00001 #include "RecoParticleFlow/PFClusterTools/interface/Calibrator.h"
00002 using namespace pftools;
00003 
00004 //DetectorElement* Calibrator::offsetElement = new DetectorElement(OFFSET);
00005 
00006 Calibrator::Calibrator(){
00007 
00008 }
00009 
00010 Calibrator::~Calibrator() {
00011 }
00012 
00013 void Calibrator::addDetectorElement(DetectorElementPtr const de) {
00014         //std::cout << "myDetecotElements has size: " << myDetectorElements.size() << "before addition.\n";
00015         myDetectorElements.push_back(de);
00016 }
00017 void Calibrator::addParticleDeposit(ParticleDepositPtr pd) {
00018         myParticleDeposits.push_back(pd);
00019 }
00020 
00021 std::map<DetectorElementPtr, double> Calibrator::getCalibrationCoefficientsCore() throw(
00022                 PFToolsException&) {
00023 
00024         std::cout << __PRETTY_FUNCTION__
00025                         << ": Not implemented in default Calibrator class!\n";
00026         std::cout << "\tWARNING: returning empty map.\n";
00027         std::map<DetectorElementPtr, double> answers;
00028         return answers;
00029 }
00030 
00031 //DetectorElementPtr Calibrator::getOffsetElementCore()  {
00032 //      DetectorElementPtr el(offsetElement);
00033 //      return el;
00034 //}