#include <EmcMcHit.h>
|
virtual const CLID & | clID () const |
|
| EmcMcHit () |
|
| EmcMcHit (const Identifier &id, unsigned int trackIndex, double xPosition, double yPosition, double zPosition, double px, double py, double pz, double depositEnergy) |
|
Identifier | identify () const |
|
unsigned int | getTrackIndex () const |
|
int | getHitEmc () const |
|
int | getPDGCode () const |
|
double | getPDGCharge () const |
|
double | getTime () const |
|
double | getPositionX () const |
|
double | getPositionY () const |
|
double | getPositionZ () const |
|
double | getPx () const |
|
double | getPy () const |
|
double | getPz () const |
|
double | getDepositEnergy () const |
|
void | setIdentifier (Identifier &id) |
|
void | setHitEmc (int is) |
|
void | setPDGCode (int code) |
|
void | setPDGCharge (double charge) |
|
void | setTime (double time) |
|
void | setTrackIndex (unsigned int trackIndex) |
|
void | setPositionX (double positionX) |
|
void | setPositionY (double positionY) |
|
void | setPositionZ (double positionZ) |
|
void | setPx (double px) |
|
void | setPy (double py) |
|
void | setPz (double pz) |
|
void | setDepositEnergy (double depositEnergy) |
|
std::map< Identifier, double >::const_iterator | begin () const |
|
std::map< Identifier, double >::const_iterator | end () const |
|
std::map< Identifier, double >::const_iterator | find (Identifier &) const |
|
unsigned int | size () const |
|
std::map< Identifier, double > | getHitMap () const |
|
void | setHitMap (std::map< Identifier, double > &hitMap) |
|
Definition at line 15 of file EmcMcHit.h.
◆ EmcMcHit() [1/2]
Event::EmcMcHit::EmcMcHit |
( |
| ) |
|
|
inline |
◆ EmcMcHit() [2/2]
Event::EmcMcHit::EmcMcHit |
( |
const Identifier & | id, |
|
|
unsigned int | trackIndex, |
|
|
double | xPosition, |
|
|
double | yPosition, |
|
|
double | zPosition, |
|
|
double | px, |
|
|
double | py, |
|
|
double | pz, |
|
|
double | depositEnergy ) |
Definition at line 3 of file EmcMcHit.cxx.
6 : m_id(id), m_trackIndex(trackIndex),
7 m_hitEmc(0),m_PDGCode(0),m_PDGCharge(0),m_time(0),
8 m_xPosition(xPosition), m_yPosition(yPosition),m_zPosition(zPosition),
9 m_px(px), m_py(py), m_pz(pz), m_depositEnergy(depositEnergy)
10{
11 m_hitMap.clear();
12}
◆ begin()
std::map< Identifier, double >::const_iterator Event::EmcMcHit::begin |
( |
| ) |
const |
Definition at line 79 of file EmcMcHit.cxx.
79 {
80 return m_hitMap.begin();
81}
◆ classID()
static const CLID & Event::EmcMcHit::classID |
( |
| ) |
|
|
inlinestatic |
Definition at line 22 of file EmcMcHit.h.
23 {
25 }
const CLID & CLID_EmcMcHit
◆ clID()
virtual const CLID & Event::EmcMcHit::clID |
( |
| ) |
const |
|
inlinevirtual |
Definition at line 17 of file EmcMcHit.h.
18 {
20 }
static const CLID & classID()
◆ end()
std::map< Identifier, double >::const_iterator Event::EmcMcHit::end |
( |
| ) |
const |
Definition at line 83 of file EmcMcHit.cxx.
83 {
84 return m_hitMap.end();
85}
◆ find()
Definition at line 87 of file EmcMcHit.cxx.
87 {
88 return m_hitMap.find(id);
89}
◆ getDepositEnergy()
double Event::EmcMcHit::getDepositEnergy |
( |
| ) |
const |
Definition at line 75 of file EmcMcHit.cxx.
75 {
76 return m_depositEnergy;
77}
◆ getHitEmc()
int Event::EmcMcHit::getHitEmc |
( |
| ) |
const |
Definition at line 25 of file EmcMcHit.cxx.
25 {
26 return m_hitEmc;
27}
◆ getHitMap()
std::map< Identifier, double > Event::EmcMcHit::getHitMap |
( |
| ) |
const |
Definition at line 95 of file EmcMcHit.cxx.
95 {
96 return m_hitMap;
97}
◆ getPDGCharge()
double Event::EmcMcHit::getPDGCharge |
( |
| ) |
const |
Definition at line 35 of file EmcMcHit.cxx.
35 {
36 return m_PDGCharge;
37}
◆ getPDGCode()
int Event::EmcMcHit::getPDGCode |
( |
| ) |
const |
Definition at line 30 of file EmcMcHit.cxx.
30 {
31 return m_PDGCode;
32}
◆ getPositionX()
double Event::EmcMcHit::getPositionX |
( |
| ) |
const |
Definition at line 45 of file EmcMcHit.cxx.
45 {
46 return m_xPosition;
47}
◆ getPositionY()
double Event::EmcMcHit::getPositionY |
( |
| ) |
const |
Definition at line 50 of file EmcMcHit.cxx.
50 {
51 return m_yPosition;
52}
◆ getPositionZ()
double Event::EmcMcHit::getPositionZ |
( |
| ) |
const |
Definition at line 55 of file EmcMcHit.cxx.
55 {
56 return m_zPosition;
57}
◆ getPx()
double Event::EmcMcHit::getPx |
( |
| ) |
const |
◆ getPy()
double Event::EmcMcHit::getPy |
( |
| ) |
const |
◆ getPz()
double Event::EmcMcHit::getPz |
( |
| ) |
const |
◆ getTime()
double Event::EmcMcHit::getTime |
( |
| ) |
const |
Definition at line 40 of file EmcMcHit.cxx.
40 {
41 return m_time;
42}
◆ getTrackIndex()
unsigned int Event::EmcMcHit::getTrackIndex |
( |
| ) |
const |
Definition at line 20 of file EmcMcHit.cxx.
20 {
21 return m_trackIndex;
22}
◆ identify()
◆ setDepositEnergy()
void Event::EmcMcHit::setDepositEnergy |
( |
double | depositEnergy | ) |
|
|
inline |
Definition at line 85 of file EmcMcHit.h.
85{m_depositEnergy = depositEnergy;}
◆ setHitEmc()
void Event::EmcMcHit::setHitEmc |
( |
int | is | ) |
|
|
inline |
◆ setHitMap()
void Event::EmcMcHit::setHitMap |
( |
std::map< Identifier, double > & | hitMap | ) |
|
|
inline |
◆ setIdentifier()
void Event::EmcMcHit::setIdentifier |
( |
Identifier & | id | ) |
|
|
inline |
◆ setPDGCharge()
void Event::EmcMcHit::setPDGCharge |
( |
double | charge | ) |
|
|
inline |
◆ setPDGCode()
void Event::EmcMcHit::setPDGCode |
( |
int | code | ) |
|
|
inline |
◆ setPositionX()
void Event::EmcMcHit::setPositionX |
( |
double | positionX | ) |
|
|
inline |
Definition at line 79 of file EmcMcHit.h.
79{m_xPosition = positionX;}
◆ setPositionY()
void Event::EmcMcHit::setPositionY |
( |
double | positionY | ) |
|
|
inline |
Definition at line 80 of file EmcMcHit.h.
80{m_yPosition = positionY;}
◆ setPositionZ()
void Event::EmcMcHit::setPositionZ |
( |
double | positionZ | ) |
|
|
inline |
Definition at line 81 of file EmcMcHit.h.
81{m_zPosition = positionZ;}
◆ setPx()
void Event::EmcMcHit::setPx |
( |
double | px | ) |
|
|
inline |
◆ setPy()
void Event::EmcMcHit::setPy |
( |
double | py | ) |
|
|
inline |
◆ setPz()
void Event::EmcMcHit::setPz |
( |
double | pz | ) |
|
|
inline |
◆ setTime()
void Event::EmcMcHit::setTime |
( |
double | time | ) |
|
|
inline |
◆ setTrackIndex()
void Event::EmcMcHit::setTrackIndex |
( |
unsigned int | trackIndex | ) |
|
|
inline |
Definition at line 78 of file EmcMcHit.h.
78{ m_trackIndex = trackIndex;}
◆ size()
unsigned int Event::EmcMcHit::size |
( |
| ) |
const |
Definition at line 91 of file EmcMcHit.cxx.
91 {
92 return m_hitMap.size();
93}
The documentation for this class was generated from the following files: