CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/Calibration/EcalCalibAlgos/src/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 "RecoEcal/EgammaCoreTools/interface/EcalClusterTools.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 "Calibration/EcalCalibAlgos/interface/MatrixFillMap.h"
#include "Calibration/EcalCalibAlgos/interface/ClusterFillMap.h"
#include "TH1.h"
#include "TH2.h"
#include "TFile.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 411 of file EcalEleCalibLooper.cc.

References M_PI.

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

 {
  return radiants * 180 * (1/M_PI) ;
 }
double Mod ( double  phi) [inline]

autoexplaining

Definition at line 443 of file EcalEleCalibLooper.cc.

References phi.

Referenced by ClusterSummary::ModuleSelection::IsPixelSelected(), and ClusterSummary::ModuleSelection::IsStripSelected().

 {
  if (phi>=360 && phi<720) return phi-360;
  if (phi>=720) return phi-720;
  return phi;
 } 
double radiants ( int  degrees) [inline]

DS def radiants.

Definition at line 421 of file EcalEleCalibLooper.cc.

References M_PI.

Referenced by EcalEleCalibLooper::giveLimit().

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