#include <RecHitTools.h>
Public Types | |
enum | HitType { UNKNOWN = 0, LYSO = 1, Silicon = 2 } |
Public Member Functions | |
FlatTrd::CornersVec | getCorners (const DetId &id) const |
void | getEvent (const edm::Event &) |
void | getEventSetup (const edm::EventSetup &) |
HitType | getHitType (const DetId &id) const |
GlobalPoint | getPosition (const DetId &id) const |
RecHitTools () | |
~RecHitTools () | |
Private Attributes | |
const FastTimeDDDConstants * | ddd_ |
const FastTimeGeometry * | geom_ |
Definition at line 14 of file RecHitTools.h.
Enumerator | |
---|---|
UNKNOWN | |
LYSO | |
Silicon |
Definition at line 19 of file RecHitTools.h.
|
inline |
Definition at line 16 of file RecHitTools.h.
|
inline |
Definition at line 17 of file RecHitTools.h.
FlatTrd::CornersVec RecHitTools::getCorners | ( | const DetId & | id | ) | const |
Definition at line 26 of file RecHitTools.cc.
References geom_, and FastTimeGeometry::getGeometry().
void RecHitTools::getEvent | ( | const edm::Event & | ev | ) |
Definition at line 15 of file RecHitTools.cc.
void RecHitTools::getEventSetup | ( | const edm::EventSetup & | es | ) |
Definition at line 17 of file RecHitTools.cc.
References ddd_, FastTimeTopology::dddConstants(), geom_, edm::EventSetup::get(), get, edm::ESHandle< T >::product(), and FastTimeGeometry::topology().
RecHitTools::HitType RecHitTools::getHitType | ( | const DetId & | id | ) | const |
Definition at line 28 of file RecHitTools.cc.
References FastTimeDetId::type().
GlobalPoint RecHitTools::getPosition | ( | const DetId & | id | ) | const |
Definition at line 24 of file RecHitTools.cc.
References geom_, and FastTimeGeometry::getGeometry().
|
private |
Definition at line 31 of file RecHitTools.h.
Referenced by getEventSetup().
|
private |
Definition at line 30 of file RecHitTools.h.
Referenced by getCorners(), getEventSetup(), and getPosition().