Main Page
Namespaces
Classes
Package Documentation
src
FastSimulation
CaloGeometryTools
interface
DistanceToCell.h
Go to the documentation of this file.
1
#ifndef FastSimulation_CalorimeterProperties_DistanceToCell_h
2
#define FastSimulation_CalorimeterProperties_DistanceToCell_h
3
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
4
#include "
DataFormats/DetId/interface/DetId.h
"
5
6
// used in GeometryHelper to sort the vector given by GetWindow
7
// not much optimized.
8
9
class
CaloSubdetectorGeometry
;
10
11
class
DistanceToCell
{
12
13
public
:
14
DistanceToCell
();
15
DistanceToCell
(
const
DistanceToCell
& );
16
DistanceToCell
(
const
CaloSubdetectorGeometry
* det,
const
DetId
& cell);
17
~DistanceToCell
(){;}
18
bool
operator()
(
const
DetId
&
c1
,
const
DetId
& c2);
19
20
private
:
21
const
CaloSubdetectorGeometry
*
det_
;
22
DetId
pivot_
;
23
GlobalPoint
pivotPosition_
;
24
25
};
26
27
#endif
CaloSubdetectorGeometry
Definition:
CaloSubdetectorGeometry.h:25
DistanceToCell::pivot_
DetId pivot_
Definition:
DistanceToCell.h:22
DistanceToCell::pivotPosition_
GlobalPoint pivotPosition_
Definition:
DistanceToCell.h:23
alignmentValidation.c1
c1
do drawing
Definition:
alignmentValidation.py:1025
DetId
Definition:
DetId.h:18
Point3DBase< float, GlobalTag >
DistanceToCell
Definition:
DistanceToCell.h:11
DistanceToCell::~DistanceToCell
~DistanceToCell()
Definition:
DistanceToCell.h:17
DistanceToCell::det_
const CaloSubdetectorGeometry * det_
Definition:
DistanceToCell.h:21
DetId.h
DistanceToCell::DistanceToCell
DistanceToCell()
Definition:
DistanceToCell.cc:7
DistanceToCell::operator()
bool operator()(const DetId &c1, const DetId &c2)
Definition:
DistanceToCell.cc:23
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.11