ROOT logo
#ifndef __HPARTICLEBT_H__
#define __HPARTICLEBT_H__

#include "TObject.h"
#include "hparticlebtringf.h"
#include "hparticlebtclusterf.h"
#include "hparticlebtring.h"
#include "hparticletracksorter.h"
#include "hreconstructor.h"
#include "hparticleanglecor.h"
#include "hparticlebtpar.h"


class HParticleBt : public HReconstructor {

protected:

    HCategory*             fParticleBtOutCat;
    HCategory*             fParticleBtRingInfoCat;
  
    HParticleBtRingF*      fRing;
    HParticleBtClusterF*   fClus;
    HCategory*             fCandCat;
    HCategory*             fRichCal;

    HParticleTrackSorter   fSorter;
    HParticleAngleCor      fAngleCor;
    HParticleBtPar*        fBtPar;
    Bool_t                 fDebugInfo;
    Bool_t                 fdoAngleCorr;

    static Float_t         fBetaRPCLimit;
    static Float_t         fBetaTOFLimit;
    static Float_t         fMdcdEdxLimit;
    static Float_t         foAngleLimit;

public:

    HParticleBt(void);
    HParticleBt(const Text_t* name,const Text_t* title,const TString beamtime);

    ~HParticleBt(void);

    // -----------------------------------------------------

    void setDebugInfo(Bool_t debugInfo);
    Bool_t init(void);
    Bool_t reinit(void);
    Bool_t finalize(void) { return kTRUE; }
    Int_t execute(void);

    // -----------------------------------------------------
protected:

    void fillOutput(vector <HParticleCand> &candidates);
    
    static Bool_t selectLeptonsBeta(HParticleCand* pcand);
    static Bool_t isGoodLepton(HParticleCand* cand);


   ClassDef(HParticleBt, 0)
};


#endif  // __HPARTICLEBT_H__

 hparticlebt.h:1
 hparticlebt.h:2
 hparticlebt.h:3
 hparticlebt.h:4
 hparticlebt.h:5
 hparticlebt.h:6
 hparticlebt.h:7
 hparticlebt.h:8
 hparticlebt.h:9
 hparticlebt.h:10
 hparticlebt.h:11
 hparticlebt.h:12
 hparticlebt.h:13
 hparticlebt.h:14
 hparticlebt.h:15
 hparticlebt.h:16
 hparticlebt.h:17
 hparticlebt.h:18
 hparticlebt.h:19
 hparticlebt.h:20
 hparticlebt.h:21
 hparticlebt.h:22
 hparticlebt.h:23
 hparticlebt.h:24
 hparticlebt.h:25
 hparticlebt.h:26
 hparticlebt.h:27
 hparticlebt.h:28
 hparticlebt.h:29
 hparticlebt.h:30
 hparticlebt.h:31
 hparticlebt.h:32
 hparticlebt.h:33
 hparticlebt.h:34
 hparticlebt.h:35
 hparticlebt.h:36
 hparticlebt.h:37
 hparticlebt.h:38
 hparticlebt.h:39
 hparticlebt.h:40
 hparticlebt.h:41
 hparticlebt.h:42
 hparticlebt.h:43
 hparticlebt.h:44
 hparticlebt.h:45
 hparticlebt.h:46
 hparticlebt.h:47
 hparticlebt.h:48
 hparticlebt.h:49
 hparticlebt.h:50
 hparticlebt.h:51
 hparticlebt.h:52
 hparticlebt.h:53
 hparticlebt.h:54
 hparticlebt.h:55
 hparticlebt.h:56
 hparticlebt.h:57
 hparticlebt.h:58
 hparticlebt.h:59
 hparticlebt.h:60
 hparticlebt.h:61
 hparticlebt.h:62
 hparticlebt.h:63
 hparticlebt.h:64
 hparticlebt.h:65
 hparticlebt.h:66