Add a protection to avoid crash in QA (Julian)
[u/mrichter/AliRoot.git] / JETAN / AliEventShape.h
1 #ifndef ALIEVENTSHAPE_H
2 #define ALIEVENTSHAPE_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6  
7 //---------------------------------------------------------------------
8 // Event shape utility class
9 // Circularity, Thrust, ... 
10 // Authors: Antonio Ortiz Velasquez <Antonio.Ortiz.Velasquez@cern.ch>
11 //          
12 //---------------------------------------------------------------------
13
14 #include <TObject.h>
15
16
17 class AliMCEvent;
18 class TParticle;
19 class TArrayD;
20
21 class AliEventShape : public TObject
22 {
23   public:
24     static TArrayD * GetThrustParamMC(AliMCEvent* mcEvent, Int_t  NSTUDYMIN=3, Double_t ptcutoff=1, Double_t etacutoff=1, Bool_t chom=kFALSE);
25     static Double_t GetCircularityMC(AliMCEvent* mcEvent, Int_t  NSTUDYMIN=3, Double_t ptcutoff=1, Double_t etacutoff=1, Bool_t chom=kFALSE);
26   private:
27     AliEventShape(const AliEventShape&);
28     AliEventShape& operator=(const AliEventShape&);
29     ClassDef(AliEventShape, 0)
30 };
31
32 #endif
33