CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/RecoParticleFlow/PFClusterTools/src/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(), and dbtoconf::out.

                                                             {


  if(!out ) return out;
  out<<"PFEnergyCalibrationHF -- "<<endl;
  int ii = 0;
  for(std::vector<double>::const_iterator iteta =(calib.getcalibHF_eta_step()).begin(); 
      iteta !=(calib.getcalibHF_eta_step()).end() ;++iteta){
    //double currenteta = *iteta;
    out<<" i "<<ii<<",";
    out<<"use "<<calib.getcalibHF_use()<<",";
    out<<"currenteta "<<calib.getcalibHF_eta_step()[ii]<<",";
    out<<"calibHF_a_EMonly_ "<<calib.getcalibHF_a_EMonly()[ii]<<",";
    out<<"calibHF_b_HADonly_ "<<calib.getcalibHF_b_HADonly()[ii]<<",";
    out<<"calibHF_a_EMHAD_ "<<calib.getcalibHF_a_EMHAD()[ii]<<",";
    out<<"calibHF_b_EMHAD_ "<<calib.getcalibHF_b_EMHAD()[ii]<<",";
    out<<endl;
    ii++;
  }
  
  

  return out;
}