CMS 3D CMS Logo

Functions
PFEnergyCalibrationHF.cc File Reference
#include "RecoParticleFlow/PFClusterTools/interface/PFEnergyCalibrationHF.h"
#include <TMath.h>
#include <cmath>
#include <vector>
#include <TF1.h>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const PFEnergyCalibrationHF &calib)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const PFEnergyCalibrationHF calib 
)

Definition at line 92 of file PFEnergyCalibrationHF.cc.

92  {
93  if (!out)
94  return out;
95  out << "PFEnergyCalibrationHF -- " << endl;
96  int ii = 0;
97  for (std::vector<double>::const_iterator iteta = (calib.getcalibHF_eta_step()).begin();
98  iteta != (calib.getcalibHF_eta_step()).end();
99  ++iteta) {
100  //double currenteta = *iteta;
101  out << " i " << ii << ",";
102  out << "use " << calib.getcalibHF_use() << ",";
103  out << "currenteta " << calib.getcalibHF_eta_step()[ii] << ",";
104  out << "calibHF_a_EMonly_ " << calib.getcalibHF_a_EMonly()[ii] << ",";
105  out << "calibHF_b_HADonly_ " << calib.getcalibHF_b_HADonly()[ii] << ",";
106  out << "calibHF_a_EMHAD_ " << calib.getcalibHF_a_EMHAD()[ii] << ",";
107  out << "calibHF_b_EMHAD_ " << calib.getcalibHF_b_EMHAD()[ii] << ",";
108  out << endl;
109  ii++;
110  }
111 
112  return out;
113 }

References begin, end, cuy::ii, and MillePedeFileConverter_cfg::out.

end
#define end
Definition: vmac.h:39
calib
Definition: CalibElectron.h:12
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
cuy.ii
ii
Definition: cuy.py:590
begin
#define begin
Definition: vmac.h:32