#include <MuonHit.h>
Collaboration diagram for MuonHit:

Public Types | |
| typedef std::map< MCParticleSIO *, float > | McEnergyMap |
Public Member Functions | |
| MuonHit (unsigned int id, unsigned int stripID) | |
| void | addMcHit (MCParticleSIO *mcp, float energy) |
| McEnergyMap | getMcEnergyMap () const |
| std::vector< MCParticleSIO * > | getStripParticles () const |
| unsigned int | id () const |
| unsigned int | stripID () const |
| float | energy () const |
Private Attributes | |
| unsigned int | _id |
| float | _energy |
| std::map< MCParticleSIO *, float > | _mcEnergies |
| std::vector< MCParticleSIO * > | _mcStripParticles |
| unsigned int | _stripID |
|
|
Definition at line 15 of file MuonHit.h. Referenced by getMcEnergyMap(), and MuonSIO::xfer(). |
|
||||||||||||
|
Definition at line 7 of file MuonHit.cc. References _energy.
|
|
||||||||||||
|
Definition at line 12 of file MuonHit.cc. References _energy, and _mcEnergies. Referenced by LCDG4EventAction::EndOfEventAction().
00013 {
00014 _mcEnergies[mcp] += energy;
00015 _energy += energy;
00016 }
|
|
|
Definition at line 38 of file MuonHit.cc. References _energy. Referenced by MuonSIO::xfer().
00039 {
00040 return _energy;
00041 }
|
|
|
Definition at line 18 of file MuonHit.cc. References _mcEnergies, and McEnergyMap. Referenced by MuonSIO::xfer().
00019 {
00020 return _mcEnergies;
00021 }
|
|
|
Definition at line 23 of file MuonHit.cc. References _mcStripParticles.
00024 {
00025 return _mcStripParticles;
00026 }
|
|
|
Definition at line 28 of file MuonHit.cc. References _id. Referenced by MuonSIO::xfer().
00029 {
00030 return _id;
00031 }
|
|
|
Definition at line 33 of file MuonHit.cc. References _stripID.
00034 {
00035 return _stripID;
00036 }
|
|
|
Definition at line 20 of file MuonHit.h. Referenced by addMcHit(), energy(), and MuonHit(). |
|
|
Definition at line 19 of file MuonHit.h. Referenced by id(). |
|
|
Definition at line 21 of file MuonHit.h. Referenced by addMcHit(), and getMcEnergyMap(). |
|
|
Definition at line 22 of file MuonHit.h. Referenced by getStripParticles(). |
|
|
Definition at line 23 of file MuonHit.h. Referenced by stripID(). |
1.3.4