]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliJetHeader.h
Updated version of the geometry
[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;}
28 virtual Float_t GetJetEtaMin() const {return fJetEtaMin;}
29
99e5fe42 30 // Setters
83a444b1 31 virtual void SetComment(const char* com) {fComment=TString(com);}
32 virtual void SetJetEtaMax(Float_t eta= 0.5) {fJetEtaMax = eta;}
33 virtual void SetJetEtaMin(Float_t eta= -0.5) {fJetEtaMin = eta;}
34
99e5fe42 35
36 // others
37
38protected:
39 TString fComment; // a comment
83a444b1 40 Float_t fJetEtaMax; // maximum eta for the jet
41 Float_t fJetEtaMin; // minimum eta for the jet
42
99e5fe42 43 ClassDef(AliJetHeader,1)
44};
45
46#endif