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

#include <SToGS_BaseROOTEvents.h>

Inherits TObject.

Public Member Functions

void AddEMult (Double_t h, Int_t k=1)
 
SBRPHitAddHit ()
 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
 
SBRPHitGetHit (Int_t)
 to get a Hit More...
 
Int_t GetMultTot () const
 
Int_t GetNbHits () const
 helper function More...
 
SBRPHitIsUID (Int_t uid, Int_t *which=0x0)
 Check in the list of hits the one having. More...
 
 SBRPEvent ()
 
void SetEMult (Double_t h, Int_t k)
 
virtual ~SBRPEvent ()
 

Detailed Description

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

Definition at line 222 of file SToGS_BaseROOTEvents.h.

Constructor & Destructor Documentation

SBRPEvent::SBRPEvent ( )

Definition at line 171 of file SToGS_BaseROOTEvents.C.

SBRPEvent::~SBRPEvent ( )
virtual

Definition at line 181 of file SToGS_BaseROOTEvents.C.

Member Function Documentation

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

Definition at line 266 of file SToGS_BaseROOTEvents.h.

SBRPHit * SBRPEvent::AddHit ( )

add a hit to the current event

Definition at line 194 of file SToGS_BaseROOTEvents.C.

void SBRPEvent::Clear ( Option_t *  opt)
virtual

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

Definition at line 186 of file SToGS_BaseROOTEvents.C.

Double_t SBRPEvent::GetETot ( ) const
inline

Definition at line 278 of file SToGS_BaseROOTEvents.h.

SBRPHit * SBRPEvent::GetHit ( Int_t  which)

to get a Hit

Definition at line 206 of file SToGS_BaseROOTEvents.C.

Int_t SBRPEvent::GetMultTot ( ) const
inline

Definition at line 282 of file SToGS_BaseROOTEvents.h.

Int_t SBRPEvent::GetNbHits ( ) const
inline

helper function

number of hits in that event

Definition at line 238 of file SToGS_BaseROOTEvents.h.

SBRPHit* SBRPEvent::IsUID ( Int_t  uid,
Int_t *  which = 0x0 
)
inline

Check in the list of hits the one having.

Definition at line 244 of file SToGS_BaseROOTEvents.h.

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

Definition at line 272 of file SToGS_BaseROOTEvents.h.


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