#include <THashList.h>
#include <TVectorDfwd.h>
#include <THnBase.h>
+#include <TBits.h>
class TH1;
class TString;
void UserSparse( const char* histClass, Int_t ndim, TObjArray *limits, UInt_t *vars, UInt_t valTypeW=kNoWeights);
void UserHistogram(const char* histClass,const char *name, const char* title,
- Int_t nbinsX, Double_t xmin, Double_t xmax, UInt_t valTypeX, Bool_t logBinX=kFALSE)
- { UserProfile(histClass,name,title,kNoProfile,nbinsX,xmin,xmax,valTypeX,logBinX); }
+ Int_t nbinsX, Double_t xmin, Double_t xmax, UInt_t valTypeX, Bool_t logBinX=kFALSE,
+ UInt_t valTypeW=kNoWeights)
+ { UserProfile(histClass,name,title,kNoProfile,nbinsX,xmin,xmax,valTypeX,logBinX,"",valTypeW); }
void UserHistogram(const char* histClass,const char *name, const char* title,
Int_t nbinsX, Double_t xmin, Double_t xmax, Int_t nbinsY, Double_t ymin, Double_t ymax,
{ UserProfile(histClass,name,title,kNoProfile,nbinsX,xmin,xmax,nbinsY,ymin,ymax,nbinsZ,zmin,zmax,valTypeX,valTypeY,valTypeZ,logBinX,logBinY,logBinZ,valTypeW); }
void UserHistogram(const char* histClass,const char *name, const char* title,
- const char* binning, UInt_t valTypeX)
- { UserProfile(histClass,name,title,kNoProfile,binning,valTypeX); }
-
- void UserHistogram(const char* histClass,const char *name, const char* title,
- const TVectorD * const binsX, UInt_t valTypeX)
- { UserProfile(histClass,name,title,kNoProfile,binsX,valTypeX); }
+ const char* binning, UInt_t valTypeX, UInt_t valTypeW=kNoWeights)
+ { UserProfile(histClass,name,title,kNoProfile,binning,valTypeX,"",valTypeW); }
+ // void UserHistogram(const char* histClass,const char *name, const char* title,
+ // const TVectorD * const binsX, UInt_t valTypeX)
+ // { UserProfile(histClass,name,title,kNoProfile,binsX,valTypeX); }
void UserHistogram(const char* histClass,const char *name, const char* title,
- const TVectorD * const binsX, UInt_t valTypeX, UInt_t valTypeW)
+ const TVectorD * const binsX, UInt_t valTypeX, UInt_t valTypeW=kNoWeights)
{ UserProfile(histClass,name,title,kNoProfile,binsX,valTypeX,"",valTypeW); }
void UserHistogram(const char* histClass,const char *name, const char* title,
void SetList(TList * const list) { fList=list; }
TList *GetList() const { return fList; }
+ TBits *GetUsedVars() const { return fUsedVars; }
void AddClass(const char* histClass);
void FillVarArray(TObject *obj, UInt_t *valType);
+
THashList fHistoList; //-> list of histograms
TList *fList; //! List of list of histograms
+ TBits *fUsedVars; // list of used variables
TString *fReservedWords; //! list of reserved words
void UserHistogramReservedWords(const char* histClass, const TObject *hist, UInt_t valTypes);
AliDielectronHistos(const AliDielectronHistos &hist);
AliDielectronHistos& operator = (const AliDielectronHistos &hist);
- ClassDef(AliDielectronHistos,2)
+ ClassDef(AliDielectronHistos,3)
};
#endif