]>
Commit | Line | Data |
---|---|---|
315d1c64 | 1 | #ifndef AliEMCALHistoUtilities_H |
2 | #define AliEMCALHistoUtilities_H | |
3 | /* Copyright(c) 1998-2002, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //_________________________________________________________________________ | |
14ce0a6e | 9 | // This is a set of histogram |
10 | // utilities for the EMCAL | |
11 | // to make some common | |
12 | // functions easier | |
315d1c64 | 13 | // |
14 | //*-- Authors: J.L. Klay (LLNL) & Aleksei Pavlinov (WSU) | |
15 | ||
16 | #include <TNamed.h> | |
17 | class TList; | |
315d1c64 | 18 | |
19 | class AliEMCALHistoUtilities: public TNamed { | |
20 | public: | |
d434833b | 21 | AliEMCALHistoUtilities(const char *name="emcalUtilitiesRoutines", |
22 | const char *tit="EMCAL utility routines"); | |
315d1c64 | 23 | AliEMCALHistoUtilities(const AliEMCALHistoUtilities &) : TNamed("", ""){ |
24 | Fatal("cpy ctor", "not implemented") ; } | |
25 | virtual ~AliEMCALHistoUtilities(); | |
26 | ||
315d1c64 | 27 | // service routine |
28 | static TList *MoveHistsToList(const char* name="ListOfHists", Bool_t putToBrowser=kTRUE); | |
29 | static void FillH1(TList *l=0, Int_t ind=0, Double_t x=-99999., Double_t w=1.); | |
30 | static void FillH2(TList *l=0, Int_t ind=0, Double_t x=-99999., Double_t y=-99999., Double_t w=1.); | |
4800667c | 31 | static int SaveListOfHists(TList *mylist=0, const char* name="test", Bool_t kSingleKey=kFALSE, |
315d1c64 | 32 | const char* opt="RECREATE"); |
d434833b | 33 | // |
34 | static int ParseString(const TString &topt, TObjArray &Opt); | |
315d1c64 | 35 | |
36 | AliEMCALHistoUtilities & operator = (const AliEMCALHistoUtilities &) { | |
37 | Fatal("operator =", "not implemented") ; return *this ; } | |
38 | ||
d434833b | 39 | ClassDef(AliEMCALHistoUtilities,1) // EMCAL utility routines |
315d1c64 | 40 | }; |
41 | ||
42 | #endif // AliEMCALHistoUtilities_H |