00001 00002 // $Id: CandFitShowerEM.h,v 1.3 2006/06/21 00:52:15 rhatcher Exp $ 00003 // 00004 // CandFitShowerEM 00005 // 00007 00008 #ifndef CANDFITSHOWEREM_H 00009 #define CANDFITSHOWEREM_H 00010 00011 #include "CandShowerEM/CandShowerEM.h" 00012 00013 class AlgHandle; 00014 class CandContext; 00015 class CandFitShowerEMHandle; 00016 00017 class CandFitShowerEM : public CandShowerEM 00018 { 00019 friend class CandFitShowerEMHandle; 00020 00021 public: 00022 static CandFitShowerEMHandle MakeCandidate(AlgHandle &ah, 00023 CandContext &cx); 00024 CandFitShowerEM(); 00025 00026 virtual std::ostream& FormatToOStream(std::ostream& os, 00027 Option_t *option="") const; 00028 00029 protected: 00030 CandFitShowerEM(AlgHandle &ah); 00031 CandFitShowerEM(AlgHandle &ah, CandHandle &ch, CandContext &cx); 00032 CandFitShowerEM(const CandFitShowerEM &rhs); 00033 virtual ~CandFitShowerEM(); 00034 virtual void CreateLocalHandle(); 00035 virtual CandFitShowerEM *Dup() const; 00036 virtual Bool_t IsEquivalent(const TObject *rhs) const; 00037 00038 Double_t fChi2; 00039 Double_t fMomentum; 00040 Bool_t fPass; // = 1 if successfully fit 00041 00042 Int_t fNDOF; 00043 Double_t fCPUTime; // time spent to create this candidate 00044 Int_t fNIterate; 00045 00046 ClassDef(CandFitShowerEM,1) 00047 }; 00048 00049 #endif // CANDFITSHOWEREM_H
1.3.9.1