CMS 3D CMS Logo

EcalEleCalibLooper.cc File Reference

#include <memory>
#include <cmath>
#include <iostream>
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "Calibration/EcalCalibAlgos/interface/IMACalibBlock.h"
#include "Calibration/EcalCalibAlgos/interface/L3CalibBlock.h"
#include "Calibration/EcalCalibAlgos/interface/EcalEleCalibLooper.h"
#include "DataFormats/Common/interface/Handle.h"
#include "DataFormats/EgammaReco/interface/ClusterShape.h"
#include "Geometry/Records/interface/CaloGeometryRecord.h"
#include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
#include "Geometry/CaloGeometry/interface/CaloGeometry.h"
#include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
#include "CondFormats/DataRecord/interface/EcalIntercalibConstantsRcd.h"
#include "Calibration/Tools/interface/calibXMLwriter.h"
#include "CalibCalorimetry/CaloMiscalibTools/interface/CaloMiscalibTools.h"
#include "DataFormats/EgammaCandidates/interface/GsfElectronFwd.h"
#include "DataFormats/EgammaReco/interface/SuperCluster.h"
#include "DataFormats/EgammaReco/interface/BasicCluster.h"
#include "DataFormats/EgammaReco/interface/ClusterShapeFwd.h"
#include "TH1.h"
#include "TH2.h"
#include "TFile.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

Functions

double degrees (double radiants)
 def degrees
double Mod (double phi)
 autoexplaining
double radiants (int degrees)
 DS def radiants.


Function Documentation

double degrees ( double  radiants  )  [inline]

def degrees

Definition at line 423 of file EcalEleCalibLooper.cc.

Referenced by EcalEleCalibLooper::EEregionCheck(), EcalEleCalibLooper::EERegionId(), and EcalEndcapGeometry::getClosestBarrelCells().

00424  {
00425   return radiants * 180 * (1/M_PI) ;
00426  }

double Mod ( double  phi  )  [inline]

autoexplaining

Definition at line 455 of file EcalEleCalibLooper.cc.

00456  {
00457   if (phi>=360 && phi<720) return phi-360;
00458   if (phi>=720) return phi-720;
00459   return phi;
00460  } 

double radiants ( int  degrees  )  [inline]

DS def radiants.

Definition at line 433 of file EcalEleCalibLooper.cc.

Referenced by EcalEleCalibLooper::giveLimit().

00434  {
00435    return degrees * M_PI * (1 / 180) ;  
00436  }    


Generated on Tue Jun 9 17:51:05 2009 for CMSSW by  doxygen 1.5.4