CMS 3D CMS Logo

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

◆ degrees()

double degrees ( double  radiants)
inline

def degrees

Definition at line 357 of file EcalEleCalibLooper.cc.

References M_PI, and radiants().

Referenced by angle_units::operators::convertDegToRad(), EcalEleCalibLooper::EEregionCheck(), EcalEleCalibLooper::EERegionId(), EcalEndcapGeometry::getClosestBarrelCells(), EcalEleCalibLooper::giveLimit(), and radiants().

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

◆ Mod()

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 }

◆ radiants()

double radiants ( int  degrees)
inline

DS def radiants.

Definition at line 362 of file EcalEleCalibLooper.cc.

References degrees(), and M_PI.

Referenced by degrees(), and EcalEleCalibLooper::giveLimit().

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