#include <CastorShowerEvent.h>
Public Types | |
typedef math::XYZPoint | Point |
point in the space | |
Public Member Functions | |
CastorShowerEvent () | |
void | Clear () |
unsigned int | getDetID (int i) |
Point | getHitPosition (int i) |
unsigned int | getNhit () |
float | getNphotons (int i) |
float | getPrimE () |
float | getPrimEta () |
float | getPrimPhi () |
float | getPrimX () |
float | getPrimY () |
float | getPrimZ () |
float | getTime (int i) |
void | setDetID (unsigned int id) |
void | setHitPosition (Point p) |
void | setNhit (unsigned int i) |
void | setNphotons (float np) |
void | setPrimE (float e) |
void | setPrimEta (float eta) |
void | setPrimPhi (float phi) |
void | setPrimX (float x) |
void | setPrimY (float y) |
void | setPrimZ (float z) |
void | setTime (float t) |
~CastorShowerEvent () | |
Public Attributes | |
std::vector< unsigned int > | detID |
std::vector< Point > | hitPosition |
unsigned int | nhit |
std::vector< float > | nphotons |
float | primaryEnergy |
float | primEta |
float | primPhi |
float | primX |
float | primY |
float | primZ |
std::vector< float > | time |
Definition at line 15 of file CastorShowerEvent.h.
point in the space
Definition at line 20 of file CastorShowerEvent.h.
CastorShowerEvent::CastorShowerEvent | ( | ) |
CastorShowerEvent::~CastorShowerEvent | ( | ) |
Definition at line 11 of file CastorShowerEvent.cc.
{}
void CastorShowerEvent::Clear | ( | ) |
Definition at line 14 of file CastorShowerEvent.cc.
References detID, hitPosition, nhit, nphotons, primaryEnergy, primEta, primPhi, primX, primY, primZ, and time.
Referenced by CastorShowerLibrary::getShowerHits(), and CastorShowerLibraryMaker::update().
unsigned int CastorShowerEvent::getDetID | ( | int | i | ) | [inline] |
Definition at line 54 of file CastorShowerEvent.h.
Referenced by CastorSD::getFromLibrary().
Point CastorShowerEvent::getHitPosition | ( | int | i | ) | [inline] |
Definition at line 55 of file CastorShowerEvent.h.
References hitPosition, and i.
{ return hitPosition[i]; };
unsigned int CastorShowerEvent::getNhit | ( | ) | [inline] |
Definition at line 53 of file CastorShowerEvent.h.
References nhit.
Referenced by CastorSD::getFromLibrary(), CastorShowerLibrary::getRecord(), and CastorShowerLibraryMaker::update().
{ return nhit; };
float CastorShowerEvent::getNphotons | ( | int | i | ) | [inline] |
Definition at line 56 of file CastorShowerEvent.h.
Referenced by CastorSD::getFromLibrary().
float CastorShowerEvent::getPrimE | ( | ) | [inline] |
Definition at line 58 of file CastorShowerEvent.h.
References primaryEnergy.
Referenced by CastorSD::getFromLibrary().
{ return primaryEnergy; };
float CastorShowerEvent::getPrimEta | ( | ) | [inline] |
float CastorShowerEvent::getPrimPhi | ( | ) | [inline] |
Definition at line 60 of file CastorShowerEvent.h.
References primPhi.
Referenced by CastorSD::rotateUnitID().
{ return primPhi; };
float CastorShowerEvent::getPrimX | ( | ) | [inline] |
float CastorShowerEvent::getPrimY | ( | ) | [inline] |
float CastorShowerEvent::getPrimZ | ( | ) | [inline] |
float CastorShowerEvent::getTime | ( | int | i | ) | [inline] |
Definition at line 57 of file CastorShowerEvent.h.
Referenced by CastorSD::getFromLibrary().
void CastorShowerEvent::setDetID | ( | unsigned int | id | ) | [inline] |
Definition at line 41 of file CastorShowerEvent.h.
References detID.
Referenced by CastorShowerLibraryMaker::FillShowerEvent().
{ detID.push_back(id); };
void CastorShowerEvent::setHitPosition | ( | Point | p | ) | [inline] |
Definition at line 42 of file CastorShowerEvent.h.
References hitPosition.
Referenced by CastorShowerLibraryMaker::FillShowerEvent().
{ hitPosition.push_back(p); };
void CastorShowerEvent::setNhit | ( | unsigned int | i | ) | [inline] |
Definition at line 40 of file CastorShowerEvent.h.
Referenced by CastorShowerLibraryMaker::FillShowerEvent().
void CastorShowerEvent::setNphotons | ( | float | np | ) | [inline] |
Definition at line 43 of file CastorShowerEvent.h.
References nphotons.
Referenced by CastorShowerLibraryMaker::FillShowerEvent().
void CastorShowerEvent::setPrimE | ( | float | e | ) | [inline] |
Definition at line 45 of file CastorShowerEvent.h.
References alignCSCRings::e, and primaryEnergy.
Referenced by CastorShowerLibraryMaker::update().
{ primaryEnergy = e; };
void CastorShowerEvent::setPrimEta | ( | float | eta | ) | [inline] |
Definition at line 46 of file CastorShowerEvent.h.
Referenced by CastorShowerLibraryMaker::update().
void CastorShowerEvent::setPrimPhi | ( | float | phi | ) | [inline] |
Definition at line 47 of file CastorShowerEvent.h.
Referenced by CastorShowerLibraryMaker::update().
void CastorShowerEvent::setPrimX | ( | float | x | ) | [inline] |
Definition at line 48 of file CastorShowerEvent.h.
Referenced by CastorShowerLibraryMaker::update().
void CastorShowerEvent::setPrimY | ( | float | y | ) | [inline] |
Definition at line 49 of file CastorShowerEvent.h.
References primY, and detailsBasic3DVector::y.
Referenced by CastorShowerLibraryMaker::update().
void CastorShowerEvent::setPrimZ | ( | float | z | ) | [inline] |
Definition at line 50 of file CastorShowerEvent.h.
Referenced by CastorShowerLibraryMaker::update().
void CastorShowerEvent::setTime | ( | float | t | ) | [inline] |
Definition at line 44 of file CastorShowerEvent.h.
References time.
Referenced by CastorShowerLibraryMaker::FillShowerEvent().
std::vector<unsigned int> CastorShowerEvent::detID |
Definition at line 31 of file CastorShowerEvent.h.
Referenced by Clear(), getDetID(), and setDetID().
std::vector<Point> CastorShowerEvent::hitPosition |
Definition at line 32 of file CastorShowerEvent.h.
Referenced by Clear(), getHitPosition(), and setHitPosition().
unsigned int CastorShowerEvent::nhit |
Definition at line 30 of file CastorShowerEvent.h.
std::vector<float> CastorShowerEvent::nphotons |
Definition at line 33 of file CastorShowerEvent.h.
Referenced by Clear(), getNphotons(), and setNphotons().
Definition at line 35 of file CastorShowerEvent.h.
Referenced by Clear(), getPrimE(), and setPrimE().
Definition at line 36 of file CastorShowerEvent.h.
Referenced by Clear(), getPrimEta(), and setPrimEta().
Definition at line 36 of file CastorShowerEvent.h.
Referenced by Clear(), getPrimPhi(), and setPrimPhi().
float CastorShowerEvent::primX |
Definition at line 37 of file CastorShowerEvent.h.
Referenced by Clear(), getPrimX(), and setPrimX().
float CastorShowerEvent::primY |
Definition at line 37 of file CastorShowerEvent.h.
Referenced by Clear(), getPrimY(), and setPrimY().
float CastorShowerEvent::primZ |
Definition at line 37 of file CastorShowerEvent.h.
Referenced by Clear(), getPrimZ(), and setPrimZ().
std::vector<float> CastorShowerEvent::time |
Definition at line 34 of file CastorShowerEvent.h.