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

Class storing information about gammas released from neutron capture. More...

#include <WCSimRootEvent.hh>

Inheritance diagram for WCSimRootCaptureGamma:
Inheritance graph
Collaboration diagram for WCSimRootCaptureGamma:
Collaboration graph

Public Member Functions

 WCSimRootCaptureGamma ()
 
 WCSimRootCaptureGamma (Int_t id, Double_t energy, Double_t dir[3])
 
virtual ~WCSimRootCaptureGamma ()
 
bool CompareAllVariables (const WCSimRootCaptureGamma *c) const
 
Int_t GetID () const
 
Float_t GetE () const
 
Float_t GetDir (int i) const
 

Private Attributes

Int_t fID
 Truth matching. Track ID of the gamma. More...
 
Float_t fEnergy
 Energy of the gamma (unit: MeV) More...
 
Float_t fDir [3]
 Direction unit vector (x,y,z) of the gamma. More...
 

Detailed Description

Class storing information about gammas released from neutron capture.

Definition at line 341 of file WCSimRootEvent.hh.

Constructor & Destructor Documentation

◆ WCSimRootCaptureGamma() [1/2]

WCSimRootCaptureGamma::WCSimRootCaptureGamma ( )
inline

Definition at line 349 of file WCSimRootEvent.hh.

◆ WCSimRootCaptureGamma() [2/2]

WCSimRootCaptureGamma::WCSimRootCaptureGamma ( Int_t  id,
Double_t  energy,
Double_t  dir[3] 
)

◆ ~WCSimRootCaptureGamma()

virtual WCSimRootCaptureGamma::~WCSimRootCaptureGamma ( )
inlinevirtual

Definition at line 355 of file WCSimRootEvent.hh.

Member Function Documentation

◆ CompareAllVariables()

bool WCSimRootCaptureGamma::CompareAllVariables ( const WCSimRootCaptureGamma c) const

Definition at line 939 of file WCSimRootEvent.cc.

◆ GetDir()

Float_t WCSimRootCaptureGamma::GetDir ( int  i) const
inline

Definition at line 360 of file WCSimRootEvent.hh.

◆ GetE()

Float_t WCSimRootCaptureGamma::GetE ( ) const
inline

Definition at line 359 of file WCSimRootEvent.hh.

◆ GetID()

Int_t WCSimRootCaptureGamma::GetID ( ) const
inline

Definition at line 358 of file WCSimRootEvent.hh.

Member Data Documentation

◆ fDir

Float_t WCSimRootCaptureGamma::fDir[3]
private

Direction unit vector (x,y,z) of the gamma.

Definition at line 346 of file WCSimRootEvent.hh.

◆ fEnergy

Float_t WCSimRootCaptureGamma::fEnergy
private

Energy of the gamma (unit: MeV)

Definition at line 345 of file WCSimRootEvent.hh.

◆ fID

Int_t WCSimRootCaptureGamma::fID
private

Truth matching. Track ID of the gamma.

Definition at line 344 of file WCSimRootEvent.hh.


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