]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/AliJetHeader.h
Histogram ranges changed to cut off saturation peak and noise
[u/mrichter/AliRoot.git] / JETAN / AliJetHeader.h
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  
17 class AliJetHeader : public TNamed
18 {
19  public:
20  
21   AliJetHeader(const char* name);
22   AliJetHeader();
23   virtual ~AliJetHeader() { }
24
25   // Getters
26   virtual TString GetComment() const {return fComment;} 
27   virtual Float_t GetJetEtaMax() const {return fJetEtaMax;}
28   virtual Float_t GetJetEtaMin() const {return fJetEtaMin;}  
29   
30   // Setters
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   
35
36   // others
37   
38 protected:
39   TString fComment; // a comment 
40   Float_t fJetEtaMax; // maximum eta for the jet
41   Float_t fJetEtaMin; // minimum eta for the jet
42   
43   ClassDef(AliJetHeader,1)
44 };
45  
46 #endif