SToGS
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
SBREvent Class Reference

#include <SToGS_BaseROOTEvents.h>

Inherits TObject.

Public Member Functions

void AddEMult (Double_t h, Int_t k=1)
 
SBRHitAddHit ()
 add a hit to the current event More...
 
virtual void Clear (Option_t *opt)
 clear the collection of hits, set H, K to 0 More...
 
Double_t GetETot () const
 
SBRHitGetHit (Int_t)
 to get a Hit More...
 
Int_t GetMultTot () const
 
Int_t GetNbHits () const
 helper function More...
 
SBRHitIsUID (Int_t uid, Int_t *which=0x0)
 Check in the list of hits the one having. More...
 
 SBREvent ()
 
void SetEMult (Double_t h, Int_t k)
 
virtual ~SBREvent ()
 

Detailed Description

A SToGS Basic ROOT event is a list of SBRHits. It adds also the sum energy and event fold

Definition at line 149 of file SToGS_BaseROOTEvents.h.

Constructor & Destructor Documentation

SBREvent::SBREvent ( )

Definition at line 127 of file SToGS_BaseROOTEvents.C.

SBREvent::~SBREvent ( )
virtual

Definition at line 137 of file SToGS_BaseROOTEvents.C.

Member Function Documentation

void SBREvent::AddEMult ( Double_t  h,
Int_t  k = 1 
)
inline

Definition at line 193 of file SToGS_BaseROOTEvents.h.

SBRHit * SBREvent::AddHit ( )

add a hit to the current event

Definition at line 150 of file SToGS_BaseROOTEvents.C.

void SBREvent::Clear ( Option_t *  opt)
virtual

clear the collection of hits, set H, K to 0

Definition at line 142 of file SToGS_BaseROOTEvents.C.

Double_t SBREvent::GetETot ( ) const
inline

Definition at line 205 of file SToGS_BaseROOTEvents.h.

SBRHit * SBREvent::GetHit ( Int_t  which)

to get a Hit

Definition at line 162 of file SToGS_BaseROOTEvents.C.

Int_t SBREvent::GetMultTot ( ) const
inline

Definition at line 209 of file SToGS_BaseROOTEvents.h.

Int_t SBREvent::GetNbHits ( ) const
inline

helper function

number of hits in that event

Definition at line 165 of file SToGS_BaseROOTEvents.h.

SBRHit* SBREvent::IsUID ( Int_t  uid,
Int_t *  which = 0x0 
)
inline

Check in the list of hits the one having.

Definition at line 171 of file SToGS_BaseROOTEvents.h.

void SBREvent::SetEMult ( Double_t  h,
Int_t  k 
)
inline

Definition at line 199 of file SToGS_BaseROOTEvents.h.


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