Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Calibration
IsolatedParticles
interface
DetIdFromEtaPhi.h
Go to the documentation of this file.
1
#ifndef CalibrationIsolatedParticleseCDetIdFromEtaPhi_h
2
#define CalibrationIsolatedParticleseCDetIdFromEtaPhi_h
3
4
#include <cmath>
5
6
#include "
DataFormats/DetId/interface/DetId.h
"
7
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
8
#include "
Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h
"
9
10
namespace
spr{
11
12
// Returns the DetId from eta, phi values in ECAL and HCAL
13
const
DetId
findDetIdECAL
(
const
CaloGeometry
* geo,
double
eta
,
double
phi
,
bool
debug
=
false
) ;
14
const
DetId
findDetIdHCAL
(
const
CaloGeometry
* geo,
double
eta
,
double
phi
,
bool
debug
=
false
) ;
15
const
DetId
findDetIdCalo
(
const
CaloSubdetectorGeometry
* geo,
double
theta
,
double
phi
,
double
radius
,
bool
debug
=
false
) ;
16
17
}
18
#endif
spr::findDetIdCalo
const DetId findDetIdCalo(const CaloSubdetectorGeometry *geo, double theta, double phi, double radius, bool debug=false)
Definition:
DetIdFromEtaPhi.cc:37
CaloSubdetectorGeometry
Definition:
CaloSubdetectorGeometry.h:24
theta
Geom::Theta< T > theta() const
Definition:
Basic3DVectorLD.h:172
eta
T eta() const
Definition:
Basic3DVectorLD.h:179
spr::findDetIdHCAL
const DetId findDetIdHCAL(const CaloGeometry *geo, double eta, double phi, bool debug=false)
Definition:
DetIdFromEtaPhi.cc:27
CaloSubdetectorGeometry.h
CaloGeometry
Definition:
CaloGeometry.h:23
spr::findDetIdECAL
const DetId findDetIdECAL(const CaloGeometry *geo, double eta, double phi, bool debug=false)
Definition:
DetIdFromEtaPhi.cc:11
DetId
Definition:
DetId.h:20
CaloGeometry.h
debug
#define debug
Definition:
MEtoEDMFormat.h:34
CosmicsPD_Skims.radius
tuple radius
Definition:
CosmicsPD_Skims.py:135
DetId.h
phi
Definition:
DDAxes.h:10
Generated for CMSSW Reference Manual by
1.8.5