CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
EcalEleCalibLooper.cc File Reference
#include <memory>
#include <cmath>
#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/CaloGeometry/interface/CaloCellGeometry.h"
#include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.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 More...
 
double Mod (double phi)
 autoexplaining More...
 
double radiants (int degrees)
 DS def radiants. More...
 

Function Documentation

double degrees ( double  radiants)
inline

def degrees

Definition at line 357 of file EcalEleCalibLooper.cc.

References M_PI.

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

357 { return radiants * 180 * (1 / M_PI); }
#define M_PI
double radiants(int degrees)
DS def radiants.
double Mod ( double  phi)
inline

autoexplaining

Definition at line 377 of file EcalEleCalibLooper.cc.

References PVValHelper::phi.

377  {
378  if (phi >= 360 && phi < 720)
379  return phi - 360;
380  if (phi >= 720)
381  return phi - 720;
382  return phi;
383 }
double radiants ( int  degrees)
inline

DS def radiants.

Definition at line 362 of file EcalEleCalibLooper.cc.

References M_PI.

Referenced by EcalEleCalibLooper::giveLimit().

362 { return degrees * M_PI * (1 / 180); }
double degrees(double radiants)
def degrees
#define M_PI