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

Class containing event information. More...

#include <WCSimRootEvent.hh>

Inheritance diagram for WCSimRootEvent:
Inheritance graph
Collaboration diagram for WCSimRootEvent:
Collaboration graph

Public Member Functions

 WCSimRootEvent ()
 
virtual ~WCSimRootEvent ()
 
WCSimRootEventoperator= (const WCSimRootEvent &in)
 
bool CompareAllVariables (const WCSimRootEvent *c, bool deep_comparison=false) const
 
void Clear (Option_t *option="")
 
Int_t GetCurrentIndex ()
 
WCSimRootTriggerGetTrigger (int number)
 
const WCSimRootTriggerGetTrigger (int number) const
 
Int_t GetNumberOfEvents () const
 
Int_t GetNumberOfSubEvents () const
 
bool HasSubEvents ()
 
void AddSubEvent ()
 
void Initialize ()
 
void ReInitialize ()
 

Static Public Member Functions

static void Reset (Option_t *option="")
 

Private Attributes

TObjArray * fEventList
 Array of WCSimRootTrigger. More...
 
Int_t Current
 

Detailed Description

Class containing event information.

Only events from a single PMT type (20" PMT OR 3" PMT in mPMT OR OD PMT) are available in a single WCSimRootEvent

See the macro sample-root-scripts/sample_readfile.C for an example of using this class

Definition at line 614 of file WCSimRootEvent.hh.

Constructor & Destructor Documentation

◆ WCSimRootEvent()

WCSimRootEvent::WCSimRootEvent ( )

Definition at line 783 of file WCSimRootEvent.cc.

◆ ~WCSimRootEvent()

WCSimRootEvent::~WCSimRootEvent ( )
virtual

Definition at line 813 of file WCSimRootEvent.cc.

Member Function Documentation

◆ AddSubEvent()

void WCSimRootEvent::AddSubEvent ( )
inline

Definition at line 637 of file WCSimRootEvent.hh.

◆ Clear()

void WCSimRootEvent::Clear ( Option_t *  option = "")

Definition at line 827 of file WCSimRootEvent.cc.

◆ CompareAllVariables()

bool WCSimRootEvent::CompareAllVariables ( const WCSimRootEvent c,
bool  deep_comparison = false 
) const

Definition at line 1209 of file WCSimRootEvent.cc.

◆ GetCurrentIndex()

Int_t WCSimRootEvent::GetCurrentIndex ( )
inline

Definition at line 623 of file WCSimRootEvent.hh.

◆ GetNumberOfEvents()

Int_t WCSimRootEvent::GetNumberOfEvents ( ) const
inline

Definition at line 629 of file WCSimRootEvent.hh.

◆ GetNumberOfSubEvents()

Int_t WCSimRootEvent::GetNumberOfSubEvents ( ) const
inline

Definition at line 630 of file WCSimRootEvent.hh.

◆ GetTrigger() [1/2]

WCSimRootTrigger* WCSimRootEvent::GetTrigger ( int  number)
inline

Definition at line 626 of file WCSimRootEvent.hh.

◆ GetTrigger() [2/2]

const WCSimRootTrigger* WCSimRootEvent::GetTrigger ( int  number) const
inline

Definition at line 627 of file WCSimRootEvent.hh.

◆ HasSubEvents()

bool WCSimRootEvent::HasSubEvents ( )
inline

Definition at line 631 of file WCSimRootEvent.hh.

◆ Initialize()

void WCSimRootEvent::Initialize ( )

Definition at line 804 of file WCSimRootEvent.cc.

◆ operator=()

WCSimRootEvent & WCSimRootEvent::operator= ( const WCSimRootEvent in)

Definition at line 794 of file WCSimRootEvent.cc.

◆ ReInitialize()

void WCSimRootEvent::ReInitialize ( )
inline

Definition at line 658 of file WCSimRootEvent.hh.

◆ Reset()

void WCSimRootEvent::Reset ( Option_t *  option = "")
static

Definition at line 833 of file WCSimRootEvent.cc.

Member Data Documentation

◆ Current

Int_t WCSimRootEvent::Current
private

Definition at line 674 of file WCSimRootEvent.hh.

◆ fEventList

TObjArray* WCSimRootEvent::fEventList
private

Array of WCSimRootTrigger.

Definition at line 673 of file WCSimRootEvent.hh.


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