CMS 3D CMS Logo

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() noexcept(false) {
22 
23  std::cout << __PRETTY_FUNCTION__
24  << ": Not implemented in default Calibrator class!\n";
25  std::cout << "\tWARNING: returning empty map.\n";
26  std::map<DetectorElementPtr, double> answers;
27  return answers;
28 }
29 
30 //DetectorElementPtr Calibrator::getOffsetElementCore() {
31 // DetectorElementPtr el(offsetElement);
32 // return el;
33 //}
std::vector< ParticleDepositPtr > myParticleDeposits
Definition: Calibrator.h:61
#define noexcept
boost::shared_ptr< ParticleDeposit > ParticleDepositPtr
void addParticleDeposit(ParticleDepositPtr pd)
Definition: Calibrator.cc:17
boost::shared_ptr< DetectorElement > DetectorElementPtr
General option file parser.
Definition: Calibratable.h:15
std::vector< DetectorElementPtr > myDetectorElements
Definition: Calibrator.h:60
virtual std::map< DetectorElementPtr, double > getCalibrationCoefficientsCore() noexcept(false)
Definition: Calibrator.cc:21
virtual ~Calibrator()
Definition: Calibrator.cc:10
void addDetectorElement(DetectorElementPtr const de)
Definition: Calibrator.cc:13