ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
doiPETRun Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/doiPET/include/doiPETRun.hh>

+ Inheritance diagram for doiPETRun:
+ Collaboration diagram for doiPETRun:

Public Member Functions

 doiPETRun ()
 
 ~doiPETRun ()
 
void GetIntractionInfomation (InteractionInformation *)
 
void FindInteractingCrystal ()
 
void Clear ()
 
void OpenRun (G4String)
 
void GetEventIDRun (G4int)
 
void CalulateAcquisitionTime ()
 
void SetAnnihilationTime (G4double)
 
void SetEventID (G4int)
 
virtual void Merge (const G4Run *)
 
- Public Member Functions inherited from G4Run
 G4Run ()
 
virtual ~G4Run ()
 
virtual void RecordEvent (const G4Event *)
 
G4int GetRunID () const
 
G4int GetNumberOfEvent () const
 
G4int GetNumberOfEventToBeProcessed () const
 
const G4HCtableGetHCtable () const
 
const G4DCtableGetDCtable () const
 
const G4StringGetRandomNumberStatus () const
 
void SetRunID (G4int id)
 
void SetNumberOfEventToBeProcessed (G4int n_ev)
 
void SetHCtable (G4HCtable *HCtbl)
 
void SetDCtable (G4DCtable *DCtbl)
 
void SetRandomNumberStatus (G4String &st)
 
void StoreEvent (G4Event *evt)
 
const std::vector< const
G4Event * > * 
GetEventVector () const
 

Private Attributes

std::multimap< G4int,
InteractionInformation * > 
mapBlockInteraction
 
std::set< G4intsetBlockInteraction
 
std::ofstream ofs
 
G4int eventID
 
doiPETRunActionfRunAction
 
doiPETAnalysisfAnalysis
 
G4double totalEdep
 
G4int blockID
 
G4int crystalID
 
G4double activityNow
 
G4double InitialActivity
 
G4double halfLife
 
G4double totalTime
 
G4double prev_totalTime
 
G4double timeInterval
 
G4ThreeVector interactionPos
 
G4double interactionTime
 
G4double timeOfAnnihil
 
G4int numberofInteractions
 
G4double edep
 
G4double edepMax
 
G4double edep_AfterCrystalBlurring
 

Additional Inherited Members

- Protected Attributes inherited from G4Run
G4int runID
 
G4int numberOfEvent
 
G4int numberOfEventToBeProcessed
 
G4HCtableHCtable
 
G4DCtableDCtable
 
G4String randomNumberStatus
 
std::vector< const G4Event * > * eventVector
 

Detailed Description

Definition at line 52 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 52 of file doiPETRun.hh

Constructor & Destructor Documentation

doiPETRun::doiPETRun ( )

Definition at line 43 of file doiPETRun.cc.

View newest version in sPHENIX GitHub at line 43 of file doiPETRun.cc

References keV, prev_totalTime, totalEdep, and totalTime.

doiPETRun::~doiPETRun ( )

Definition at line 54 of file doiPETRun.cc.

View newest version in sPHENIX GitHub at line 54 of file doiPETRun.cc

Member Function Documentation

void doiPETRun::CalulateAcquisitionTime ( )
void doiPETRun::Clear ( )

Definition at line 105 of file doiPETRun.cc.

View newest version in sPHENIX GitHub at line 105 of file doiPETRun.cc

References mapBlockInteraction, and setBlockInteraction.

Referenced by doiPETEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

void doiPETRun::FindInteractingCrystal ( )

Definition at line 70 of file doiPETRun.cc.

View newest version in sPHENIX GitHub at line 70 of file doiPETRun.cc

References blockID, crystalID, edep, edep_AfterCrystalBlurring, edepMax, doiPETAnalysis::GetInstance(), interactionPos, interactionTime, mapBlockInteraction, numberofInteractions, doiPETAnalysis::QuantumEffifciency(), doiPETAnalysis::ReadOut(), setBlockInteraction, timeOfAnnihil, and totalEdep.

Referenced by doiPETEventAction::EndOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void doiPETRun::GetEventIDRun ( G4int  evt)

Definition at line 117 of file doiPETRun.cc.

View newest version in sPHENIX GitHub at line 117 of file doiPETRun.cc

References eventID.

void doiPETRun::GetIntractionInfomation ( InteractionInformation step)

Definition at line 58 of file doiPETRun.cc.

View newest version in sPHENIX GitHub at line 58 of file doiPETRun.cc

References InteractionInformation::GetBlockNo(), mapBlockInteraction, setBlockInteraction, and Acts::Test::step().

Referenced by doiPETSteppingAction::UserSteppingAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void doiPETRun::Merge ( const G4Run run)
virtual

Reimplemented from G4Run.

Definition at line 123 of file doiPETRun.cc.

View newest version in sPHENIX GitHub at line 123 of file doiPETRun.cc

References G4Run::Merge().

+ Here is the call graph for this function:

void doiPETRun::OpenRun ( G4String  )
void doiPETRun::SetAnnihilationTime ( G4double  t)

Definition at line 101 of file doiPETRun.cc.

View newest version in sPHENIX GitHub at line 101 of file doiPETRun.cc

References t, and timeOfAnnihil.

Referenced by doiPETSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

void doiPETRun::SetEventID ( G4int  )

Member Data Documentation

G4double doiPETRun::activityNow
private

Definition at line 83 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 83 of file doiPETRun.hh

G4int doiPETRun::blockID
private

Definition at line 80 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 80 of file doiPETRun.hh

Referenced by FindInteractingCrystal().

G4int doiPETRun::crystalID
private

Definition at line 80 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 80 of file doiPETRun.hh

Referenced by FindInteractingCrystal().

G4double doiPETRun::edep
private

Definition at line 97 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 97 of file doiPETRun.hh

Referenced by FindInteractingCrystal().

G4double doiPETRun::edep_AfterCrystalBlurring
private

Definition at line 99 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 99 of file doiPETRun.hh

Referenced by FindInteractingCrystal().

G4double doiPETRun::edepMax
private

Definition at line 98 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 98 of file doiPETRun.hh

Referenced by FindInteractingCrystal().

G4int doiPETRun::eventID
private

Definition at line 76 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 76 of file doiPETRun.hh

Referenced by GetEventIDRun().

doiPETAnalysis* doiPETRun::fAnalysis
private

Definition at line 78 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 78 of file doiPETRun.hh

doiPETRunAction* doiPETRun::fRunAction
private

Definition at line 77 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 77 of file doiPETRun.hh

G4double doiPETRun::halfLife
private

Definition at line 85 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 85 of file doiPETRun.hh

G4double doiPETRun::InitialActivity
private

Definition at line 84 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 84 of file doiPETRun.hh

G4ThreeVector doiPETRun::interactionPos
private

Definition at line 91 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 91 of file doiPETRun.hh

Referenced by FindInteractingCrystal().

G4double doiPETRun::interactionTime
private

Definition at line 93 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 93 of file doiPETRun.hh

Referenced by FindInteractingCrystal().

std::multimap< G4int, InteractionInformation* > doiPETRun::mapBlockInteraction
private

Definition at line 73 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 73 of file doiPETRun.hh

Referenced by Clear(), FindInteractingCrystal(), and GetIntractionInfomation().

G4int doiPETRun::numberofInteractions
private

Definition at line 96 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 96 of file doiPETRun.hh

Referenced by FindInteractingCrystal().

std::ofstream doiPETRun::ofs
private

Definition at line 75 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 75 of file doiPETRun.hh

G4double doiPETRun::prev_totalTime
private

Definition at line 88 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 88 of file doiPETRun.hh

Referenced by doiPETRun().

std::set<G4int> doiPETRun::setBlockInteraction
private

Definition at line 74 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 74 of file doiPETRun.hh

Referenced by Clear(), FindInteractingCrystal(), and GetIntractionInfomation().

G4double doiPETRun::timeInterval
private

Definition at line 89 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 89 of file doiPETRun.hh

G4double doiPETRun::timeOfAnnihil
private

Definition at line 94 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 94 of file doiPETRun.hh

Referenced by FindInteractingCrystal(), and SetAnnihilationTime().

G4double doiPETRun::totalEdep
private

Definition at line 79 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 79 of file doiPETRun.hh

Referenced by doiPETRun(), and FindInteractingCrystal().

G4double doiPETRun::totalTime
private

Definition at line 87 of file doiPETRun.hh.

View newest version in sPHENIX GitHub at line 87 of file doiPETRun.hh

Referenced by doiPETRun().


The documentation for this class was generated from the following files: