00001 00002 // $Id: CandSubShowerSRHandle.h,v 1.7 2008/11/05 17:24:46 rodriges Exp $ 00003 // 00004 // CandSubShowerSRHandle 00005 // 00006 // CandSubShowerSRHandle is the specialized access handle to CandSubShowerSR. 00007 // 00009 00010 #ifndef CANDSUBSHOWERSRHANDLE_H 00011 #define CANDSUBSHOWERSRHANDLE_H 00012 00013 #include "Navigation/XxxItr.h" 00014 #include "RecoBase/CandRecoHandle.h" 00015 #include "CandSubShowerSR/ClusterType.h" 00016 #include "Conventions/PlaneView.h" 00017 class CandSubShowerSR; 00018 00019 class CandSubShowerSRHandle : public CandRecoHandle 00020 { 00021 00022 public: 00023 CandSubShowerSRHandle(); 00024 CandSubShowerSRHandle(const CandSubShowerSRHandle &csh); 00025 CandSubShowerSRHandle(CandSubShowerSR *cs); 00026 virtual ~CandSubShowerSRHandle(); 00027 virtual CandSubShowerSRHandle *DupHandle() const; 00028 00029 virtual void Trace(const char *c = "") const; 00030 00031 Double_t GetEnergy() const; 00032 void SetEnergy(Double_t); 00033 00034 PlaneView::PlaneView_t GetPlaneView() const; 00035 void SetPlaneView(PlaneView::PlaneView_t); 00036 00037 Float_t GetAvgDev() const; 00038 void SetAvgDev(Float_t); 00039 00040 Float_t GetSlope() const; 00041 void SetSlope(Float_t); 00042 00043 ClusterType::ClusterType_t GetClusterID() const; 00044 void SetClusterID(ClusterType::ClusterType_t); 00045 00046 Float_t GetProbEM() const; 00047 void SetProbEM(Float_t); 00048 00049 Double_t GetMinStripPE() const; 00050 void SetMinStripPE(Double_t); 00051 00052 Float_t GetMinU(Int_t) const; 00053 Float_t GetMaxU(Int_t) const; 00054 Float_t GetMinV(Int_t) const; 00055 Float_t GetMaxV(Int_t) const; 00056 Int_t GetNStrips(Int_t) const; 00057 00058 Double_t GetAveTime(); 00059 Double_t GetMinStpTime(); 00060 Double_t GetMaxStpTime(); 00061 00062 static NavKey KeyFromSlice(const CandSubShowerSRHandle *); 00063 static NavKey KeyFromViewEnergy(const CandSubShowerSRHandle *); 00064 static NavKey KeyFromReverseViewEnergy(const CandSubShowerSRHandle *); 00065 00066 ClassDef(CandSubShowerSRHandle,2) // User access handle to CandSubShowerSR 00067 00068 }; 00069 00070 XXXITRDEF(CandSubShowerSRHandle) 00071 00072 #endif // CANDSUBSHOWERSRHANDLE_H
1.3.9.1