CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
PFEnergyCalibrationHF.cc File Reference
#include "RecoParticleFlow/PFClusterTools/interface/PFEnergyCalibrationHF.h"
#include <TMath.h>
#include <math.h>
#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

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

Definition at line 110 of file PFEnergyCalibrationHF.cc.

References begin, end, PFEnergyCalibrationHF::getcalibHF_a_EMHAD(), PFEnergyCalibrationHF::getcalibHF_a_EMonly(), PFEnergyCalibrationHF::getcalibHF_b_EMHAD(), PFEnergyCalibrationHF::getcalibHF_b_HADonly(), PFEnergyCalibrationHF::getcalibHF_eta_step(), PFEnergyCalibrationHF::getcalibHF_use(), cuy::ii, and dbtoconf::out.

111  {
112 
113 
114  if(!out ) return out;
115  out<<"PFEnergyCalibrationHF -- "<<endl;
116  int ii = 0;
117  for(std::vector<double>::const_iterator iteta =(calib.getcalibHF_eta_step()).begin();
118  iteta !=(calib.getcalibHF_eta_step()).end() ;++iteta){
119  //double currenteta = *iteta;
120  out<<" i "<<ii<<",";
121  out<<"use "<<calib.getcalibHF_use()<<",";
122  out<<"currenteta "<<calib.getcalibHF_eta_step()[ii]<<",";
123  out<<"calibHF_a_EMonly_ "<<calib.getcalibHF_a_EMonly()[ii]<<",";
124  out<<"calibHF_b_HADonly_ "<<calib.getcalibHF_b_HADonly()[ii]<<",";
125  out<<"calibHF_a_EMHAD_ "<<calib.getcalibHF_a_EMHAD()[ii]<<",";
126  out<<"calibHF_b_EMHAD_ "<<calib.getcalibHF_b_EMHAD()[ii]<<",";
127  out<<endl;
128  ii++;
129  }
130 
131 
132 
133  return out;
134 }
const std::vector< double > & getcalibHF_a_EMonly() const
const std::vector< double > & getcalibHF_eta_step() const
const std::vector< double > & getcalibHF_b_EMHAD() const
int ii
Definition: cuy.py:588
const std::vector< double > & getcalibHF_a_EMHAD() const
#define end
Definition: vmac.h:37
const bool & getcalibHF_use() const
tuple out
Definition: dbtoconf.py:99
#define begin
Definition: vmac.h:30
const std::vector< double > & getcalibHF_b_HADonly() const