1 #ifndef ALITRDEVENTCUTS_H
2 #define ALITRDEVENTCUTS_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 ////////////////////////////////////////////////////////////////////////////
11 // Event cut class for the TRD Performance Train //
14 // Markus Fasel <m.fasel@gsi.de> //
16 ////////////////////////////////////////////////////////////////////////////
22 class AliTRDeventCuts : public TNamed
26 AliTRDeventCuts(const Char_t *name);
27 AliTRDeventCuts(const AliTRDeventCuts &ref);
30 void AddTrigger(const Char_t *name);
31 Bool_t CheckTrigger(const Char_t *name);
32 Bool_t IsSelected(AliESDEvent *event, Bool_t col=kTRUE);
34 void Print(Option_t *opt="") const;
36 void SetEventType(Int_t n) { fEventType = n; };
37 void SetVertexN(Int_t n) { fVertexN = n; };
38 void SetVertexZ(Double_t z) { fVertexZ = z; };
39 void SetBunchSelection(Int_t n, Int_t bunches[]);
42 AliTRDeventCuts &operator=(const AliTRDeventCuts &);
44 TObjArray *fTriggerNames; // Container for Trigger names
45 Int_t *fBunches; // List of bunches accepted for analysis
46 UInt_t fEventType; // Event type
47 Int_t fVertexN; // Min number of contributors to Vertex
48 Double_t fVertexZ; // Max Abs(z) of the reconstructed Vertex
50 ClassDef(AliTRDeventCuts, 1) //Event Cut class for TRD PWGPP Train