Compatibility with ROOT trunk
[u/mrichter/AliRoot.git] / JETAN / AliJetESDReaderHeader.h
CommitLineData
99e5fe42 1#ifndef ALIJETESDREADERHEADER_H
2#define ALIJETESDREADERHEADER_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7// Jet ESD Reader Header
8// Header for the ESD reader in the jet analysis
9// Author: Mercedes Lopez Noriega (mercedes.lopez.noriega@cern.ch)
10
11#include "AliJetReaderHeader.h"
12
13class AliJetESDReaderHeader : public AliJetReaderHeader
14{
15
16 public:
17 AliJetESDReaderHeader();
18 virtual ~AliJetESDReaderHeader();
19
20 // Getters
b45b0c92 21 Float_t GetDCA() const {return fDCA;}
22 Float_t GetTLength() const {return fTLength;}
99e5fe42 23 Bool_t ReadSignalOnly() const {return fReadSignalOnly;}
83a444b1 24 Bool_t ReadBkgdOnly() const {return fReadBkgdOnly;}
b45b0c92 25 Int_t GetNesd() const {return fNesd;}
26
99e5fe42 27 // Setters
b45b0c92 28 virtual void SetDCA(Float_t dca = 0.0) {fDCA = dca;}
29 virtual void SetTLength(Float_t length = 0.0) {fTLength = length;}
99e5fe42 30 virtual void SetReadSignalOnly(Bool_t flag = kTRUE) {fReadSignalOnly = flag;}
83a444b1 31 virtual void SetReadBkgdOnly(Bool_t flag = kTRUE) {fReadBkgdOnly = flag;}
b45b0c92 32 virtual void SetNumberOfESD(Int_t i=1) {fNesd = i;}
33
99e5fe42 34 protected:
35 //parameters set by user
b45b0c92 36 Float_t fDCA; // dca cut
37 Float_t fTLength; // track length cut
99e5fe42 38 Bool_t fReadSignalOnly; // read particles from signal event only
83a444b1 39 Bool_t fReadBkgdOnly; // read particles from bkgd event only
b45b0c92 40 Int_t fNesd; // number of esds
41
83a444b1 42 ClassDef(AliJetESDReaderHeader,2);
99e5fe42 43};
44
45#endif