Event::EmcMcHit Class Reference

#include <EmcMcHit.h>

Inheritance diagram for Event::EmcMcHit:

ContainedObject List of all members.

Public Member Functions

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)

Static Public Member Functions

static const CLID & classID ()

Private Member Functions

 EmcMcHit (const EmcMcHit &)
EmcMcHitoperator= (const EmcMcHit &)

Private Attributes

Identifier m_id
unsigned int m_trackIndex
int m_hitEmc
int m_PDGCode
double m_PDGCharge
double m_time
double m_xPosition
double m_yPosition
double m_zPosition
double m_px
double m_py
double m_pz
double m_depositEnergy
std::map< Identifier, double > m_hitMap

Detailed Description

Definition at line 15 of file EmcMcHit.h.


Constructor & Destructor Documentation

Event::EmcMcHit::EmcMcHit (  )  [inline]

Definition at line 27 of file EmcMcHit.h.

00027 {};

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.

References m_hitMap.

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 }

Event::EmcMcHit::EmcMcHit ( const EmcMcHit  )  [private]


Member Function Documentation

std::map< Identifier, double >::const_iterator Event::EmcMcHit::begin (  )  const

Definition at line 79 of file EmcMcHit.cxx.

References m_hitMap.

00079                                                                    {
00080   return m_hitMap.begin();
00081 }

static const CLID& Event::EmcMcHit::classID (  )  [inline, static]

Definition at line 22 of file EmcMcHit.h.

References CLID_EmcMcHit.

Referenced by clID().

00023     {
00024         return CLID_EmcMcHit;
00025     }  

virtual const CLID& Event::EmcMcHit::clID (  )  const [inline, virtual]

Definition at line 17 of file EmcMcHit.h.

References classID().

00018    {
00019         return EmcMcHit::classID();
00020    }

std::map< Identifier, double >::const_iterator Event::EmcMcHit::end (  )  const

Definition at line 83 of file EmcMcHit.cxx.

References m_hitMap.

00083                                                                  {
00084   return m_hitMap.end();
00085 }

std::map< Identifier, double >::const_iterator Event::EmcMcHit::find ( Identifier  )  const

Definition at line 87 of file EmcMcHit.cxx.

References m_hitMap.

00087                                                                                 {
00088   return m_hitMap.find(id);
00089 }

double Event::EmcMcHit::getDepositEnergy (  )  const

Definition at line 75 of file EmcMcHit.cxx.

References m_depositEnergy.

00075                                              {
00076    return m_depositEnergy;
00077 }

int Event::EmcMcHit::getHitEmc (  )  const

Definition at line 25 of file EmcMcHit.cxx.

References m_hitEmc.

00025                                    {
00026   return m_hitEmc;
00027 }

std::map< Identifier, double > Event::EmcMcHit::getHitMap (  )  const

Definition at line 95 of file EmcMcHit.cxx.

References m_hitMap.

00095                                                          {
00096   return m_hitMap;
00097 }

double Event::EmcMcHit::getPDGCharge (  )  const

Definition at line 35 of file EmcMcHit.cxx.

References m_PDGCharge.

00035                                          {
00036   return m_PDGCharge;
00037 }

int Event::EmcMcHit::getPDGCode (  )  const

Definition at line 30 of file EmcMcHit.cxx.

References m_PDGCode.

00030                                     {
00031   return m_PDGCode;
00032 }

double Event::EmcMcHit::getPositionX (  )  const

Definition at line 45 of file EmcMcHit.cxx.

References m_xPosition.

00045                                          {
00046   return m_xPosition;
00047 }

double Event::EmcMcHit::getPositionY (  )  const

Definition at line 50 of file EmcMcHit.cxx.

References m_yPosition.

00050                                          {
00051   return m_yPosition;
00052 }

double Event::EmcMcHit::getPositionZ (  )  const

Definition at line 55 of file EmcMcHit.cxx.

References m_zPosition.

00055                                          {
00056   return m_zPosition;
00057 }

double Event::EmcMcHit::getPx (  )  const

Definition at line 60 of file EmcMcHit.cxx.

References m_px.

00060                                   {
00061   return m_px;
00062 }

double Event::EmcMcHit::getPy (  )  const

Definition at line 65 of file EmcMcHit.cxx.

References m_py.

00065                                   {
00066   return m_py; 
00067 }

double Event::EmcMcHit::getPz (  )  const

Definition at line 70 of file EmcMcHit.cxx.

References m_pz.

00070                                   {
00071   return m_pz; 
00072 }

double Event::EmcMcHit::getTime (  )  const

Definition at line 40 of file EmcMcHit.cxx.

References m_time.

00040                                     {
00041   return m_time;
00042 }

unsigned int Event::EmcMcHit::getTrackIndex (  )  const

Definition at line 20 of file EmcMcHit.cxx.

References m_trackIndex.

00020                                                 {
00021   return m_trackIndex;
00022 }

Identifier Event::EmcMcHit::identify (  )  const

Definition at line 15 of file EmcMcHit.cxx.

References m_id.

00015                                          {
00016   return  m_id;
00017 }

EmcMcHit& Event::EmcMcHit::operator= ( const EmcMcHit  )  [private]

void Event::EmcMcHit::setDepositEnergy ( double  depositEnergy  )  [inline]

Definition at line 85 of file EmcMcHit.h.

References m_depositEnergy.

Referenced by EmcMcHitCnv::TObjectToDataObject().

00085 {m_depositEnergy = depositEnergy;}

void Event::EmcMcHit::setHitEmc ( int  is  )  [inline]

Definition at line 74 of file EmcMcHit.h.

References m_hitEmc.

Referenced by BesMcTruthWriter::SaveEmcTruth(), and EmcMcHitCnv::TObjectToDataObject().

00074 { m_hitEmc=is; }

void Event::EmcMcHit::setHitMap ( std::map< Identifier, double > &  hitMap  )  [inline]

Definition at line 94 of file EmcMcHit.h.

References m_hitMap.

Referenced by BesMcTruthWriter::SaveEmcTruth(), and EmcMcHitCnv::TObjectToDataObject().

00094 { m_hitMap=hitMap; }

void Event::EmcMcHit::setIdentifier ( Identifier id  )  [inline]

Definition at line 73 of file EmcMcHit.h.

References m_id.

Referenced by EmcMcHitCnv::TObjectToDataObject().

00073 {m_id = id ;}

void Event::EmcMcHit::setPDGCharge ( double  charge  )  [inline]

Definition at line 76 of file EmcMcHit.h.

References m_PDGCharge.

Referenced by BesMcTruthWriter::SaveEmcTruth(), and EmcMcHitCnv::TObjectToDataObject().

00076 { m_PDGCharge = charge; }

void Event::EmcMcHit::setPDGCode ( int  code  )  [inline]

Definition at line 75 of file EmcMcHit.h.

References m_PDGCode.

Referenced by BesMcTruthWriter::SaveEmcTruth(), and EmcMcHitCnv::TObjectToDataObject().

00075 { m_PDGCode=code; }

void Event::EmcMcHit::setPositionX ( double  positionX  )  [inline]

Definition at line 79 of file EmcMcHit.h.

References m_xPosition.

Referenced by EmcMcHitCnv::TObjectToDataObject().

00079 {m_xPosition = positionX;}

void Event::EmcMcHit::setPositionY ( double  positionY  )  [inline]

Definition at line 80 of file EmcMcHit.h.

References m_yPosition.

Referenced by EmcMcHitCnv::TObjectToDataObject().

00080 {m_yPosition = positionY;}

void Event::EmcMcHit::setPositionZ ( double  positionZ  )  [inline]

Definition at line 81 of file EmcMcHit.h.

References m_zPosition.

Referenced by EmcMcHitCnv::TObjectToDataObject().

00081 {m_zPosition = positionZ;}

void Event::EmcMcHit::setPx ( double  px  )  [inline]

Definition at line 82 of file EmcMcHit.h.

References m_px.

Referenced by EmcMcHitCnv::TObjectToDataObject().

00082 {m_px = px;}

void Event::EmcMcHit::setPy ( double  py  )  [inline]

Definition at line 83 of file EmcMcHit.h.

References m_py.

Referenced by EmcMcHitCnv::TObjectToDataObject().

00083 {m_py = py;}

void Event::EmcMcHit::setPz ( double  pz  )  [inline]

Definition at line 84 of file EmcMcHit.h.

References m_pz.

Referenced by EmcMcHitCnv::TObjectToDataObject().

00084 {m_pz = pz;}

void Event::EmcMcHit::setTime ( double  time  )  [inline]

Definition at line 77 of file EmcMcHit.h.

References m_time.

Referenced by BesMcTruthWriter::SaveEmcTruth(), and EmcMcHitCnv::TObjectToDataObject().

00077 { m_time=time; }

void Event::EmcMcHit::setTrackIndex ( unsigned int  trackIndex  )  [inline]

Definition at line 78 of file EmcMcHit.h.

References m_trackIndex.

Referenced by EmcMcHitCnv::TObjectToDataObject().

00078 { m_trackIndex = trackIndex;}

unsigned int Event::EmcMcHit::size (  )  const

Definition at line 91 of file EmcMcHit.cxx.

References m_hitMap.

00091                                        {
00092   return m_hitMap.size();
00093 }


Member Data Documentation

double Event::EmcMcHit::m_depositEnergy [private]

Definition at line 127 of file EmcMcHit.h.

Referenced by getDepositEnergy(), and setDepositEnergy().

int Event::EmcMcHit::m_hitEmc [private]

Definition at line 107 of file EmcMcHit.h.

Referenced by getHitEmc(), and setHitEmc().

std::map<Identifier,double> Event::EmcMcHit::m_hitMap [private]

Definition at line 129 of file EmcMcHit.h.

Referenced by begin(), EmcMcHit(), end(), find(), getHitMap(), setHitMap(), and size().

Identifier Event::EmcMcHit::m_id [private]

Definition at line 103 of file EmcMcHit.h.

Referenced by identify(), and setIdentifier().

double Event::EmcMcHit::m_PDGCharge [private]

Definition at line 111 of file EmcMcHit.h.

Referenced by getPDGCharge(), and setPDGCharge().

int Event::EmcMcHit::m_PDGCode [private]

Definition at line 109 of file EmcMcHit.h.

Referenced by getPDGCode(), and setPDGCode().

double Event::EmcMcHit::m_px [private]

Definition at line 121 of file EmcMcHit.h.

Referenced by getPx(), and setPx().

double Event::EmcMcHit::m_py [private]

Definition at line 123 of file EmcMcHit.h.

Referenced by getPy(), and setPy().

double Event::EmcMcHit::m_pz [private]

Definition at line 125 of file EmcMcHit.h.

Referenced by getPz(), and setPz().

double Event::EmcMcHit::m_time [private]

Definition at line 113 of file EmcMcHit.h.

Referenced by getTime(), and setTime().

unsigned int Event::EmcMcHit::m_trackIndex [private]

Definition at line 105 of file EmcMcHit.h.

Referenced by getTrackIndex(), and setTrackIndex().

double Event::EmcMcHit::m_xPosition [private]

Definition at line 115 of file EmcMcHit.h.

Referenced by getPositionX(), and setPositionX().

double Event::EmcMcHit::m_yPosition [private]

Definition at line 117 of file EmcMcHit.h.

Referenced by getPositionY(), and setPositionY().

double Event::EmcMcHit::m_zPosition [private]

Definition at line 119 of file EmcMcHit.h.

Referenced by getPositionZ(), and setPositionZ().


Generated on Tue Nov 29 23:36:33 2016 for BOSS_7.0.2 by  doxygen 1.4.7