Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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:24
alignmentValidation.c1
tuple c1
do drawing
Definition:
alignmentValidation.py:1023
counter.c2
tuple c2
Definition:
counter.py:145
DistanceToCell::pivot_
DetId pivot_
Definition:
DistanceToCell.h:22
DistanceToCell::pivotPosition_
GlobalPoint pivotPosition_
Definition:
DistanceToCell.h:23
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:6
DistanceToCell::operator()
bool operator()(const DetId &c1, const DetId &c2)
Definition:
DistanceToCell.cc:20
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.5