#include <CaloPoint.h>
Classes | |
class | DistanceToVertex |
Public Types | |
typedef math::XYZVector | XYZPoint |
typedef math::XYZVector | XYZVector |
Public Member Functions | |
CaloPoint () | |
Empty constructor. | |
CaloPoint (const DetId &cell, CaloDirection side, const XYZPoint &position) | |
constructor for ECAL | |
CaloPoint (DetId::Detector detector, int subdetn, int layer, const XYZPoint &position) | |
constructor for preshower | |
CaloPoint (DetId::Detector detector, const XYZPoint &position) | |
constructor for HCAL | |
DetId | getDetId () const |
returns the cellID | |
CaloDirection | getSide () const |
returns the Side (see numbering) | |
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 | |
~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.
CaloPoint::CaloPoint | ( | ) | [inline] |
Empty constructor.
Definition at line 27 of file CaloPoint.h.
Referenced by CaloPoint().
:XYZPoint(){;};
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_, 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(), and cellid_.
CaloPoint::~CaloPoint | ( | ) | [inline] |
Definition at line 43 of file CaloPoint.h.
{;}
DetId CaloPoint::getDetId | ( | void | ) | const [inline] |
returns the cellID
Definition at line 45 of file CaloPoint.h.
References cellid_.
{return cellid_;};
CaloDirection CaloPoint::getSide | ( | ) | const [inline] |
returns the Side (see numbering)
Definition at line 47 of file CaloPoint.h.
References side_.
{return side_;};
bool CaloPoint::operator< | ( | const CaloPoint & | p | ) | const [inline] |
void CaloPoint::setDetId | ( | DetId::Detector | det | ) | [inline] |
void CaloPoint::setLayer | ( | int | i | ) | [inline] |
void CaloPoint::setSubDetector | ( | int | i | ) | [inline] |
DetId::Detector CaloPoint::whichDetector | ( | ) | const [inline] |
int CaloPoint::whichLayer | ( | ) | const [inline] |
int CaloPoint::whichSubDetector | ( | ) | const [inline] |
watch out, only valid in ECAL and preshower
Definition at line 58 of file CaloPoint.h.
References subdetector_.
{return subdetector_;};
DetId CaloPoint::cellid_ [private] |
Definition at line 68 of file CaloPoint.h.
Referenced by CaloPoint(), and getDetId().
DetId::Detector CaloPoint::detector_ [private] |
Definition at line 70 of file CaloPoint.h.
Referenced by CaloPoint(), setDetId(), and whichDetector().
int CaloPoint::layer_ [private] |
Definition at line 72 of file CaloPoint.h.
CaloDirection CaloPoint::side_ [private] |
Definition at line 69 of file CaloPoint.h.
Referenced by getSide().
int CaloPoint::subdetector_ [private] |
Definition at line 71 of file CaloPoint.h.
Referenced by CaloPoint(), setSubDetector(), and whichSubDetector().