]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RALICE/AliEvent.h
29-jun-2001 NvE TrackCopy mode introduced in AliJet.
[u/mrichter/AliRoot.git] / RALICE / AliEvent.h
1 #ifndef ALIEVENT_H
2 #define ALIEVENT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 // $Id$
7
8 #include <iomanip.h>
9 #include <math.h>
10  
11 #include "TObject.h"
12 #include "TObjArray.h"
13 #include "TDatime.h"
14  
15 #include "AliVertex.h"
16  
17 class AliEvent : public AliVertex
18 {
19  public:
20   AliEvent();                             // Default constructor
21   AliEvent(Int_t n);                      // Create an event to hold initially n tracks
22   ~AliEvent();                            // Default destructor
23   void SetDayTime(TDatime& stamp);        // Set the date and time stamp
24   void SetRunNumber(Int_t run);           // Set the run number
25   void SetEventNumber(Int_t evt);         // Set the event number
26   void Reset();                           // Reset all values
27   TDatime GetDayTime();                   // Provide the date and time stamp
28   Int_t GetRunNumber();                   // Provide the run number
29   Int_t GetEventNumber();                 // Provide the event number
30   void HeaderInfo();                      // Print the event header information
31   void Info(TString f="car");             // Print the event info within coordinate frame f
32
33  protected:
34   TDatime fDaytime;      // The date and time stamp
35   Int_t fRun;            // The run number
36   Int_t fEvent;          // The event number
37
38  ClassDef(AliEvent,1) // Creation and investigation of an Alice physics event.
39 };
40 #endif