#include <CaloPoint.h>
Classes | |
class | DistanceToVertex |
Public Types | |
typedef math::XYZVector | XYZPoint |
typedef math::XYZVector | XYZVector |
Public Member Functions | |
CaloPoint () | |
Empty constructor. More... | |
CaloPoint (const DetId &cell, CaloDirection side, const XYZPoint &position) | |
constructor for ECAL More... | |
CaloPoint (DetId::Detector detector, const XYZPoint &position) | |
constructor for HCAL More... | |
CaloPoint (DetId::Detector detector, int subdetn, int layer, const XYZPoint &position) | |
constructor for preshower More... | |
DetId | getDetId () const |
returns the cellID More... | |
CaloDirection | getSide () const |
returns the Side (see numbering) More... | |
bool | operator< (const CaloPoint &p) const |
void | setDetId (DetId::Detector det) |
void | setLayer (int i) |
void | setSubDetector (int i) |
DetId::Detector | whichDetector () const |
int | whichLayer () const |
int | whichSubDetector () const |
watch out, only valid in ECAL and preshower More... | |
~CaloPoint () | |
Private Attributes | |
DetId | cellid_ |
DetId::Detector | detector_ |
int | layer_ |
CaloDirection | side_ |
int | subdetector_ |
Definition at line 18 of file CaloPoint.h.
typedef math::XYZVector CaloPoint::XYZPoint |
Definition at line 24 of file CaloPoint.h.
typedef math::XYZVector CaloPoint::XYZVector |
Definition at line 23 of file CaloPoint.h.
|
inline |
Empty constructor.
Definition at line 27 of file CaloPoint.h.
References CaloPoint(), gamEcalExtractorBlocks_cff::detector, and position.
Referenced by CaloPoint().
CaloPoint::CaloPoint | ( | const DetId & | cell, |
CaloDirection | side, | ||
const XYZPoint & | position | ||
) |
constructor for ECAL
Definition at line 17 of file CaloPoint.cc.
References CaloPoint(), DetId::det(), detector_, sistrip::layer_, position, subdetector_, and DetId::subdetId().
CaloPoint::CaloPoint | ( | DetId::Detector | detector, |
const XYZPoint & | position | ||
) |
constructor for HCAL
CaloPoint::CaloPoint | ( | DetId::Detector | detector, |
int | subdetn, | ||
int | layer, | ||
const XYZPoint & | position | ||
) |
constructor for preshower
Definition at line 34 of file CaloPoint.cc.
References CaloPoint(), cellid_, detector_, and subdetector_.
|
inline |
Definition at line 43 of file CaloPoint.h.
|
inline |
|
inline |
|
inline |
Definition at line 49 of file CaloPoint.h.
References mag2().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
watch out, only valid in ECAL and preshower
Definition at line 58 of file CaloPoint.h.
References subdetector_.
|
private |
Definition at line 68 of file CaloPoint.h.
Referenced by CaloPoint(), and getDetId().
|
private |
Definition at line 70 of file CaloPoint.h.
Referenced by CaloPoint(), setDetId(), and whichDetector().
|
private |
Definition at line 72 of file CaloPoint.h.
|
private |
Definition at line 69 of file CaloPoint.h.
Referenced by getSide().
|
private |
Definition at line 71 of file CaloPoint.h.
Referenced by CaloPoint(), setSubDetector(), and whichSubDetector().