#include "hrichchernovringfitter.h"

HRichChernovRingFitter


class description - source file - inheritance tree (.pdf)

class HRichChernovRingFitter : public HReconstructor

Inheritance Chart:
TObject
<-
TNamed
<-
HTask
<-
HReconstructor
<-
HRichChernovRingFitter

    public:
HRichChernovRingFitter() HRichChernovRingFitter(Text_t* name, Text_t* title, Bool_t) ~HRichChernovRingFitter() void calcThetaAndPhi(HRichHit*) static TClass* Class() void clearFitParams() Double_t* compress(Double_t*, Int_t) void dumpFitParameters(Int_t, Int_t, Int_t, Float_t) virtual Int_t execute() virtual Bool_t finalize() Bool_t fit(TArrayD&, TArrayD&) Bool_t fitFiredPads() Bool_t fitFiredPads2() Bool_t fitFoundPhotons() HCategory* getCalCat() Double_t getFitCenterPhi() Double_t getFitCenterTheta() Double_t getFitCenterX() Double_t getFitCenterY() Double_t getFitRadius() Double_t getFitVar() HParSet* getGeometryPar() HCategory* getHitCat() HCategory* getHitFitCat() HCategory* getPhotonHitCat() HCategory* getPhotonHitHeaderCat() virtual Bool_t init() virtual TClass* IsA() const void setFitCenterPhi(Double_t centphi) void setFitCenterTheta(Double_t centtheta) void setFitCenterX(Double_t centx) void setFitCenterY(Double_t centy) void setFitRadius(Double_t rad) void setFitVar(Double_t var) void setGeometryPar(HParSet* pPar) virtual void ShowMembers(TMemberInspector& insp, char* parent) void storeFitinHRichHitFit(Int_t, Int_t, Int_t) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void switchXtoPhi() void unvalidFitParams()

Data Members

    private:
HIterator* pIterCal ! HIterator* pIterHit ! HIterator* pIterPhotonHit ! HIterator* pIterPhotonHitHeader ! HCategory* pCalCat ! HCategory* pHitCat ! HCategory* pHitFitCat ! HCategory* pPhotonHitCat ! HCategory* pPhotonHitHeaderCat ! HParSet* pGeomPar Pointer to geometry parameter container Bool_t kPhotonFinder kTRUE=fit found photon hit coords Double_t dFittedRadius Double_t dFittedCenterX Double_t dFittedCenterY Double_t dFitVariance Double_t dFittedCenterTheta Double_t dFittedCenterPhi Int_t mRC error flag Int_t fs size of square around hit center from recognition Int_t arraysize Int_t evtcounter

Class Description


HRichChernovRingFitter(Text_t *name,Text_t *title,Bool_t kPhoton) : HReconstructor(name,title)

~HRichChernovRingFitter(void)

Bool_t init()

Bool_t finalize()

Int_t execute()

void switchXtoPhi()

Bool_t fitFiredPads2()
 alternative implementation which is slower, astonishingly

Bool_t fitFiredPads()
 What to do with hits on the padplane border ?
 They are not fitted correctly !

void storeFitinHRichHitFit(Int_t s, Int_t n,Int_t i)

void clearFitParams()

void unvalidFitParams()

Double_t* compress(Double_t* arr,Int_t nPadCounter)

Bool_t fit(TArrayD &mXc, TArrayD &mYc)

void dumpFitParameters(Int_t sec,Int_t x,Int_t y,Float_t r)

void calcThetaAndPhi(HRichHit *pHit)
 interpolate the theta and phi values from the RTDB
 which are for the respective pad centers
 in order to retrieve the correct angles for the hit point
       4
    2  0  3
       1
 if a pad cannot be retrieved from the container
 do not interpolate



Inline Functions


        HRichChernovRingFitter HRichChernovRingFitter(Text_t* name, Text_t* title, Bool_t)
                    HCategory* getCalCat()
                    HCategory* getHitCat()
                    HCategory* getHitFitCat()
                    HCategory* getPhotonHitCat()
                    HCategory* getPhotonHitHeaderCat()
                          void setFitRadius(Double_t rad)
                          void setFitCenterX(Double_t centx)
                          void setFitCenterY(Double_t centy)
                          void setFitVar(Double_t var)
                          void setFitCenterTheta(Double_t centtheta)
                          void setFitCenterPhi(Double_t centphi)
                      Double_t getFitRadius()
                      Double_t getFitCenterX()
                      Double_t getFitCenterY()
                      Double_t getFitVar()
                      Double_t getFitCenterTheta()
                      Double_t getFitCenterPhi()
                      HParSet* getGeometryPar()
                          void setGeometryPar(HParSet* pPar)
                        Bool_t fitFoundPhotons()
                       TClass* Class()
                       TClass* IsA() const
                          void ShowMembers(TMemberInspector& insp, char* parent)
                          void Streamer(TBuffer& b)
                          void StreamerNVirtual(TBuffer& b)


Last update: Fri Jan 26 12:25:12 2007


ROOT page - Class index - Class Hierarchy - Top of the page

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.