#ifndef HRTMETAMATCH_H
#define HRTMETAMATCH_H

#include "hreconstructor.h"
#include "hmdcgeompar.h"
#include "hrtmetacorrelator.h"
#include "TNtuple.h"

class HCategory;
class HLocation;
class HIterator;
class HShowerGeometry;
class HSpecGeomPar;
//class HKickMdcTrk;
class HTofHit;
class HShowerHitTof;
class HRtMdcTrk;
class HKickPlane2;
class HKickMatchPar;
class HRtMatchingPar;

class HRtMetaMatch : public HReconstructor {
public:
  HRtMetaMatch(const Text_t name[]="metamatch",const Text_t title[]="metamatch");
  ~HRtMetaMatch(void);
  Bool_t init(void);
  Int_t execute(void);
  Bool_t finalize(void);
  void setDebug(Bool_t mode=kTRUE) { fDebug = mode; }
  void ignoreCuts(Bool_t f) { fIgnoreCuts = f; }
protected:
  HRtMetaCorrelator fCorrelator;
  HLocation         fHitLoc;        //!
  HLocation         fSecLoc;        //!
  HCategory         *fMdcCat;       //!
  HIterator         *fMdcIter;      //!
  HCategory         *fTrackCat;     //!
  HMdcGeomPar       *fMdcGeometry;  //!
  HSpecGeomPar      *fSpecGeometry; //!
  HKickPlane2       *fKickplane;    //!
  HKickMatchPar     *fMatchpar;     //!
  HRtMatchingPar    *fMdcMetaMatchPar;
  TNtuple           *fControl;      //!
  Bool_t            fDebug;
  Bool_t 	    fIgnoreCuts;   

  void evaluate(HRtMdcTrk *track, HRtMetaPoint &point);
  void fillData(HRtMdcTrk *track, HRtMetaPoint &point,Float_t pmeta);
public:
  ClassDef(HRtMetaMatch,1) //Matches tracks in MDC and hits in TOF/Shower
};

#endif

Last change: Sat May 22 13:11:56 2010
Last generated: 2010-05-22 13:11

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.