CMS 3D CMS Logo

Public Member Functions | Private Attributes

DistanceToCell Class Reference

#include <DistanceToCell.h>

List of all members.

Public Member Functions

 DistanceToCell ()
 DistanceToCell (const DistanceToCell &)
 DistanceToCell (const CaloSubdetectorGeometry *det, const DetId &cell)
bool operator() (const DetId &c1, const DetId &c2)
 ~DistanceToCell ()

Private Attributes

const CaloSubdetectorGeometrydet_
DetId pivot_
GlobalPoint pivotPosition_

Detailed Description

Definition at line 11 of file DistanceToCell.h.


Constructor & Destructor Documentation

DistanceToCell::DistanceToCell ( )

Definition at line 6 of file DistanceToCell.cc.

:det_(0) {;}
DistanceToCell::DistanceToCell ( const DistanceToCell dist)

Definition at line 8 of file DistanceToCell.cc.

References det_, pivot_, and pivotPosition_.

{
  det_= dist.det_;
  pivotPosition_ = dist.pivotPosition_;
  pivot_= dist.pivot_;
}
DistanceToCell::DistanceToCell ( const CaloSubdetectorGeometry det,
const DetId cell 
)
DistanceToCell::~DistanceToCell ( ) [inline]

Definition at line 17 of file DistanceToCell.h.

{;}

Member Function Documentation

bool DistanceToCell::operator() ( const DetId c1,
const DetId c2 
)

Member Data Documentation

Definition at line 21 of file DistanceToCell.h.

Referenced by DistanceToCell(), and operator()().

Definition at line 22 of file DistanceToCell.h.

Referenced by DistanceToCell().

Definition at line 23 of file DistanceToCell.h.

Referenced by DistanceToCell(), and operator()().