WCSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
WCSimEventAction Class Reference

#include <WCSimEventAction.hh>

Inheritance diagram for WCSimEventAction:

Public Member Functions

 WCSimEventAction (WCSimRunAction *, WCSimDetectorConstruction *, WCSimPrimaryGeneratorAction *)
 
 ~WCSimEventAction ()
 
void BeginOfEventAction (const G4Event *)
 
void EndOfEventAction (const G4Event *)
 
void FillRootEvent (G4int, const struct ntupleStruct &, G4TrajectoryContainer *, WCSimWCDigitsCollection *, WCSimWCTriggeredDigitsCollection *, G4String detectorElement="tank")
 
WCSimRunActionGetRunAction ()
 
void SetDigitizerChoice (G4String digitizer)
 
void SetTriggerChoice (G4String trigger)
 
void SetRelativeDigitizedHitTime (bool val)
 

Private Member Functions

G4int WCSimEventFindStartingVolume (G4ThreeVector vtx)
 
G4int WCSimEventFindStoppingVolume (G4String stopVolumeName)
 
void CreateDAQInstances ()
 Create instances of the user-chosen digitizer and trigger classes. More...
 

Private Attributes

WCSimRunActionrunAction
 
WCSimPrimaryGeneratorActiongeneratorAction
 
WCSimDetectorConstructiondetectorConstructor
 
WCSimWCDAQMessengerDAQMessenger
 
G4String DigitizerChoice
 
G4String TriggerChoice
 
bool RelativeHitTime
 
bool ConstructedDAQClasses
 
bool SavedOptions
 

Detailed Description

Definition at line 21 of file WCSimEventAction.hh.

Constructor & Destructor Documentation

WCSimEventAction::WCSimEventAction ( WCSimRunAction myRun,
WCSimDetectorConstruction myDetector,
WCSimPrimaryGeneratorAction myGenerator 
)

Definition at line 62 of file WCSimEventAction.cc.

WCSimEventAction::~WCSimEventAction ( )

Definition at line 94 of file WCSimEventAction.cc.

Member Function Documentation

void WCSimEventAction::BeginOfEventAction ( const G4Event *  )

Definition at line 171 of file WCSimEventAction.cc.

void WCSimEventAction::CreateDAQInstances ( )
private

Create instances of the user-chosen digitizer and trigger classes.

Definition at line 99 of file WCSimEventAction.cc.

void WCSimEventAction::EndOfEventAction ( const G4Event *  evt)

Definition at line 182 of file WCSimEventAction.cc.

void WCSimEventAction::FillRootEvent ( G4int  event_id,
const struct ntupleStruct jhfNtuple,
G4TrajectoryContainer *  TC,
WCSimWCDigitsCollection WCDC_hits,
WCSimWCTriggeredDigitsCollection WCDC,
G4String  detectorElement = "tank" 
)

Definition at line 805 of file WCSimEventAction.cc.

WCSimRunAction* WCSimEventAction::GetRunAction ( )
inline

Definition at line 43 of file WCSimEventAction.hh.

void WCSimEventAction::SetDigitizerChoice ( G4String  digitizer)
inline

Definition at line 44 of file WCSimEventAction.hh.

void WCSimEventAction::SetRelativeDigitizedHitTime ( bool  val)
inline

Definition at line 46 of file WCSimEventAction.hh.

void WCSimEventAction::SetTriggerChoice ( G4String  trigger)
inline

Definition at line 45 of file WCSimEventAction.hh.

G4int WCSimEventAction::WCSimEventFindStartingVolume ( G4ThreeVector  vtx)
private

Definition at line 709 of file WCSimEventAction.cc.

G4int WCSimEventAction::WCSimEventFindStoppingVolume ( G4String  stopVolumeName)
private

Definition at line 758 of file WCSimEventAction.cc.

Member Data Documentation

bool WCSimEventAction::ConstructedDAQClasses
private

Definition at line 58 of file WCSimEventAction.hh.

WCSimWCDAQMessenger* WCSimEventAction::DAQMessenger
private

Definition at line 27 of file WCSimEventAction.hh.

WCSimDetectorConstruction* WCSimEventAction::detectorConstructor
private

Definition at line 26 of file WCSimEventAction.hh.

G4String WCSimEventAction::DigitizerChoice
private

Definition at line 55 of file WCSimEventAction.hh.

WCSimPrimaryGeneratorAction* WCSimEventAction::generatorAction
private

Definition at line 25 of file WCSimEventAction.hh.

bool WCSimEventAction::RelativeHitTime
private

Definition at line 57 of file WCSimEventAction.hh.

WCSimRunAction* WCSimEventAction::runAction
private

Definition at line 24 of file WCSimEventAction.hh.

bool WCSimEventAction::SavedOptions
private

Definition at line 59 of file WCSimEventAction.hh.

G4String WCSimEventAction::TriggerChoice
private

Definition at line 56 of file WCSimEventAction.hh.


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