Adding rho's depenence on trigger track (M. Verweij)
[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>
8f1fc92d 16#include <TMath.h>
99e5fe42 17
18class AliJetHeader : public TNamed
19{
20 public:
21
22 AliJetHeader(const char* name);
23 AliJetHeader();
24 virtual ~AliJetHeader() { }
25
26 // Getters
83a444b1 27 virtual TString GetComment() const {return fComment;}
28 virtual Float_t GetJetEtaMax() const {return fJetEtaMax;}
dd677561 29 virtual Float_t GetJetEtaMin() const {return fJetEtaMin;}
8f1fc92d 30 virtual Float_t GetJetPhiMax() const {return fJetPhiMax;}
31 virtual Float_t GetJetPhiMin() const {return fJetPhiMin;}
dd677561 32 virtual Int_t GetDebug() const {return fDebug; }
33
99e5fe42 34 // Setters
83a444b1 35 virtual void SetComment(const char* com) {fComment=TString(com);}
36 virtual void SetJetEtaMax(Float_t eta= 0.5) {fJetEtaMax = eta;}
dd677561 37 virtual void SetJetEtaMin(Float_t eta= -0.5) {fJetEtaMin = eta;}
8f1fc92d 38 virtual void SetJetPhiMax(Float_t phi= 2*TMath::Pi()) {fJetPhiMax = phi;}
39 virtual void SetJetPhiMin(Float_t phi= 0.) {fJetPhiMin = phi;}
dd677561 40 virtual void SetDebug(Int_t debug) {fDebug = debug;}
83a444b1 41
99e5fe42 42
43 // others
44
45protected:
dd677561 46 TString fComment; // a comment
47 Float_t fJetEtaMax; // maximum eta for the jet
48 Float_t fJetEtaMin; // minimum eta for the jet
8f1fc92d 49 Float_t fJetPhiMax; // maximum phi for the jet
50 Float_t fJetPhiMin; // minimum phi for the jet
dd677561 51 Int_t fDebug; // debug option
83a444b1 52
8f1fc92d 53 ClassDef(AliJetHeader,3)
99e5fe42 54};
55
56#endif