Debug option moved to the base class
[u/mrichter/AliRoot.git] / JETAN / AliJetHeader.h
CommitLineData
99e5fe42 1#ifndef ALIJETHEADER_H
2#define ALIJETHEADER_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//---------------------------------------------------------------------
9// Jet header base class
10// Stores a comment which describes the jet analysis
11// Author: jgcn@mda.cinvestav.mx
12//---------------------------------------------------------------------
13
14#include <TNamed.h>
15#include <TString.h>
16
17class AliJetHeader : public TNamed
18{
19 public:
20
21 AliJetHeader(const char* name);
22 AliJetHeader();
23 virtual ~AliJetHeader() { }
24
25 // Getters
83a444b1 26 virtual TString GetComment() const {return fComment;}
27 virtual Float_t GetJetEtaMax() const {return fJetEtaMax;}
dd677561 28 virtual Float_t GetJetEtaMin() const {return fJetEtaMin;}
29 virtual Int_t GetDebug() const {return fDebug; }
30
99e5fe42 31 // Setters
83a444b1 32 virtual void SetComment(const char* com) {fComment=TString(com);}
33 virtual void SetJetEtaMax(Float_t eta= 0.5) {fJetEtaMax = eta;}
dd677561 34 virtual void SetJetEtaMin(Float_t eta= -0.5) {fJetEtaMin = eta;}
35 virtual void SetDebug(Int_t debug) {fDebug = debug;}
83a444b1 36
99e5fe42 37
38 // others
39
40protected:
dd677561 41 TString fComment; // a comment
42 Float_t fJetEtaMax; // maximum eta for the jet
43 Float_t fJetEtaMin; // minimum eta for the jet
44 Int_t fDebug; // debug option
83a444b1 45
99e5fe42 46 ClassDef(AliJetHeader,1)
47};
48
49#endif