Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
&);
44
void
operator=
(
const
CalibCompare
&);
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
IO
General option file parser.
Definition:
IO.h:28
pftools::CalibCompare::options_
IO * options_
Definition:
CalibCompare.h:49
lumiQTWidget.t
tuple t
Definition:
lumiQTWidget.py:50
pftools::CalibrationTarget
CalibrationTarget
Definition:
CalibrationProvenance.h:16
pftools::CalibCompare::calibrateCalibratables
void calibrateCalibratables(TChain &sourceTree, const std::string &exercisefile)
Definition:
CalibCompare.cc:93
Calibrator.h
diffTreeTool.tree
tuple tree
Definition:
diffTreeTool.py:129
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
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
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
AlCaHLTBitMon_ParallelJobs.options
tuple options
Definition:
AlCaHLTBitMon_ParallelJobs.py:151
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::CalibCompare::~CalibCompare
virtual ~CalibCompare()
Definition:
CalibCompare.cc:25
pftools::IO
Definition:
IO.h:29
CalibrationProvenance.h
Calibratable.h
Erl_mlp.h
pftools::Erl_mlp
Definition:
Erl_mlp.h:9
pftools::CalibCompare::clusterCalibration_
PFClusterCalibration clusterCalibration_
Definition:
CalibCompare.h:54
pftools::CalibCompare::operator=
void operator=(const CalibCompare &)
Generated for CMSSW Reference Manual by
1.8.5