]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RALICE/wa98/Wa98Event.h
Change default EMC calibration parameters (Yu.Kharlov)
[u/mrichter/AliRoot.git] / RALICE / wa98 / Wa98Event.h
1 #ifndef Wa98Event_h
2 #define Wa98Event_h
3
4 // $Id$
5  
6 #include "AliEvent.h"
7 #include "AliCalorimeter.h"
8  
9 class Wa98Event : public AliEvent
10 {
11  public:
12   Wa98Event();                                              // Default constructor
13   Wa98Event(Int_t n);                                       // Create an event to hold initially n tracks
14   virtual ~Wa98Event();                                     // Default destructor
15   Wa98Event(Wa98Event& evt);                                // Copy constructor
16   void Reset();                                             // Reset the complete event
17   void SetTrig(Int_t trig);                                 // Set the trigger class
18   Int_t GetTrig();                                          // Provide the trigger class
19   void SetWeight(Int_t w);                                  // Set the event weight factor
20   Int_t GetWeight();                                        // Provide the event weight factor
21   void SetZdc(Float_t zdc);                                 // Set ZDC signal
22   Float_t GetZdc();                                         // Provide ZDC signal
23   void SetMiracE(Float_t tot,Float_t em,Float_t had);       // Set the total, EM and hadr. MIRAC signals
24   Float_t GetEmir();                                        // Provide the total MIRAC signal
25   Float_t GetEmire();                                       // Provide the MIRAC EM signal
26   Float_t GetEmirh();                                       // Provide the MIRAC hadronic signal
27   void SetMiracEt(Float_t tot,Float_t em,Float_t had);      // Set the total, EM and hadr. MIRAC Et signals
28   Float_t GetEtm();                                         // Provide the total MIRAC Et signal
29   Float_t GetEtme();                                        // Provide the MIRAC EM Et signal
30   Float_t GetEtmh();                                        // Provide the MIRAC hadronic Et signal
31   void InitLeda(AliCalorimeter* cal);                       // Set positions and flag bad modules for LEDA part
32   void ClusterLeda(AliCalorimeter* cal,Int_t n=2,Int_t mode=1); // Group (n rings) modules into clusters for LEDA part
33   void VetoLeda(AliCalorimeter* cal,Float_t dtheta=0.2,Float_t dphi=1); // Associate veto hits with LEDA clusters
34
35  protected:
36   Int_t fTrig;        // The trigger class  1=nsc 3=cen 5=per 6=mbias 7=beam 8=inbeam ped
37   Int_t fWeight;      // The event weight to account for the downscaling factor
38   Float_t fZdc;       // The ZDC signal in GeV
39   Float_t fEmir;      // The total MIRAC signal in GeV
40   Float_t fEmire;     // The MIRAC EM signal in GeV
41   Float_t fEmirh;     // The MIRAC hadronic signal in GeV
42   Float_t fEtm;       // The total MIRAC Et signal in GeV
43   Float_t fEtme;      // The MIRAC EM Et signal in GeV
44   Float_t fEtmh;      // The MIRAC hadronic Et signal in GeV
45
46  private:
47   void SetPositionsLedaup(AliCalorimeter* cal);  // Set module positions for upper LEDA
48   void SetPositionsLedalw(AliCalorimeter* cal);  // Set module positions for lower LEDA
49   void SetBadModulesLedaup(AliCalorimeter* cal); // Flag bad modules for upper LEDA
50   void SetBadModulesLedalw(AliCalorimeter* cal); // Flag bad modules for lower LEDA
51
52  ClassDef(Wa98Event,4) // Creation and investigation of a Wa98 physics event.
53 };
54 #endif