CMS 3D CMS Logo

Functions
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 More...
 
double Mod (double phi)
 autoexplaining More...
 
double radiants (int degrees)
 DS def radiants. More...
 

Function Documentation

◆ degrees()

double degrees ( double  radiants)
inline

◆ Mod()

double Mod ( double  phi)
inline

autoexplaining

Definition at line 379 of file EcalEleCalibLooper.cc.

379  {
380  if (phi >= 360 && phi < 720)
381  return phi - 360;
382  if (phi >= 720)
383  return phi - 720;
384  return phi;
385 }

References PVValHelper::phi.

◆ radiants()

double radiants ( int  degrees)
inline

DS def radiants.

Definition at line 364 of file EcalEleCalibLooper.cc.

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

References degrees(), and M_PI.

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

degrees
double degrees(double radiants)
def degrees
Definition: EcalEleCalibLooper.cc:359
PVValHelper::phi
Definition: PVValidationHelpers.h:69
M_PI
#define M_PI
Definition: BXVectorInputProducer.cc:49
radiants
double radiants(int degrees)
DS def radiants.
Definition: EcalEleCalibLooper.cc:364