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() 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
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
tuple cout
Definition: gather_cfg.py:145
volatile std::atomic< bool > shutdown_flag false
void addDetectorElement(DetectorElementPtr const de)
Definition: Calibrator.cc:13