]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG1/TRD/info/AliTRDeventCuts.h
monitoring and calibration for PbPb 2011
[u/mrichter/AliRoot.git] / PWG1 / TRD / info / AliTRDeventCuts.h
CommitLineData
07ece31c 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
20class TObjArray;
21class AliESDEvent;
22class AliTRDeventCuts : public TNamed
23{
24public:
62a70d0d 25 AliTRDeventCuts();
07ece31c 26 AliTRDeventCuts(const Char_t *name);
35983729 27 AliTRDeventCuts(const AliTRDeventCuts &ref);
07ece31c 28 ~AliTRDeventCuts();
29
35983729 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);
07ece31c 33
35983729 34 void Print(Option_t *opt="") const;
07ece31c 35
566c3d46 36 void SetEventType(Int_t n) { fEventType = n; };
37 void SetVertexN(Int_t n) { fVertexN = n; };
38 void SetVertexZ(Double_t z) { fVertexZ = z; };
35983729 39 void SetBunchSelection(Int_t n, Int_t bunches[]);
07ece31c 40
41private:
07ece31c 42 AliTRDeventCuts &operator=(const AliTRDeventCuts &);
43
44 TObjArray *fTriggerNames; // Container for Trigger names
35983729 45 Int_t *fBunches; // List of bunches accepted for analysis
566c3d46 46 Int_t fEventType; // Event type
07ece31c 47 Int_t fVertexN; // Min number of contributors to Vertex
48 Double_t fVertexZ; // Max Abs(z) of the reconstructed Vertex
49
50 ClassDef(AliTRDeventCuts, 1) //Event Cut class for TRD PWG1 Train
51};
52#endif