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

#include <ParisEvents.h>

Inherits TObject.

Public Member Functions

PHitAddHit ()
 add a hit to the current event More...
 
void AddHK (Double_t h, Int_t k=1)
 
void Clear (Option_t *opt)
 clear the collection of hits, set H, K to 0 More...
 
void CopyTo (std::vector< PHit * > &ordlist, Option_t *opt="")
 helper function More...
 
Double_t GetH () const
 
PHitGetHit (Int_t)
 to get a Hit More...
 
Int_t GetK () const
 
Int_t GetNbHits () const
 
PHitIsUID (Int_t uid, Int_t *which=0x0)
 
 PEvent ()
 
void SetHK (Double_t h, Int_t k)
 
virtual ~PEvent ()
 

Detailed Description

A Paris Event A Paris event is composed of a collection of PHits with H, K associated

Definition at line 82 of file ParisEvents.h.

Constructor & Destructor Documentation

PEvent::PEvent ( )

Definition at line 107 of file ParisEvents.C.

PEvent::~PEvent ( )
virtual

Definition at line 117 of file ParisEvents.C.

Member Function Documentation

PHit * PEvent::AddHit ( )

add a hit to the current event

Definition at line 130 of file ParisEvents.C.

void PEvent::AddHK ( Double_t  h,
Int_t  k = 1 
)
inline

Definition at line 123 of file ParisEvents.h.

void PEvent::Clear ( Option_t *  opt)

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

Definition at line 122 of file ParisEvents.C.

void PEvent::CopyTo ( std::vector< PHit * > &  ordlist,
Option_t *  opt = "" 
)

helper function

Definition at line 209 of file ParisEvents.C.

Double_t PEvent::GetH ( ) const
inline

Definition at line 129 of file ParisEvents.h.

PHit * PEvent::GetHit ( Int_t  which)

to get a Hit

Definition at line 142 of file ParisEvents.C.

Int_t PEvent::GetK ( ) const
inline

Definition at line 131 of file ParisEvents.h.

Int_t PEvent::GetNbHits ( ) const
inline

Definition at line 98 of file ParisEvents.h.

PHit* PEvent::IsUID ( Int_t  uid,
Int_t *  which = 0x0 
)
inline

Definition at line 101 of file ParisEvents.h.

void PEvent::SetHK ( Double_t  h,
Int_t  k 
)
inline

Definition at line 126 of file ParisEvents.h.


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