#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 17 of file CaloPoint.h.
typedef math::XYZVector CaloPoint::XYZPoint |
Definition at line 20 of file CaloPoint.h.
typedef math::XYZVector CaloPoint::XYZVector |
Definition at line 19 of file CaloPoint.h.
|
inline |
Empty constructor.
Definition at line 23 of file CaloPoint.h.
Referenced by CaloPoint().
CaloPoint::CaloPoint | ( | const DetId & | cell, |
CaloDirection | side, | ||
const XYZPoint & | position | ||
) |
constructor for ECAL
Definition at line 16 of file CaloPoint.cc.
References CaloPoint(), DetId::det(), detector_, sistrip::layer_, 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 31 of file CaloPoint.cc.
References CaloPoint(), cellid_, NONE, and side_.
|
inline |
Definition at line 39 of file CaloPoint.h.
|
inline |
|
inline |
|
inline |
Definition at line 45 of file CaloPoint.h.
References mag2().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
watch out, only valid in ECAL and preshower
Definition at line 53 of file CaloPoint.h.
References subdetector_.
|
private |
Definition at line 63 of file CaloPoint.h.
Referenced by CaloPoint(), and getDetId().
|
private |
Definition at line 65 of file CaloPoint.h.
Referenced by CaloPoint(), setDetId(), and whichDetector().
|
private |
Definition at line 67 of file CaloPoint.h.
|
private |
Definition at line 64 of file CaloPoint.h.
Referenced by CaloPoint(), and getSide().
|
private |
Definition at line 66 of file CaloPoint.h.
Referenced by CaloPoint(), setSubDetector(), and whichSubDetector().