WCSim
Public Member Functions | Private Attributes | List of all members
WCSimRootCapture Class Reference

Class used specifically for neutron capture events. More...

#include <WCSimRootEvent.hh>

Inheritance diagram for WCSimRootCapture:
Inheritance graph
Collaboration diagram for WCSimRootCapture:
Collaboration graph

Public Member Functions

 WCSimRootCapture ()
 
 WCSimRootCapture (Int_t captureParent)
 
virtual ~WCSimRootCapture ()
 
bool CompareAllVariables (const WCSimRootCapture *c) const
 
void SetInfo (Double_t captureVtx[3], Double_t captureT, Int_t captureNucleus)
 
void AddGamma (Int_t gammaID, Double_t gammaE, Double_t gammaDir[3])
 
Int_t GetCaptureParent () const
 
Float_t GetCaptureVtx (int i) const
 
Int_t GetNGamma () const
 
Float_t GetTotalGammaE () const
 
Float_t GetCaptureT () const
 
Int_t GetCaptureNucleus () const
 
TClonesArray * GetGammas () const
 

Private Attributes

Int_t fCaptureParent
 Track ID of the parent neutron. More...
 
Float_t fCaptureVtx [3]
 Position of the neutron capture (x,y,z) (unit: cm) More...
 
Int_t fNGamma
 Number of gammas produced by the neutron capture. More...
 
Float_t fTotalGammaE
 Total gamma energy produced by the neutron capture (unit: MeV) More...
 
Float_t fCaptureT
 Time of the neutron capture (unit: ns) More...
 
Int_t fCaptureNucleus
 Nucleus the neutron captured on. More...
 
TClonesArray * fGammas
 Array of WCSimRootCaptureGamma storing detailed information about individual gammas released from the neutron capture. More...
 
bool IsZombie
 Will be true if unfilled, false if filled. More...
 

Detailed Description

Class used specifically for neutron capture events.

Definition at line 371 of file WCSimRootEvent.hh.

Constructor & Destructor Documentation

◆ WCSimRootCapture() [1/2]

WCSimRootCapture::WCSimRootCapture ( )
inline

Definition at line 385 of file WCSimRootEvent.hh.

◆ WCSimRootCapture() [2/2]

WCSimRootCapture::WCSimRootCapture ( Int_t  captureParent)

Definition at line 352 of file WCSimRootEvent.cc.

◆ ~WCSimRootCapture()

WCSimRootCapture::~WCSimRootCapture ( )
virtual

Definition at line 363 of file WCSimRootEvent.cc.

Member Function Documentation

◆ AddGamma()

void WCSimRootCapture::AddGamma ( Int_t  gammaID,
Double_t  gammaE,
Double_t  gammaDir[3] 
)

Definition at line 384 of file WCSimRootEvent.cc.

◆ CompareAllVariables()

bool WCSimRootCapture::CompareAllVariables ( const WCSimRootCapture c) const

Definition at line 952 of file WCSimRootEvent.cc.

◆ GetCaptureNucleus()

Int_t WCSimRootCapture::GetCaptureNucleus ( ) const
inline

Definition at line 409 of file WCSimRootEvent.hh.

◆ GetCaptureParent()

Int_t WCSimRootCapture::GetCaptureParent ( ) const
inline

Definition at line 404 of file WCSimRootEvent.hh.

◆ GetCaptureT()

Float_t WCSimRootCapture::GetCaptureT ( ) const
inline

Definition at line 408 of file WCSimRootEvent.hh.

◆ GetCaptureVtx()

Float_t WCSimRootCapture::GetCaptureVtx ( int  i) const
inline

Definition at line 405 of file WCSimRootEvent.hh.

◆ GetGammas()

TClonesArray* WCSimRootCapture::GetGammas ( ) const
inline

Definition at line 410 of file WCSimRootEvent.hh.

◆ GetNGamma()

Int_t WCSimRootCapture::GetNGamma ( ) const
inline

Definition at line 406 of file WCSimRootEvent.hh.

◆ GetTotalGammaE()

Float_t WCSimRootCapture::GetTotalGammaE ( ) const
inline

Definition at line 407 of file WCSimRootEvent.hh.

◆ SetInfo()

void WCSimRootCapture::SetInfo ( Double_t  captureVtx[3],
Double_t  captureT,
Int_t  captureNucleus 
)

Definition at line 373 of file WCSimRootEvent.cc.

Member Data Documentation

◆ fCaptureNucleus

Int_t WCSimRootCapture::fCaptureNucleus
private

Nucleus the neutron captured on.

Definition at line 380 of file WCSimRootEvent.hh.

◆ fCaptureParent

Int_t WCSimRootCapture::fCaptureParent
private

Track ID of the parent neutron.

Definition at line 375 of file WCSimRootEvent.hh.

◆ fCaptureT

Float_t WCSimRootCapture::fCaptureT
private

Time of the neutron capture (unit: ns)

Definition at line 379 of file WCSimRootEvent.hh.

◆ fCaptureVtx

Float_t WCSimRootCapture::fCaptureVtx[3]
private

Position of the neutron capture (x,y,z) (unit: cm)

Definition at line 376 of file WCSimRootEvent.hh.

◆ fGammas

TClonesArray* WCSimRootCapture::fGammas
private

Array of WCSimRootCaptureGamma storing detailed information about individual gammas released from the neutron capture.

Definition at line 381 of file WCSimRootEvent.hh.

◆ fNGamma

Int_t WCSimRootCapture::fNGamma
private

Number of gammas produced by the neutron capture.

Definition at line 377 of file WCSimRootEvent.hh.

◆ fTotalGammaE

Float_t WCSimRootCapture::fTotalGammaE
private

Total gamma energy produced by the neutron capture (unit: MeV)

Definition at line 378 of file WCSimRootEvent.hh.

◆ IsZombie

bool WCSimRootCapture::IsZombie
private

Will be true if unfilled, false if filled.

Definition at line 382 of file WCSimRootEvent.hh.


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