Main Page
Namespaces
Classes
Package Documentation
RecoParticleFlow
PFClusterTools
interface
CalibCompare.h
Go to the documentation of this file.
1
#ifndef CALIBCOMPARE_H_
2
#define CALIBCOMPARE_H_
3
4
#include "
DataFormats/ParticleFlowReco/interface/Calibratable.h
"
5
#include "
RecoParticleFlow/PFClusterTools/interface/Calibrator.h
"
6
#include "
RecoParticleFlow/PFClusterTools/interface/DetectorElement.h
"
7
#include "
DataFormats/ParticleFlowReco/interface/CalibrationProvenance.h
"
8
#include "
RecoParticleFlow/PFClusterTools/interface/SpaceManager.h
"
9
#include "
RecoParticleFlow/PFClusterTools/interface/PFClusterCalibration.h
"
10
#include "
RecoParticleFlow/PFClusterTools/interface/Erl_mlp.h
"
11
12
#include <string>
13
#include <vector>
14
#include <TFile.h>
15
#include <TTree.h>
16
#include <TChain.h>
17
#include <fstream>
18
19
20
namespace
pftools
{
21
class
IO;
22
23
class
CalibCompare
{
24
public
:
25
26
CalibCompare
(
IO
*
options
);
27
28
virtual
~CalibCompare
();
29
30
void
calibrateCalibratables
(TChain& sourceTree,
31
const
std::string
& exercisefile);
32
33
34
void
setTarget
(
CalibrationTarget
t
) {
35
target_
=
t
;
36
}
37
38
39
void
evaluateCalibrations
(TTree&
tree
,
pftools::Calibratable
* calibrated,
const
std::vector<pftools::Calibratable>& calibVec);
40
41
private
:
42
43
CalibCompare
(
const
CalibCompare
&) =
delete
;
44
void
operator=
(
const
CalibCompare
&) =
delete
;
45
// double lowE_, highE_, lowEta_, highEta_, lowPhi_, highPhi_;
46
// unsigned divE_, divEta_, divPhi_;
47
bool
withOffset_
;
48
CalibrationTarget
target_
;
49
IO
*
options_
;
50
unsigned
debug_
;
51
52
double
mlpOffset_
;
53
double
mlpSlope_
;
54
PFClusterCalibration
clusterCalibration_
;
55
Erl_mlp
erlCalibration_
;
56
57
};
58
}
59
60
#endif
/*CALIBCOMPARE_H_*/
SpaceManager.h
pftools::Calibratable
Wraps essential single particle calibration data ready for export to a Root file. ...
Definition:
Calibratable.h:122
pftools::CalibCompare::options_
IO * options_
Definition:
CalibCompare.h:49
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
pftools::CalibrationTarget
CalibrationTarget
Definition:
CalibrationProvenance.h:16
pftools::CalibCompare::calibrateCalibratables
void calibrateCalibratables(TChain &sourceTree, const std::string &exercisefile)
Definition:
CalibCompare.cc:93
options
Definition:
options.py:1
Calibrator.h
pftools::CalibCompare::erlCalibration_
Erl_mlp erlCalibration_
Definition:
CalibCompare.h:55
pftools::CalibCompare::setTarget
void setTarget(CalibrationTarget t)
Definition:
CalibCompare.h:34
pftools::CalibCompare::CalibCompare
CalibCompare(IO *options)
Definition:
CalibCompare.cc:28
pftools::CalibCompare::withOffset_
bool withOffset_
Definition:
CalibCompare.h:47
pftools::CalibCompare::evaluateCalibrations
void evaluateCalibrations(TTree &tree, pftools::Calibratable *calibrated, const std::vector< pftools::Calibratable > &calibVec)
Definition:
CalibCompare.cc:125
pftools::CalibCompare::mlpSlope_
double mlpSlope_
Definition:
CalibCompare.h:53
pftools::CalibCompare
Definition:
CalibCompare.h:23
pftools::CalibCompare::mlpOffset_
double mlpOffset_
Definition:
CalibCompare.h:52
DetectorElement.h
pftools::CalibCompare::target_
CalibrationTarget target_
Definition:
CalibCompare.h:48
PFClusterCalibration.h
pftools::PFClusterCalibration
Definition:
PFClusterCalibration.h:40
pftools::CalibCompare::debug_
unsigned debug_
Definition:
CalibCompare.h:50
pftools
General option file parser.
Definition:
Calibratable.h:15
pftools::CalibCompare::~CalibCompare
virtual ~CalibCompare()
Definition:
CalibCompare.cc:25
pftools::CalibCompare::operator=
void operator=(const CalibCompare &)=delete
pftools::IO
Definition:
IO.h:29
CalibrationProvenance.h
Calibratable.h
Erl_mlp.h
lumiQTWidget.t
t
Definition:
lumiQTWidget.py:50
tree
Definition:
tree.py:1
pftools::Erl_mlp
Definition:
Erl_mlp.h:9
pftools::CalibCompare::clusterCalibration_
PFClusterCalibration clusterCalibration_
Definition:
CalibCompare.h:54
Generated for CMSSW Reference Manual by
1.8.11