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
public
:
13
DistanceToCell
();
14
DistanceToCell
(
const
DistanceToCell
&);
15
DistanceToCell
(
const
CaloSubdetectorGeometry
* det,
const
DetId
& cell);
16
~DistanceToCell
() { ; }
17
bool
operator()
(
const
DetId
&
c1
,
const
DetId
& c2);
18
19
private
:
20
const
CaloSubdetectorGeometry
*
det_
;
21
DetId
pivot_
;
22
GlobalPoint
pivotPosition_
;
23
};
24
25
#endif
CaloSubdetectorGeometry
Definition:
CaloSubdetectorGeometry.h:22
DistanceToCell::pivot_
DetId pivot_
Definition:
DistanceToCell.h:21
DistanceToCell::pivotPosition_
GlobalPoint pivotPosition_
Definition:
DistanceToCell.h:22
alignmentValidation.c1
c1
do drawing
Definition:
alignmentValidation.py:1025
DetId
Definition:
DetId.h:17
Point3DBase< float, GlobalTag >
DistanceToCell
Definition:
DistanceToCell.h:11
DistanceToCell::~DistanceToCell
~DistanceToCell()
Definition:
DistanceToCell.h:16
DistanceToCell::det_
const CaloSubdetectorGeometry * det_
Definition:
DistanceToCell.h:20
DetId.h
DistanceToCell::DistanceToCell
DistanceToCell()
Definition:
DistanceToCell.cc:7
DistanceToCell::operator()
bool operator()(const DetId &c1, const DetId &c2)
Definition:
DistanceToCell.cc:20
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.14