Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
193 f9daq 1
#ifndef BEVENT_H
2
#define BEVENT_H
3
//+
4
// File : BEvent.h
5
// Description : class to contain an event
6
// 
7
// Author : Ryosuke Itoh, IPNS, KEK
8
// Date : 28 - Jan - 2004
9
//-
10
 
11
#include "TObject.h"
12
#include "TClonesArray.h"
13
 
14
#include "BParticle.h"
15
 
16
class BEvent : public TObject {
17
 private:
18
  int m_evno;
19
  int m_nprt;
20
  TClonesArray* m_particles;
21
 
22
 public:
23
  BEvent();
24
  ~BEvent();
25
 
26
  virtual void Clear (Option_t * /*option*/ ="");
27
 
28
  void EventNo ( int evtno );
29
  int EventNo ();
30
 
31
  void AddTrack ( float px, float py, float pz, float e,
32
                  float charge, SIMPLEPID pid );
33
 
34
  int NParticles ();
35
  TClonesArray* GetParticleList ();
36
 
37
  ClassDef ( BEvent, 1 )
38
};
39
 
40
#endif
41
 
42