test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Calibrator.cc
Go to the documentation of this file.
2 using namespace pftools;
3 
4 //DetectorElement* Calibrator::offsetElement = new DetectorElement(OFFSET);
5 
7 
8 }
9 
11 }
12 
14  //std::cout << "myDetecotElements has size: " << myDetectorElements.size() << "before addition.\n";
15  myDetectorElements.push_back(de);
16 }
18  myParticleDeposits.push_back(pd);
19 }
20 
21 std::map<DetectorElementPtr, double> Calibrator::getCalibrationCoefficientsCore() throw(
23 
24  std::cout << __PRETTY_FUNCTION__
25  << ": Not implemented in default Calibrator class!\n";
26  std::cout << "\tWARNING: returning empty map.\n";
27  std::map<DetectorElementPtr, double> answers;
28  return answers;
29 }
30 
31 //DetectorElementPtr Calibrator::getOffsetElementCore() {
32 // DetectorElementPtr el(offsetElement);
33 // return el;
34 //}
std::vector< ParticleDepositPtr > myParticleDeposits
Definition: Calibrator.h:62
boost::shared_ptr< ParticleDeposit > ParticleDepositPtr
void addParticleDeposit(ParticleDepositPtr pd)
Definition: Calibrator.cc:17
boost::shared_ptr< DetectorElement > DetectorElementPtr
General purpose exception class for use by classes in the pftools namespace.
std::vector< DetectorElementPtr > myDetectorElements
Definition: Calibrator.h:61
virtual std::map< DetectorElementPtr, double > getCalibrationCoefficientsCore()
Definition: Calibrator.cc:21
virtual ~Calibrator()
Definition: Calibrator.cc:10
tuple cout
Definition: gather_cfg.py:145
void addDetectorElement(DetectorElementPtr const de)
Definition: Calibrator.cc:13