test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
()
throw
(
22
PFToolsException
&) {
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
//}
pftools::Calibrator::myParticleDeposits
std::vector< ParticleDepositPtr > myParticleDeposits
Definition:
Calibrator.h:62
Calibrator.h
pftools::ParticleDepositPtr
boost::shared_ptr< ParticleDeposit > ParticleDepositPtr
Definition:
ParticleDeposit.h:103
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::PFToolsException
General purpose exception class for use by classes in the pftools namespace.
Definition:
PFToolsException.h:14
pftools::Calibrator::myDetectorElements
std::vector< DetectorElementPtr > myDetectorElements
Definition:
Calibrator.h:61
pftools::Calibrator::getCalibrationCoefficientsCore
virtual std::map< DetectorElementPtr, double > getCalibrationCoefficientsCore()
Definition:
Calibrator.cc:21
pftools::Calibrator::~Calibrator
virtual ~Calibrator()
Definition:
Calibrator.cc:10
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:145
pftools::Calibrator::addDetectorElement
void addDetectorElement(DetectorElementPtr const de)
Definition:
Calibrator.cc:13
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5