CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

double degrees ( double  radiants)
inline

def degrees

Definition at line 411 of file EcalEleCalibLooper.cc.

References M_PI.

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

412  {
413  return radiants * 180 * (1/M_PI) ;
414  }
#define M_PI
double radiants(int degrees)
DS def radiants.
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().

444  {
445  if (phi>=360 && phi<720) return phi-360;
446  if (phi>=720) return phi-720;
447  return phi;
448  }
Definition: DDAxes.h:10
double radiants ( int  degrees)
inline

DS def radiants.

Definition at line 421 of file EcalEleCalibLooper.cc.

References M_PI.

Referenced by EcalEleCalibLooper::giveLimit().

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