#include <EmcMcHit.h>
Inheritance diagram for Event::EmcMcHit:
Public Member Functions | |
std::map< Identifier, double >::const_iterator | begin () const |
std::map< Identifier, double >::const_iterator | begin () const |
virtual const CLID & | clID () const |
virtual const CLID & | clID () const |
EmcMcHit (const Identifier &id, unsigned int trackIndex, double xPosition, double yPosition, double zPosition, double px, double py, double pz, double depositEnergy) | |
EmcMcHit () | |
EmcMcHit (const Identifier &id, unsigned int trackIndex, double xPosition, double yPosition, double zPosition, double px, double py, double pz, double depositEnergy) | |
EmcMcHit () | |
std::map< Identifier, double >::const_iterator | end () const |
std::map< Identifier, double >::const_iterator | end () const |
std::map< Identifier, double >::const_iterator | find (Identifier &) const |
std::map< Identifier, double >::const_iterator | find (Identifier &) const |
double | getDepositEnergy () const |
double | getDepositEnergy () const |
int | getHitEmc () const |
int | getHitEmc () const |
std::map< Identifier, double > | getHitMap () const |
std::map< Identifier, double > | getHitMap () const |
double | getPDGCharge () const |
double | getPDGCharge () const |
int | getPDGCode () const |
int | getPDGCode () const |
double | getPositionX () const |
double | getPositionX () const |
double | getPositionY () const |
double | getPositionY () const |
double | getPositionZ () const |
double | getPositionZ () const |
double | getPx () const |
double | getPx () const |
double | getPy () const |
double | getPy () const |
double | getPz () const |
double | getPz () const |
double | getTime () const |
double | getTime () const |
unsigned int | getTrackIndex () const |
unsigned int | getTrackIndex () const |
Identifier | identify () const |
Identifier | identify () const |
void | setDepositEnergy (double depositEnergy) |
void | setDepositEnergy (double depositEnergy) |
void | setHitEmc (int is) |
void | setHitEmc (int is) |
void | setHitMap (std::map< Identifier, double > &hitMap) |
void | setHitMap (std::map< Identifier, double > &hitMap) |
void | setIdentifier (Identifier &id) |
void | setIdentifier (Identifier &id) |
void | setPDGCharge (double charge) |
void | setPDGCharge (double charge) |
void | setPDGCode (int code) |
void | setPDGCode (int code) |
void | setPositionX (double positionX) |
void | setPositionX (double positionX) |
void | setPositionY (double positionY) |
void | setPositionY (double positionY) |
void | setPositionZ (double positionZ) |
void | setPositionZ (double positionZ) |
void | setPx (double px) |
void | setPx (double px) |
void | setPy (double py) |
void | setPy (double py) |
void | setPz (double pz) |
void | setPz (double pz) |
void | setTime (double time) |
void | setTime (double time) |
void | setTrackIndex (unsigned int trackIndex) |
void | setTrackIndex (unsigned int trackIndex) |
unsigned int | size () const |
unsigned int | size () const |
Static Public Member Functions | |
const CLID & | classID () |
const CLID & | classID () |
Private Member Functions | |
EmcMcHit (const EmcMcHit &) | |
EmcMcHit (const EmcMcHit &) | |
EmcMcHit & | operator= (const EmcMcHit &) |
EmcMcHit & | operator= (const EmcMcHit &) |
Private Attributes | |
double | m_depositEnergy |
int | m_hitEmc |
std::map< Identifier, double > | m_hitMap |
std::map< Identifier, double > | m_hitMap |
Identifier | m_id |
double | m_PDGCharge |
int | m_PDGCode |
double | m_px |
double | m_py |
double | m_pz |
double | m_time |
unsigned int | m_trackIndex |
double | m_xPosition |
double | m_yPosition |
double | m_zPosition |
|
00027 {};
|
|
00006 : m_id(id), m_trackIndex(trackIndex), 00007 m_hitEmc(0),m_PDGCode(0),m_PDGCharge(0),m_time(0), 00008 m_xPosition(xPosition), m_yPosition(yPosition),m_zPosition(zPosition), 00009 m_px(px), m_py(py), m_pz(pz), m_depositEnergy(depositEnergy) 00010 { 00011 m_hitMap.clear(); 00012 }
|
|
|
|
00027 {};
|
|
|
|
|
|
|
|
00079 { 00080 return m_hitMap.begin(); 00081 }
|
|
00023 {
00024 return CLID_EmcMcHit;
00025 }
|
|
00023 {
00024 return CLID_EmcMcHit;
00025 }
|
|
00018 {
00019 return EmcMcHit::classID();
00020 }
|
|
00018 {
00019 return EmcMcHit::classID();
00020 }
|
|
|
|
00083 { 00084 return m_hitMap.end(); 00085 }
|
|
|
|
00087 { 00088 return m_hitMap.find(id); 00089 }
|
|
|
|
00075 {
00076 return m_depositEnergy;
00077 }
|
|
|
|
00025 {
00026 return m_hitEmc;
00027 }
|
|
|
|
00095 {
00096 return m_hitMap;
00097 }
|
|
|
|
00035 {
00036 return m_PDGCharge;
00037 }
|
|
|
|
00030 {
00031 return m_PDGCode;
00032 }
|
|
|
|
00045 {
00046 return m_xPosition;
00047 }
|
|
|
|
00050 {
00051 return m_yPosition;
00052 }
|
|
|
|
00055 {
00056 return m_zPosition;
00057 }
|
|
|
|
00060 {
00061 return m_px;
00062 }
|
|
|
|
00065 {
00066 return m_py;
00067 }
|
|
|
|
00070 {
00071 return m_pz;
00072 }
|
|
|
|
00040 {
00041 return m_time;
00042 }
|
|
|
|
00020 {
00021 return m_trackIndex;
00022 }
|
|
|
|
00015 {
00016 return m_id;
00017 }
|
|
|
|
|
|
00085 {m_depositEnergy = depositEnergy;}
|
|
00085 {m_depositEnergy = depositEnergy;}
|
|
00074 { m_hitEmc=is; }
|
|
00074 { m_hitEmc=is; }
|
|
00094 { m_hitMap=hitMap; }
|
|
00094 { m_hitMap=hitMap; }
|
|
00073 {m_id = id ;}
|
|
00073 {m_id = id ;}
|
|
00076 { m_PDGCharge = charge; }
|
|
00076 { m_PDGCharge = charge; }
|
|
00075 { m_PDGCode=code; }
|
|
00075 { m_PDGCode=code; }
|
|
00079 {m_xPosition = positionX;}
|
|
00079 {m_xPosition = positionX;}
|
|
00080 {m_yPosition = positionY;}
|
|
00080 {m_yPosition = positionY;}
|
|
00081 {m_zPosition = positionZ;}
|
|
00081 {m_zPosition = positionZ;}
|
|
00082 {m_px = px;}
|
|
00082 {m_px = px;}
|
|
00083 {m_py = py;}
|
|
00083 {m_py = py;}
|
|
00084 {m_pz = pz;}
|
|
00084 {m_pz = pz;}
|
|
00077 { m_time=time; }
|
|
00077 { m_time=time; }
|
|
00078 { m_trackIndex = trackIndex;}
|
|
00078 { m_trackIndex = trackIndex;}
|
|
|
|
00091 { 00092 return m_hitMap.size(); 00093 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|