Temporary removing AliEMCALv3 and AliEMCALHitv1 from the compilation until they are...
[u/mrichter/AliRoot.git] / JETAN / AliJetReaderHeader.h
CommitLineData
99e5fe42 1#ifndef ALIJETREADERHEADER_H
2#define ALIJETREADERHEADER_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// base class for Jet Reader Header
9// Author: jgcn@mda.cinvestav.mx
10//---------------------------------------------------------------------
11
12#include <TNamed.h>
13#include <TString.h>
14
15class AliJetReaderHeader : public TNamed
16{
17
18 public:
19 AliJetReaderHeader(const char* name);
20 AliJetReaderHeader();
21 virtual ~AliJetReaderHeader();
22
23 // Getters
24 virtual TString GetComment() {return fComment;}
25 virtual const char* GetDirectory() {return fDir.Data();}
26 virtual const char* GetPattern() {return fPattern.Data();}
832017f1 27 virtual Float_t GetFiducialEtaMin() const {return fFiducialEtaMin;}
28 virtual Float_t GetFiducialEtaMax() const {return fFiducialEtaMax;}
29
99e5fe42 30 Int_t GetNEvents() const {return fLast-fFirst;}
31 Int_t GetLastEvent() const {return fLast;}
32 Int_t GetFirstEvent() const {return fFirst;}
832017f1 33
99e5fe42 34 // Setters
35 virtual void SetComment(const char* s) {fComment=TString(s);}
36 virtual void SetPattern(const char* s) {fPattern=TString(s);}
37 virtual void SetDirectory(const char* s) {fDir=TString(s);}
38 virtual void SetFirstEvent(Int_t i=0) {fFirst=i;}
39 virtual void SetLastEvent(Int_t i=-1) {fLast=i;}
832017f1 40 virtual void SetFiducialEta(Float_t etamin, Float_t etamax)
41 { fFiducialEtaMin = etamin; fFiducialEtaMax = etamax;}
99e5fe42 42 protected:
43
832017f1 44 Int_t fFirst; // First and last events analyzed
45 Int_t fLast; // in current set of files
46 Float_t fFiducialEtaMin; // Fiducial minimum eta
47 Float_t fFiducialEtaMax; // Fiducial maximum eta
48 TString fComment; // a comment
49 TString fDir; // directory with input files
50 TString fPattern; // pattern to look for input files
99e5fe42 51
52 ClassDef(AliJetReaderHeader,1);
53};
54
55#endif