ROOT logo
//*-- Author : Jochen Markert 18.07.2007

#ifndef  __HFLEXFILLER_H__
#define  __HFLEXFILLER_H__

#include "hreconstructor.h"
#include "hcategory.h"
#include "hhistmap.h"

#include "TObjArray.h"


class HFlexFiller : public HReconstructor {

protected:
    Bool_t createCat;
    HHistMap*  hM;
    TObjArray* parameters;
    Int_t (*pUserFill)(HHistMap* hmap,TObjArray* pars); //! user provided function pointer to fill the HFlex Category

    void   clear(void);
public:
    HFlexFiller(void);
    HFlexFiller(const Text_t *name,const Text_t *title);
    ~HFlexFiller(void);
    Bool_t init      (void);
    Int_t  execute   (void);
    Bool_t finalize  (void);

    void   setUserFill(Int_t (*function)(HHistMap* ,TObjArray* ),HHistMap* histmap=0,TObjArray* pars=0,Bool_t makeCat=kTRUE){
        createCat  = makeCat;
	hM         = histmap;
        parameters = pars;
	pUserFill  = function;
    }
    ClassDef(HFlexFiller,0);
};
#endif /* !__HFLEXFILLER_H__ */







 hflexfiller.h:1
 hflexfiller.h:2
 hflexfiller.h:3
 hflexfiller.h:4
 hflexfiller.h:5
 hflexfiller.h:6
 hflexfiller.h:7
 hflexfiller.h:8
 hflexfiller.h:9
 hflexfiller.h:10
 hflexfiller.h:11
 hflexfiller.h:12
 hflexfiller.h:13
 hflexfiller.h:14
 hflexfiller.h:15
 hflexfiller.h:16
 hflexfiller.h:17
 hflexfiller.h:18
 hflexfiller.h:19
 hflexfiller.h:20
 hflexfiller.h:21
 hflexfiller.h:22
 hflexfiller.h:23
 hflexfiller.h:24
 hflexfiller.h:25
 hflexfiller.h:26
 hflexfiller.h:27
 hflexfiller.h:28
 hflexfiller.h:29
 hflexfiller.h:30
 hflexfiller.h:31
 hflexfiller.h:32
 hflexfiller.h:33
 hflexfiller.h:34
 hflexfiller.h:35
 hflexfiller.h:36
 hflexfiller.h:37
 hflexfiller.h:38
 hflexfiller.h:39
 hflexfiller.h:40
 hflexfiller.h:41
 hflexfiller.h:42
 hflexfiller.h:43
 hflexfiller.h:44
 hflexfiller.h:45