Ensure vacuum inside the beam pipe for upgrade (Mario)
[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 */
139cbd96 6
7/* $Id$ */
99e5fe42 8
9//---------------------------------------------------------------------
10// Jet header base class
11// Stores a comment which describes the jet analysis
12// Author: jgcn@mda.cinvestav.mx
13//---------------------------------------------------------------------
14
15#include <TNamed.h>
8f1fc92d 16#include <TMath.h>
139cbd96 17
18class TString;
19
99e5fe42 20class AliJetHeader : public TNamed
21{
22 public:
23
24 AliJetHeader(const char* name);
25 AliJetHeader();
26 virtual ~AliJetHeader() { }
27
28 // Getters
139cbd96 29 virtual TString GetComment() const {return fComment; }
83a444b1 30 virtual Float_t GetJetEtaMax() const {return fJetEtaMax;}
dd677561 31 virtual Float_t GetJetEtaMin() const {return fJetEtaMin;}
8f1fc92d 32 virtual Float_t GetJetPhiMax() const {return fJetPhiMax;}
33 virtual Float_t GetJetPhiMin() const {return fJetPhiMin;}
dd677561 34 virtual Int_t GetDebug() const {return fDebug; }
139cbd96 35 virtual Bool_t GetBGMode() const {return fBGMode; }
36 virtual Float_t GetRadius() const {return fRadius; }
dd677561 37
99e5fe42 38 // Setters
139cbd96 39 virtual void SetComment(const char* com) {fComment=TString(com);}
40 virtual void SetJetEtaMax(Float_t eta= 0.5) {fJetEtaMax = eta;}
41 virtual void SetJetEtaMin(Float_t eta= -0.5) {fJetEtaMin = eta;}
42 virtual void SetJetPhiMax(Float_t phi= 2*TMath::Pi()) {fJetPhiMax = phi;}
43 virtual void SetJetPhiMin(Float_t phi= 0.) {fJetPhiMin = phi;}
44 virtual void SetDebug(Int_t debug) {fDebug = debug;}
45 virtual void SetBGMode(Bool_t bgMode) {fBGMode = bgMode;}
46 virtual void SetRadius(Float_t rad) {fRadius = rad;}
99e5fe42 47
48 // others
49
50protected:
139cbd96 51 TString fComment; // a comment
52 Float_t fJetEtaMax; // maximum eta for the jet
53 Float_t fJetEtaMin; // minimum eta for the jet
54 Float_t fJetPhiMax; // maximum phi for the jet
55 Float_t fJetPhiMin; // minimum phi for the jet
56 Int_t fDebug; // debug option
57 Bool_t fBGMode; // background mode
58 Float_t fRadius; // jet radius param
59
60 ClassDef(AliJetHeader,4) // jet header base class
99e5fe42 61};
62
63#endif