#include <BscG4Hit.h>
Public Member Functions | |
void | addEnergyDeposit (double em, double hd) |
void | addEnergyDeposit (const BscG4Hit &aHit) |
BscG4Hit (const BscG4Hit &right) | |
BscG4Hit () | |
void | Draw () |
double | getEM () const |
double | getEnergyDeposit () const |
float | getEnergyLoss () const |
G4ThreeVector | getEntry () const |
G4ThreeVector | getEntryLocalP () const |
G4ThreeVector | getExitLocalP () const |
double | getHadr () const |
double | getIncidentEnergy () const |
float | getPabs () const |
int | getParentId () const |
int | getParticleType () const |
float | getPhiAtEntry () const |
float | getThetaAtEntry () const |
double | getTimeSlice () const |
int | getTimeSliceID () const |
float | getTof () const |
G4int | getTrackID () const |
unsigned int | getUnitID () const |
float | getVx () const |
float | getVy () const |
float | getVz () const |
float | getX () const |
float | getY () const |
float | getZ () const |
const BscG4Hit & | operator= (const BscG4Hit &right) |
int | operator== (const BscG4Hit &) |
void | Print () |
void | setEM (double e) |
void | setEnergyLoss (float e) |
void | setEntry (G4ThreeVector xyz) |
void | setEntryLocalP (G4ThreeVector xyz1) |
void | setExitLocalP (G4ThreeVector xyz1) |
void | setHadr (double e) |
void | setIncidentEnergy (double e) |
void | setPabs (float e) |
void | setParentId (int p) |
void | setParticleType (short i) |
void | setPhiAtEntry (float f) |
void | setThetaAtEntry (float t) |
void | setTimeSlice (double d) |
void | setTof (float e) |
void | setTrackID (int i) |
void | setUnitID (unsigned int i) |
void | setVx (float p) |
void | setVy (float p) |
void | setVz (float p) |
void | setX (float t) |
void | setY (float t) |
void | setZ (float t) |
~BscG4Hit () | |
Private Attributes | |
double | elem |
G4ThreeVector | entry |
G4ThreeVector | entrylp |
G4ThreeVector | exitlp |
double | hadr |
float | theEnergyLoss |
double | theIncidentEnergy |
float | thePabs |
int | theParentId |
int | theParticleType |
float | thePhiAtEntry |
float | theThetaAtEntry |
double | theTimeSlice |
float | theTof |
G4int | theTrackID |
int | theUnitID |
float | theVx |
float | theVy |
float | theVz |
float | theX |
float | theY |
float | theZ |
Definition at line 20 of file BscG4Hit.h.
BscG4Hit::BscG4Hit | ( | ) |
Definition at line 9 of file BSCG4Hit.cc.
References elem, entrylp, exitlp, hadr, theEnergyLoss, theIncidentEnergy, thePabs, theParentId, theParticleType, thePhiAtEntry, theThetaAtEntry, theTimeSlice, theTof, theTrackID, theUnitID, theVx, theVy, theVz, theX, theY, and theZ.
:entry(0) { entrylp(0); exitlp(0); elem = 0.; hadr = 0.; theIncidentEnergy = 0.; theTimeSlice = 0.; theTrackID = -1; theUnitID = 0; thePabs =0.; theTof=0. ; theEnergyLoss=0. ; theParticleType=0 ; theUnitID=0; theTrackID=-1; theThetaAtEntry=-10000. ; thePhiAtEntry=-10000. ; theParentId=0; theX = 0.; theY = 0.; theZ = 0.; theVx = 0.; theVy = 0.; theVz = 0.; }
BscG4Hit::~BscG4Hit | ( | ) |
Definition at line 38 of file BSCG4Hit.cc.
{}
BscG4Hit::BscG4Hit | ( | const BscG4Hit & | right | ) |
Definition at line 41 of file BSCG4Hit.cc.
References elem, entry, entrylp, exitlp, hadr, theEnergyLoss, theIncidentEnergy, thePabs, theParentId, theParticleType, thePhiAtEntry, theThetaAtEntry, theTimeSlice, theTof, theTrackID, theUnitID, theVx, theVy, theVz, theX, theY, and theZ.
{ theUnitID = right.theUnitID; theTrackID = right.theTrackID; theTof = right.theTof ; theEnergyLoss = right.theEnergyLoss ; theParticleType = right.theParticleType ; thePabs = right.thePabs; elem = right.elem; hadr = right.hadr; theIncidentEnergy = right.theIncidentEnergy; theTimeSlice = right.theTimeSlice; entry = right.entry; entrylp = right.entrylp; exitlp = right.exitlp; theThetaAtEntry = right.theThetaAtEntry; thePhiAtEntry = right.thePhiAtEntry; theParentId = right.theParentId; theX = right.theX; theY = right.theY; theZ = right.theZ; theVx = right.theVx; theVy = right.theVy; theVz = right.theVz; }
void BscG4Hit::addEnergyDeposit | ( | double | em, |
double | hd | ||
) |
Definition at line 143 of file BSCG4Hit.cc.
Referenced by BscSD::UpdateHit().
void BscG4Hit::addEnergyDeposit | ( | const BscG4Hit & | aHit | ) |
void BscG4Hit::Draw | ( | ) | [inline] |
Definition at line 30 of file BscG4Hit.h.
{}
double BscG4Hit::getEM | ( | ) | const |
Definition at line 124 of file BSCG4Hit.cc.
References elem.
Referenced by addEnergyDeposit(), and operator<<().
{return elem; }
double BscG4Hit::getEnergyDeposit | ( | ) | const |
Definition at line 146 of file BSCG4Hit.cc.
Referenced by operator<<().
float BscG4Hit::getEnergyLoss | ( | ) | const |
Definition at line 150 of file BSCG4Hit.cc.
References theEnergyLoss.
Referenced by BscSD::EndOfEvent(), operator<<(), and BscTest::update().
{return theEnergyLoss;}
G4ThreeVector BscG4Hit::getEntry | ( | ) | const |
Definition at line 115 of file BSCG4Hit.cc.
References entry.
Referenced by BscSD::EndOfEvent(), operator<<(), and BscTest::update().
{return entry;}
G4ThreeVector BscG4Hit::getEntryLocalP | ( | ) | const |
Definition at line 118 of file BSCG4Hit.cc.
References entrylp.
Referenced by operator<<(), and BscTest::update().
{return entrylp;}
G4ThreeVector BscG4Hit::getExitLocalP | ( | ) | const |
Definition at line 121 of file BSCG4Hit.cc.
References exitlp.
Referenced by operator<<(), and BscTest::update().
{return exitlp;}
double BscG4Hit::getHadr | ( | ) | const |
Definition at line 127 of file BSCG4Hit.cc.
References hadr.
Referenced by addEnergyDeposit(), and operator<<().
{return hadr; }
double BscG4Hit::getIncidentEnergy | ( | ) | const |
Definition at line 130 of file BSCG4Hit.cc.
References theIncidentEnergy.
Referenced by operator<<().
{return theIncidentEnergy; }
float BscG4Hit::getPabs | ( | ) | const |
Definition at line 148 of file BSCG4Hit.cc.
References thePabs.
Referenced by BscSD::EndOfEvent(), and operator<<().
{return thePabs;}
int BscG4Hit::getParentId | ( | ) | const |
int BscG4Hit::getParticleType | ( | ) | const |
Definition at line 151 of file BSCG4Hit.cc.
References theParticleType.
Referenced by BscSD::EndOfEvent(), and operator<<().
{return theParticleType;}
float BscG4Hit::getPhiAtEntry | ( | ) | const |
Definition at line 159 of file BSCG4Hit.cc.
References thePhiAtEntry.
Referenced by BscSD::EndOfEvent().
{ return thePhiAtEntry;}
float BscG4Hit::getThetaAtEntry | ( | ) | const |
Definition at line 158 of file BSCG4Hit.cc.
References theThetaAtEntry.
Referenced by BscSD::EndOfEvent().
{return theThetaAtEntry;}
double BscG4Hit::getTimeSlice | ( | ) | const |
Definition at line 139 of file BSCG4Hit.cc.
References theTimeSlice.
Referenced by operator<<().
{return theTimeSlice; }
int BscG4Hit::getTimeSliceID | ( | ) | const |
Definition at line 141 of file BSCG4Hit.cc.
References theTimeSlice.
Referenced by BscSD::HitExists(), and operator<<().
{return (int)theTimeSlice;}
float BscG4Hit::getTof | ( | ) | const |
Definition at line 149 of file BSCG4Hit.cc.
References theTof.
Referenced by BscSD::EndOfEvent(), and operator<<().
{return theTof;}
G4int BscG4Hit::getTrackID | ( | ) | const |
Definition at line 133 of file BSCG4Hit.cc.
References theTrackID.
Referenced by BscSD::EndOfEvent(), BscSD::HitExists(), operator<<(), and BscTest::update().
{return theTrackID; }
unsigned int BscG4Hit::getUnitID | ( | ) | const |
Definition at line 136 of file BSCG4Hit.cc.
References theUnitID.
Referenced by BscSD::EndOfEvent(), BscSD::HitExists(), operator<<(), and BscTest::update().
{return theUnitID; }
float BscG4Hit::getVx | ( | ) | const |
float BscG4Hit::getVy | ( | ) | const |
float BscG4Hit::getVz | ( | ) | const |
float BscG4Hit::getX | ( | ) | const |
float BscG4Hit::getY | ( | ) | const |
float BscG4Hit::getZ | ( | ) | const |
Definition at line 72 of file BSCG4Hit.cc.
References elem, entry, entrylp, exitlp, hadr, theEnergyLoss, theIncidentEnergy, thePabs, theParentId, theParticleType, thePhiAtEntry, theThetaAtEntry, theTimeSlice, theTof, theTrackID, theUnitID, theVx, theVy, theVz, theX, theY, and theZ.
{ theUnitID = right.theUnitID; theTrackID = right.theTrackID; theTof = right.theTof ; theEnergyLoss = right.theEnergyLoss ; theParticleType = right.theParticleType ; thePabs = right.thePabs; elem = right.elem; hadr = right.hadr; theIncidentEnergy = right.theIncidentEnergy; theTimeSlice = right.theTimeSlice; entry = right.entry; entrylp = right.entrylp; exitlp = right.exitlp; theThetaAtEntry = right.theThetaAtEntry; thePhiAtEntry = right.thePhiAtEntry; theParentId = right.theParentId; theX = right.theX; theY = right.theY; theZ = right.theZ; theVx = right.theVx; theVy = right.theVy; theVz = right.theVz; return *this; }
int BscG4Hit::operator== | ( | const BscG4Hit & | ) | [inline] |
Definition at line 28 of file BscG4Hit.h.
{return 0;}
void BscG4Hit::Print | ( | void | ) |
void BscG4Hit::setEM | ( | double | e | ) |
void BscG4Hit::setEnergyLoss | ( | float | e | ) |
Definition at line 155 of file BSCG4Hit.cc.
References alignCSCRings::e, and theEnergyLoss.
Referenced by BscSD::CreateNewHit(), and BscSD::UpdateHit().
{theEnergyLoss = e;}
void BscG4Hit::setEntry | ( | G4ThreeVector | xyz | ) |
void BscG4Hit::setEntryLocalP | ( | G4ThreeVector | xyz1 | ) |
Definition at line 119 of file BSCG4Hit.cc.
References entrylp.
Referenced by BscSD::CreateNewHit().
{ entrylp = xyz1; }
void BscG4Hit::setExitLocalP | ( | G4ThreeVector | xyz1 | ) |
Definition at line 122 of file BSCG4Hit.cc.
References exitlp.
Referenced by BscSD::CreateNewHit().
{ exitlp = xyz1; }
void BscG4Hit::setHadr | ( | double | e | ) |
void BscG4Hit::setIncidentEnergy | ( | double | e | ) |
Definition at line 131 of file BSCG4Hit.cc.
References alignCSCRings::e, and theIncidentEnergy.
Referenced by BscSD::CreateNewHit().
{theIncidentEnergy = e; }
void BscG4Hit::setPabs | ( | float | e | ) |
Definition at line 153 of file BSCG4Hit.cc.
References alignCSCRings::e, and thePabs.
Referenced by BscSD::CreateNewHit().
void BscG4Hit::setParentId | ( | int | p | ) |
Definition at line 174 of file BSCG4Hit.cc.
References AlCaHLTBitMon_ParallelJobs::p, and theParentId.
Referenced by BscSD::CreateNewHit().
{theParentId = p;}
void BscG4Hit::setParticleType | ( | short | i | ) |
Definition at line 156 of file BSCG4Hit.cc.
References i, and theParticleType.
Referenced by BscSD::CreateNewHit().
{theParticleType = i;}
void BscG4Hit::setPhiAtEntry | ( | float | f | ) |
Definition at line 162 of file BSCG4Hit.cc.
References f, and thePhiAtEntry.
Referenced by BscSD::CreateNewHit().
{thePhiAtEntry = f ;}
void BscG4Hit::setThetaAtEntry | ( | float | t | ) |
Definition at line 161 of file BSCG4Hit.cc.
References lumiQTWidget::t, and theThetaAtEntry.
Referenced by BscSD::CreateNewHit().
{theThetaAtEntry = t;}
void BscG4Hit::setTimeSlice | ( | double | d | ) |
Definition at line 140 of file BSCG4Hit.cc.
References theTimeSlice.
Referenced by BscSD::CreateNewHit().
{ theTimeSlice = d; }
void BscG4Hit::setTof | ( | float | e | ) |
Definition at line 154 of file BSCG4Hit.cc.
References alignCSCRings::e, and theTof.
Referenced by BscSD::CreateNewHit().
void BscG4Hit::setTrackID | ( | int | i | ) |
Definition at line 134 of file BSCG4Hit.cc.
References i, and theTrackID.
Referenced by BscSD::CreateNewHit().
{ theTrackID = i; }
void BscG4Hit::setUnitID | ( | unsigned int | i | ) |
Definition at line 137 of file BSCG4Hit.cc.
Referenced by BscSD::CreateNewHit().
void BscG4Hit::setVx | ( | float | p | ) |
Definition at line 177 of file BSCG4Hit.cc.
References lumiQTWidget::t, and theVx.
Referenced by BscSD::CreateNewHit().
void BscG4Hit::setVy | ( | float | p | ) |
Definition at line 180 of file BSCG4Hit.cc.
References lumiQTWidget::t, and theVy.
Referenced by BscSD::CreateNewHit().
void BscG4Hit::setVz | ( | float | p | ) |
Definition at line 183 of file BSCG4Hit.cc.
References lumiQTWidget::t, and theVz.
Referenced by BscSD::CreateNewHit().
void BscG4Hit::setX | ( | float | t | ) |
Definition at line 165 of file BSCG4Hit.cc.
References lumiQTWidget::t, and theX.
Referenced by BscSD::CreateNewHit().
void BscG4Hit::setY | ( | float | t | ) |
Definition at line 168 of file BSCG4Hit.cc.
References lumiQTWidget::t, and theY.
Referenced by BscSD::CreateNewHit().
void BscG4Hit::setZ | ( | float | t | ) |
Definition at line 171 of file BSCG4Hit.cc.
References lumiQTWidget::t, and theZ.
Referenced by BscSD::CreateNewHit().
double BscG4Hit::elem [private] |
Definition at line 108 of file BscG4Hit.h.
Referenced by addEnergyDeposit(), BscG4Hit(), getEM(), getEnergyDeposit(), operator=(), and setEM().
G4ThreeVector BscG4Hit::entry [private] |
Definition at line 105 of file BscG4Hit.h.
Referenced by BscG4Hit(), getEntry(), and operator=().
G4ThreeVector BscG4Hit::entrylp [private] |
Definition at line 106 of file BscG4Hit.h.
Referenced by BscG4Hit(), getEntryLocalP(), operator=(), and setEntryLocalP().
G4ThreeVector BscG4Hit::exitlp [private] |
Definition at line 107 of file BscG4Hit.h.
Referenced by BscG4Hit(), getExitLocalP(), operator=(), and setExitLocalP().
double BscG4Hit::hadr [private] |
Definition at line 109 of file BscG4Hit.h.
Referenced by addEnergyDeposit(), BscG4Hit(), getEnergyDeposit(), getHadr(), operator=(), and setHadr().
float BscG4Hit::theEnergyLoss [private] |
Definition at line 122 of file BscG4Hit.h.
Referenced by BscG4Hit(), getEnergyLoss(), operator=(), and setEnergyLoss().
double BscG4Hit::theIncidentEnergy [private] |
Definition at line 110 of file BscG4Hit.h.
Referenced by BscG4Hit(), getIncidentEnergy(), operator=(), and setIncidentEnergy().
float BscG4Hit::thePabs [private] |
Definition at line 120 of file BscG4Hit.h.
Referenced by BscG4Hit(), getPabs(), operator=(), and setPabs().
int BscG4Hit::theParentId [private] |
Definition at line 129 of file BscG4Hit.h.
Referenced by BscG4Hit(), getParentId(), operator=(), and setParentId().
int BscG4Hit::theParticleType [private] |
Definition at line 123 of file BscG4Hit.h.
Referenced by BscG4Hit(), getParticleType(), operator=(), and setParticleType().
float BscG4Hit::thePhiAtEntry [private] |
Definition at line 127 of file BscG4Hit.h.
Referenced by BscG4Hit(), getPhiAtEntry(), operator=(), and setPhiAtEntry().
float BscG4Hit::theThetaAtEntry [private] |
Definition at line 126 of file BscG4Hit.h.
Referenced by BscG4Hit(), getThetaAtEntry(), operator=(), and setThetaAtEntry().
double BscG4Hit::theTimeSlice [private] |
Definition at line 113 of file BscG4Hit.h.
Referenced by BscG4Hit(), getTimeSlice(), getTimeSliceID(), operator=(), and setTimeSlice().
float BscG4Hit::theTof [private] |
Definition at line 121 of file BscG4Hit.h.
Referenced by BscG4Hit(), getTof(), operator=(), and setTof().
G4int BscG4Hit::theTrackID [private] |
Definition at line 111 of file BscG4Hit.h.
Referenced by BscG4Hit(), getTrackID(), operator=(), and setTrackID().
int BscG4Hit::theUnitID [private] |
Definition at line 115 of file BscG4Hit.h.
Referenced by BscG4Hit(), getUnitID(), operator=(), and setUnitID().
float BscG4Hit::theVx [private] |
Definition at line 130 of file BscG4Hit.h.
Referenced by BscG4Hit(), getVx(), operator=(), and setVx().
float BscG4Hit::theVy [private] |
Definition at line 131 of file BscG4Hit.h.
Referenced by BscG4Hit(), getVy(), operator=(), and setVy().
float BscG4Hit::theVz [private] |
Definition at line 132 of file BscG4Hit.h.
Referenced by BscG4Hit(), getVz(), operator=(), and setVz().
float BscG4Hit::theX [private] |
Definition at line 117 of file BscG4Hit.h.
Referenced by BscG4Hit(), getX(), operator=(), and setX().
float BscG4Hit::theY [private] |
Definition at line 118 of file BscG4Hit.h.
Referenced by BscG4Hit(), getY(), operator=(), and setY().
float BscG4Hit::theZ [private] |
Definition at line 119 of file BscG4Hit.h.
Referenced by BscG4Hit(), getZ(), operator=(), and setZ().