]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG1/TRD/info/AliTRDeventCuts.h
Fixed compilation
[u/mrichter/AliRoot.git] / PWG1 / TRD / info / AliTRDeventCuts.h
1 #ifndef ALITRDEVENTCUTS_H
2 #define ALITRDEVENTCUTS_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6 /* $Id$ */
7
8
9 ////////////////////////////////////////////////////////////////////////////
10 //                                                                        //
11 // Event cut class for the TRD Performance Train                          //
12 //                                                                        //
13 // author                                                                 //
14 // Markus Fasel <m.fasel@gsi.de>                                          //
15 //                                                                        //
16 ////////////////////////////////////////////////////////////////////////////
17
18 #include <TNamed.h>
19
20 class TObjArray;
21 class AliESDEvent;
22 class AliTRDeventCuts : public TNamed
23 {
24 public:
25   AliTRDeventCuts();
26   AliTRDeventCuts(const Char_t *name);
27   ~AliTRDeventCuts();
28
29   Bool_t IsSelected(AliESDEvent *event, Bool_t col=kTRUE);
30
31   void AddTrigger(const Char_t *name);
32   void SetVertexN(Int_t n) { fVertexN = n; };
33   void SetVertexZ(Double_t z) { fVertexZ = z; };
34
35 protected:
36   Bool_t CheckTrigger(const Char_t *name);
37
38 private:
39   AliTRDeventCuts(const AliTRDeventCuts &);
40   AliTRDeventCuts &operator=(const AliTRDeventCuts &);
41
42   TObjArray *fTriggerNames; // Container for Trigger names
43   Int_t     fVertexN;       // Min number of contributors to Vertex
44   Double_t  fVertexZ;       // Max Abs(z) of the reconstructed Vertex
45
46   ClassDef(AliTRDeventCuts, 1)   //Event Cut class for TRD PWG1 Train 
47 };
48 #endif