#include <RecEmcHit.h>
Inheritance diagram for RecEmcHit:
Public Member Functions | |
void | Assign (const RecEmcID &CellId, const RecEmcEnergy &Energy, const RecEmcTime &Time) |
void | Assign (const RecEmcID &CellId, const RecEmcEnergy &Energy, const RecEmcTime &Time) |
RecEmcID | CellId (const RecEmcID &CellId) |
RecEmcID | CellId (const RecEmcID &CellId) |
virtual const CLID & | clID () const |
virtual const CLID & | clID () const |
void | Dump () const |
void | Dump () const |
RecEmcEnergy | Energy (const RecEmcEnergy &Energy) |
RecEmcEnergy | Energy (const RecEmcEnergy &Energy) |
RecEmcID | getCellId () const |
RecEmcID | getCellId () const |
HepPoint3D | getCenter () const |
HepPoint3D | getCenter () const |
RecEmcEnergy | getEnergy () const |
RecEmcEnergy | getEnergy () const |
HepPoint3D | getFrontCenter () const |
HepPoint3D | getFrontCenter () const |
RecEmcTime | getTime () const |
RecEmcTime | getTime () const |
bool | operator< (const RecEmcHit &aHit) const |
bool | operator< (const RecEmcHit &aHit) const |
bool | operator> (const RecEmcHit &aHit) const |
bool | operator> (const RecEmcHit &aHit) const |
RecEmcHit (const RecEmcID &CellId, const RecEmcEnergy &Energy, const RecEmcTime &Time) | |
RecEmcHit () | |
RecEmcHit (const RecEmcID &CellId, const RecEmcEnergy &Energy, const RecEmcTime &Time) | |
RecEmcHit () | |
RecEmcTime | Time (const RecEmcTime &Time) |
RecEmcTime | Time (const RecEmcTime &Time) |
~RecEmcHit () | |
~RecEmcHit () | |
Static Public Member Functions | |
const CLID & | classID () |
const CLID & | classID () |
Protected Attributes | |
RecEmcID | fCellId |
RecEmcEnergy | fEnergy |
RecEmcTime | fTime |
|
|
|
|
|
00031 {
00032 //Nothing to do
00033 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
00082 { 00083 fCellId=CellId; 00084 return fCellId; 00085 }
|
|
00024 { return CLID_RecEmcHit; }
|
|
00024 { return CLID_RecEmcHit; }
|
|
00023 { return RecEmcHit::classID();}
|
|
00023 { return RecEmcHit::classID();}
|
|
Reimplemented in RecEmcFraction, and RecEmcFraction. |
|
Reimplemented in RecEmcFraction, and RecEmcFraction. 00109 { 00110 cout<<"Hit: "; 00111 00112 cout<<fCellId<<", "; 00113 00114 cout.width(12); 00115 cout.setf(ios::right); 00116 cout<<fEnergy<<", "; 00117 00118 cout.width(12); 00119 cout.setf(ios::right); 00120 cout<<fTime<<endl; 00121 }
|
|
|
|
00088 { 00089 fEnergy=Energy; 00090 return fEnergy; 00091 }
|
|
00047 { return fCellId; }
|
|
00047 { return fCellId; }
|
|
|
|
00058 { 00059 IEmcRecGeoSvc* iGeoSvc; 00060 ISvcLocator* svcLocator = Gaudi::svcLocator(); 00061 StatusCode sc = svcLocator->service("EmcRecGeoSvc",iGeoSvc); 00062 if(sc!=StatusCode::SUCCESS) { 00063 cout<<"Error: Can't get EmcRecGeoSvc"<<endl; 00064 } 00065 00066 return iGeoSvc->GetCCenter(fCellId); 00067 }
|
|
00048 { return fEnergy; }
|
|
00048 { return fEnergy; }
|
|
|
|
00070 { 00071 IEmcRecGeoSvc* iGeoSvc; 00072 ISvcLocator* svcLocator = Gaudi::svcLocator(); 00073 StatusCode sc = svcLocator->service("EmcRecGeoSvc",iGeoSvc); 00074 if(sc!=StatusCode::SUCCESS) { 00075 cout<<"Error: Can't get EmcRecGeoSvc"<<endl; 00076 } 00077 00078 return iGeoSvc->GetCFrontCenter(fCellId); 00079 }
|
|
00049 { return fTime; }
|
|
00049 { return fTime; }
|
|
|
|
|
|
|
|
|
|
|
|
00094 { 00095 fTime=Time; 00096 return fTime; 00097 }
|
|
|
|
|
|
|