CMS 3D CMS Logo

PFEnergyCalibration.cc File Reference

#include "RecoParticleFlow/PFClusterTools/interface/PFEnergyCalibration.h"
#include <TMath.h>
#include <math.h>
#include <vector>

Go to the source code of this file.

Functions

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


Function Documentation

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

Definition at line 156 of file PFEnergyCalibration.cc.

References lat::endl(), PFEnergyCalibration::paramECAL_offset_, PFEnergyCalibration::paramECAL_slope_, PFEnergyCalibration::paramECALplusHCAL_offset_, PFEnergyCalibration::paramECALplusHCAL_slopeECAL_, PFEnergyCalibration::paramECALplusHCAL_slopeHCAL_, PFEnergyCalibration::paramHCAL_damping_, PFEnergyCalibration::paramHCAL_offset_, and PFEnergyCalibration::paramHCAL_slope_.

00157                                                            {
00158 
00159   if(!out ) return out;
00160 
00161   out<<"PFEnergyCalibration -- "<<endl;
00162   out<<"ecal      = "<<calib.paramECAL_slope_
00163      <<" x E + "<< calib.paramECAL_offset_<<endl;
00164   out<<"hcal only = <add formula>"
00165      <<calib.paramHCAL_slope_<<","
00166      <<calib.paramHCAL_offset_<<","
00167      <<calib.paramHCAL_damping_<<endl;
00168   out<<"ecal+hcal = "<<calib.paramECALplusHCAL_slopeECAL_<<" x E_e + "
00169      <<calib.paramECALplusHCAL_slopeHCAL_<<" x E_h + "
00170      <<calib.paramECALplusHCAL_offset_<<endl;
00171 
00172   return out;
00173 }


Generated on Tue Jun 9 17:55:30 2009 for CMSSW by  doxygen 1.5.4