#include <FiberG4Hit.h>
Public Member Functions | |
void | add (G4int npe) |
G4int | depth () const |
FiberG4Hit (G4LogicalVolume *logVol, G4int tower, G4int depth, G4int tkID) | |
FiberG4Hit (const FiberG4Hit &right) | |
FiberG4Hit () | |
math::XYZPoint | hitPos () const |
G4int | npe () const |
void | operator delete (void *aHit) |
void * | operator new (size_t) |
const FiberG4Hit & | operator= (const FiberG4Hit &right) |
G4int | operator== (const FiberG4Hit &right) const |
std::vector< HFShowerPhoton > | photon () const |
void | setDepth (G4int depth) |
void | setNpe (G4int npe) |
void | setPhoton (std::vector< HFShowerPhoton > photon) |
void | setPos (math::XYZPoint xyz) |
void | setTime (G4double t) |
void | setTowerId (G4int tower) |
G4double | time () const |
G4int | towerId () const |
G4int | trackId () const |
virtual | ~FiberG4Hit () |
Private Attributes | |
G4int | theDepth |
math::XYZPoint | theHitPos |
const G4LogicalVolume * | theLogV |
G4int | theNpe |
std::vector< HFShowerPhoton > | thePhoton |
G4double | theTime |
G4int | theTowerId |
G4int | theTrackId |
Definition at line 15 of file FiberG4Hit.h.
FiberG4Hit::FiberG4Hit | ( | ) |
Definition at line 7 of file FiberG4Hit.cc.
References theHitPos.
: theTowerId(0), theDepth(0), theTrackId(0), theNpe(0), theTime(0), theLogV(0) { theHitPos.SetCoordinates(0.,0.,0.); }
FiberG4Hit::FiberG4Hit | ( | G4LogicalVolume * | logVol, |
G4int | tower, | ||
G4int | depth, | ||
G4int | tkID | ||
) |
Definition at line 12 of file FiberG4Hit.cc.
References theHitPos.
: theTowerId(tower), theDepth(depth), theTrackId(tkID), theNpe(0), theTime(0), theLogV(logVol) { theHitPos.SetCoordinates(0.,0.,0.); }
FiberG4Hit::~FiberG4Hit | ( | ) | [virtual] |
Definition at line 19 of file FiberG4Hit.cc.
{}
FiberG4Hit::FiberG4Hit | ( | const FiberG4Hit & | right | ) |
Definition at line 21 of file FiberG4Hit.cc.
References theDepth, theHitPos, theLogV, theNpe, theTime, and theTowerId.
void FiberG4Hit::add | ( | G4int | npe | ) | [inline] |
G4int FiberG4Hit::depth | ( | ) | const [inline] |
Definition at line 50 of file FiberG4Hit.h.
References theDepth.
Referenced by operator<<(), setDepth(), and HcalForwardAnalysis::setPhotons().
{return theDepth;}
math::XYZPoint FiberG4Hit::hitPos | ( | ) | const [inline] |
Definition at line 53 of file FiberG4Hit.h.
References theHitPos.
Referenced by operator<<().
{return theHitPos;};
G4int FiberG4Hit::npe | ( | ) | const [inline] |
Definition at line 52 of file FiberG4Hit.h.
References theNpe.
Referenced by add(), operator<<(), and setNpe().
{return theNpe;}
void FiberG4Hit::operator delete | ( | void * | aHit | ) | [inline] |
Definition at line 69 of file FiberG4Hit.h.
References FiberG4HitAllocator.
{ FiberG4HitAllocator.FreeSingle((FiberG4Hit*) aHit); }
void * FiberG4Hit::operator new | ( | size_t | ) | [inline] |
Definition at line 63 of file FiberG4Hit.h.
References FiberG4HitAllocator.
{ void* aHit; aHit = (void*) FiberG4HitAllocator.MallocSingle(); return aHit; }
const FiberG4Hit & FiberG4Hit::operator= | ( | const FiberG4Hit & | right | ) |
Definition at line 30 of file FiberG4Hit.cc.
References theDepth, theHitPos, theLogV, theNpe, theTime, and theTowerId.
int FiberG4Hit::operator== | ( | const FiberG4Hit & | right | ) | const |
Definition at line 40 of file FiberG4Hit.cc.
{ return (this==&right) ? 1 : 0; }
std::vector<HFShowerPhoton> FiberG4Hit::photon | ( | ) | const [inline] |
Definition at line 55 of file FiberG4Hit.h.
References thePhoton.
Referenced by setPhoton(), and HcalForwardAnalysis::setPhotons().
{return thePhoton;}
void FiberG4Hit::setDepth | ( | G4int | depth | ) | [inline] |
void FiberG4Hit::setNpe | ( | G4int | npe | ) | [inline] |
void FiberG4Hit::setPhoton | ( | std::vector< HFShowerPhoton > | photon | ) | [inline] |
void FiberG4Hit::setPos | ( | math::XYZPoint | xyz | ) | [inline] |
void FiberG4Hit::setTime | ( | G4double | t | ) | [inline] |
Definition at line 46 of file FiberG4Hit.h.
References matplotRender::t, and theTime.
void FiberG4Hit::setTowerId | ( | G4int | tower | ) | [inline] |
G4double FiberG4Hit::time | ( | ) | const [inline] |
Definition at line 54 of file FiberG4Hit.h.
References theTime.
Referenced by operator<<().
{return theTime;}
G4int FiberG4Hit::towerId | ( | ) | const [inline] |
Definition at line 49 of file FiberG4Hit.h.
References theTowerId.
Referenced by operator<<(), and HcalForwardAnalysis::setPhotons().
{return theTowerId;}
G4int FiberG4Hit::trackId | ( | ) | const [inline] |
Definition at line 51 of file FiberG4Hit.h.
References theTrackId.
Referenced by operator<<().
{return theTrackId;}
G4int FiberG4Hit::theDepth [private] |
Definition at line 32 of file FiberG4Hit.h.
Referenced by depth(), FiberG4Hit(), operator=(), and setDepth().
math::XYZPoint FiberG4Hit::theHitPos [private] |
Definition at line 36 of file FiberG4Hit.h.
Referenced by FiberG4Hit(), hitPos(), operator=(), and setPos().
const G4LogicalVolume* FiberG4Hit::theLogV [private] |
Definition at line 38 of file FiberG4Hit.h.
Referenced by FiberG4Hit(), and operator=().
G4int FiberG4Hit::theNpe [private] |
Definition at line 34 of file FiberG4Hit.h.
Referenced by add(), FiberG4Hit(), npe(), operator=(), and setNpe().
std::vector<HFShowerPhoton> FiberG4Hit::thePhoton [private] |
Definition at line 37 of file FiberG4Hit.h.
Referenced by photon(), and setPhoton().
G4double FiberG4Hit::theTime [private] |
Definition at line 35 of file FiberG4Hit.h.
Referenced by FiberG4Hit(), operator=(), setTime(), and time().
G4int FiberG4Hit::theTowerId [private] |
Definition at line 31 of file FiberG4Hit.h.
Referenced by FiberG4Hit(), operator=(), setTowerId(), and towerId().
G4int FiberG4Hit::theTrackId [private] |
Definition at line 33 of file FiberG4Hit.h.
Referenced by trackId().