Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DmxHypothesis.h

Go to the documentation of this file.
00001 
00002 //$Id: DmxHypothesis.h,v 1.44 2004/10/05 15:44:59 brebel Exp $
00003 //
00004 //DmxHypothesis.h
00005 //
00006 //DmxHypothesis owns the description of signal to strip 
00007 //correllations for the hypothesis.  it is passed a pointer to the
00008 //stat to use to evaluate the goodness of the reconstruction
00009 //
00010 //Author:  B. Rebel 6/2000
00012 
00013 #ifndef DMXHYPOTHESIS_H
00014 #define DMXHYPOTHESIS_H
00015 
00016 #include "TObject.h"
00017 #include "Candidate/CandHandle.h"
00018 #include "CandDigit/CandDeMuxDigitHandle.h"
00019 #include "Navigation/XxxItr.h"
00020 XXXITRDEF(DmxHypothesis)
00021 
00022 class AlgConfig;
00023 class DmxStatistic;
00024 class UgliGeomHandle;
00025 
00026 class DmxHypothesis : public TObject{
00027 
00028  public:
00029 
00030   DmxHypothesis();
00031   DmxHypothesis(AlgConfig &acd, CandDeMuxDigitHandleItr &cdhitr,Int_t lowerStrip, 
00032                 Int_t upperStrip);
00033   virtual ~DmxHypothesis();
00034   
00035   Float_t GetCoG() const;
00036   Int_t GetCompareFlag() const;
00037   Int_t GetLowerBound() const;
00038   Float_t GetMatedSignalRatio() const;
00039   Int_t GetNumberOfStripsUsed() const;
00040   Float_t GetStat() const;
00041   DmxStatistic *GetStatObject() const;
00042   Float_t GetTieBreakerStat() const;
00043   Float_t GetTimingOffset(UgliGeomHandle *ugh);
00044   //Float_t GetTimingOffset();
00045   Int_t GetUpperBound() const;
00046   Bool_t IsValid() const;
00047   void PrintRecon();
00048   void SetStrips();
00049   
00050  private:
00051   
00052   //Data Members
00053 
00054   bool fAllUsed; //flag for all digits used in the hypothesis, only matters when using NavMasks
00055   CandDeMuxDigitHandleItr fCdhit;  //iterator over digits in a plane
00056   Int_t fCompare;  //flag for how to compare statistics
00057   Float_t fCoG;  //center of gravity of the hypothesis
00058   Int_t fLowerBound;  //lower bound of the hypothesis
00059   Int_t fMaxSeparation;  //maximum separation in strips between hits in the hypothesis
00060   Float_t fMatedSignalRatio;  //ratio of signal on strips with signal on 
00061                               //both sides to the total signal in a hypothesis
00062   Float_t fRequiredMatedSignalRatio;  //required ratio of signal on strips with  
00063                                       //signal on both sides to the total signal in 
00064                                       //a hypothesis for the reconstruction to be valid
00065   DmxStatistic *fStat;  //statistic to get goodness of fit
00066   Int_t fStripsUsed;
00067   //Float_t fTimeOffset;
00068   Int_t fUpperBound;  //upper bound of the hypothesis
00069 
00070   ClassDef(DmxHypothesis, 1) //DmxHypothesis
00071     
00072 };
00073   
00074 #endif // DMXHYPOTHESIS_H
00075 
00076 
00077 
00078 
00079 
00080 
00081 
00082 
00083 

Generated on Mon Feb 15 11:06:38 2010 for loon by  doxygen 1.3.9.1