AliPhysics  a6017e1 (a6017e1)
AliEMCalTriggerBinningComponent.h
Go to the documentation of this file.
1 #ifndef ALIEMCALTRIGGERBINNINGCOMPONENT_H
2 #define ALIEMCALTRIGGERBINNINGCOMPONENT_H
3 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 #include <TArrayD.h>
7 #include <TBinning.h>
8 #include <TNamed.h>
9 #include <iosfwd>
10 
11 class TObjArray;
12 
13 namespace EMCalTriggerPtAnalysis {
14 
27 public:
33  public:
34 
39 
43  AliEMCalTriggerBinningData(const char *name, TBinning *data);
44 
50 
56 
58 
64  void SetBinning(TBinning *binning);
65 
70  TBinning *GetBinning() const { return fBinning; }
71 
72  private:
74 
76  ClassDef(AliEMCalTriggerBinningData, 1);
78  };
79 
84 
90 
96 
101 
107  TBinning *GetBinning(const char *name) const;
108 
115  void SetBinning(const char *dimname, int nbins, const double *binning);
116 
122  void SetBinning(const char *dimname, const TArrayD &binning);
123 
129  void SetBinning(const char *dimname, TBinning *binning);
130 
138  void SetLinearBinning(const char *dirname, int nbins, double min, double max);
139 
140 private:
146  AliEMCalTriggerBinningData *FindBinning(const char *dim) const;
147 
149 
151  ClassDef(AliEMCalTriggerBinningComponent, 1);
153 };
154 
155 } /* namespace EMCalTriggerPtAnalysis */
156 
157 #endif /* ALIEMCALTRIGGERBINNINGCOMPONENT_H */
AliEMCalTriggerBinningData * FindBinning(const char *dim) const
Interface for binnings used by the histogram handler.
Definition: TBinning.h:21
AliEMCalTriggerBinningData & operator=(const AliEMCalTriggerBinningData &data)
Global binning definition for the high- charged particle analysis.
Analysis of high- tracks in triggered events.
const Int_t nbins
void SetLinearBinning(const char *dirname, int nbins, double min, double max)