Main Page
Namespaces
Classes
Package Documentation
RecoParticleFlow
PFClusterTools
src
Calibrator.cc
Go to the documentation of this file.
1
#include "
RecoParticleFlow/PFClusterTools/interface/Calibrator.h
"
2
using namespace
pftools
;
3
4
//DetectorElement* Calibrator::offsetElement = new DetectorElement(OFFSET);
5
6
Calibrator::Calibrator
(){
7
8
}
9
10
Calibrator::~Calibrator
() {
11
}
12
13
void
Calibrator::addDetectorElement
(
DetectorElementPtr
const
de) {
14
//std::cout << "myDetecotElements has size: " << myDetectorElements.size() << "before addition.\n";
15
myDetectorElements
.push_back(de);
16
}
17
void
Calibrator::addParticleDeposit
(
ParticleDepositPtr
pd) {
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
//}
pftools::Calibrator::myParticleDeposits
std::vector< ParticleDepositPtr > myParticleDeposits
Definition:
Calibrator.h:61
funct::false
false
Definition:
Factorize.h:34
Calibrator.h
noexcept
#define noexcept
pftools::ParticleDepositPtr
boost::shared_ptr< ParticleDeposit > ParticleDepositPtr
Definition:
ParticleDeposit.h:101
pftools::Calibrator::Calibrator
Calibrator()
Definition:
Calibrator.cc:6
pftools::Calibrator::addParticleDeposit
void addParticleDeposit(ParticleDepositPtr pd)
Definition:
Calibrator.cc:17
pftools::DetectorElementPtr
boost::shared_ptr< DetectorElement > DetectorElementPtr
Definition:
DetectorElement.h:83
pftools
General option file parser.
Definition:
Calibratable.h:15
pftools::Calibrator::myDetectorElements
std::vector< DetectorElementPtr > myDetectorElements
Definition:
Calibrator.h:60
pftools::Calibrator::getCalibrationCoefficientsCore
virtual std::map< DetectorElementPtr, double > getCalibrationCoefficientsCore() noexcept(false)
Definition:
Calibrator.cc:21
pftools::Calibrator::~Calibrator
virtual ~Calibrator()
Definition:
Calibrator.cc:10
gather_cfg.cout
cout
Definition:
gather_cfg.py:145
pftools::Calibrator::addDetectorElement
void addDetectorElement(DetectorElementPtr const de)
Definition:
Calibrator.cc:13
Generated for CMSSW Reference Manual by
1.8.11