ROOT logo
#ifndef HMDCDEDX2MAKER_H
#define HMDCDEDX2MAKER_H

#include "hreconstructor.h"
#include "TH2.h"
#include "TFile.h"

class HCategory;
class HIterator;
class HMdcDeDx2;

class HMdcDeDx2Maker : public HReconstructor {
protected:
  HCategory* trkcandCat;   //! pointer to the HMdcTrkCand data
  HCategory* segCat;       //! pointer to the HMdcSeg data
  HCategory* clsCat;       //! pointer to the HMdcClus data
  HCategory* clsInfCat;    //! pointer to the HMdcInfClus data
  HCategory* cal1Cat;      //! pointer to the HMdcCal1 data
  Bool_t hasPrinted;       // flag is set if printStatus is called
  HIterator* trkcanditer;  //! iterator on HMdcTrkCand data.
  HMdcDeDx2* mdcdedx;      //! dedx calculation parameters
  static Int_t module;     // switch for caldedx()  = 0 first mod in seg,
                           //                       = 1 second mod in seg,
                           //                       = 2 both mods in seg (default)
  static Int_t fillCase;   // 0 = combined (default) , 1 = combined+seg, 2 = combined+seg+mod
  void   initParameters(void);
  void   setParContainers(void);

public:
  HMdcDeDx2Maker(void);
  HMdcDeDx2Maker(const Text_t* name,const Text_t* title);
  ~HMdcDeDx2Maker(void);
  Bool_t init(void);
  Bool_t finalize(void);
  void   printStatus();
  Int_t  execute(void);
  static void setUseModule(Int_t m)     { module   =     m;}
  static void setFillCase (Int_t fcase) { fillCase = fcase;}
  ClassDef(HMdcDeDx2Maker,0) //  cal1 t2-t1 -> dEdx for Mdc data
};

#endif /* !HMDCDEDX2MAKER_H */

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