00001 00002 // $Id: CandSubShowerSR.h,v 1.3 2008/11/05 17:24:46 rodriges Exp $ 00003 // 00004 // CandSubShowerSR 00005 // 00006 // Concrete CandSubShowerSR class. 00007 // 00009 00010 #ifndef CANDSUBSHOWERSR_H 00011 #define CANDSUBSHOWERSR_H 00012 00013 #include "Candidate/CandHandle.h" 00014 #include "CandSubShowerSR/CandSubShowerSRHandle.h" 00015 #include "RecoBase/CandReco.h" 00016 #include "Conventions/PlaneView.h" 00017 #include "CandSubShowerSR/ClusterType.h" 00018 class AlgHandle; 00019 class CandContext; 00020 class CandSubShowerSRHandle; 00021 00022 class CandSubShowerSR : public CandReco 00023 { 00024 friend class CandSubShowerSRHandle; 00025 00026 public: 00027 static CandSubShowerSRHandle MakeCandidate(AlgHandle &ah, 00028 CandContext &cx); 00029 CandSubShowerSR(); 00030 00031 protected: 00032 CandSubShowerSR(AlgHandle &ah); 00033 CandSubShowerSR(AlgHandle &ah, CandHandle &ch, CandContext &cx); 00034 CandSubShowerSR(const CandSubShowerSR &rhs); 00035 virtual ~CandSubShowerSR(); 00036 virtual void CreateLocalHandle(); 00037 virtual CandSubShowerSR *Dup() const; 00038 virtual Bool_t IsEquivalent(const TObject *rhs) const; 00039 00040 Double_t Energy; 00041 PlaneView::PlaneView_t planeView; 00042 Float_t Slope; 00043 Float_t AvgDev; 00044 ClusterType::ClusterType_t ClusterID; 00045 Float_t ProbEM; 00046 Double_t MinStripPE; 00047 00048 ClassDef(CandSubShowerSR,2) 00049 }; 00050 00051 #endif // CANDSUBSHOWERSR_H