00001 00002 #ifndef FARDETSLICEHANDLE_H 00003 #define FARDETSLICEHANDLE_H 00004 00005 #include "FarDetSlice.h" 00006 #include "Navigation/XxxItr.h" 00007 #include "RecoBase/CandSliceHandle.h" 00008 00009 00010 class FarDetSliceHandle : public CandSliceHandle 00011 { 00012 00013 public: 00014 FarDetSliceHandle(); 00015 FarDetSliceHandle(const FarDetSliceHandle &csh); 00016 FarDetSliceHandle(FarDetSlice *cs); 00017 virtual ~FarDetSliceHandle(); 00018 virtual FarDetSliceHandle *DupHandle() const; 00019 virtual void Trace(const char* c) const; 00020 00021 void SetSM1(Double_t* charge,Double_t* xpos,Double_t* ypos,Double_t* zpos); 00022 void SetSM2(Double_t* charge,Double_t* xpos,Double_t* ypos,Double_t* zpos); 00023 void SetMaxPlaneCharge(Double_t charge); 00024 void SetEventId(Int_t id); 00025 void SetEventIdSM1(Int_t idsm1); 00026 void SetEventIdSM2(Int_t idsm2); 00027 void SetEventIdX(Int_t idx); 00028 void SetEdgesSM1(Int_t nedges); 00029 void SetEdgesSM2(Int_t nedges); 00030 void SetEdges(Int_t nedges); 00031 void SetGoodUPlanes(Int_t uplanes); 00032 void SetGoodVPlanes(Int_t vplanes); 00033 void SetGoodPlanes(Int_t nplanes); 00034 void SetGoodStrips(Int_t nstrips); 00035 00036 Double_t GetFidChargeSM1(Int_t id) const; 00037 Double_t GetFidChargeSM2(Int_t id) const; 00038 Double_t GetMeanXPosSM1(Int_t id) const; 00039 Double_t GetMeanXPosSM2(Int_t id) const; 00040 Double_t GetMeanYPosSM1(Int_t id) const; 00041 Double_t GetMeanYPosSM2(Int_t id) const; 00042 Double_t GetMeanZPosSM1(Int_t id) const; 00043 Double_t GetMeanZPosSM2(Int_t id) const; 00044 Double_t GetMaxPlaneCharge() const; 00045 Double_t GetTotalCharge() const; 00046 Double_t GetFidCharge() const; 00047 Int_t GetEventId() const; 00048 Int_t GetEventIdSM1() const; 00049 Int_t GetEventIdSM2() const; 00050 Int_t GetEventIdX() const; 00051 Int_t GetEdgesSM1() const; 00052 Int_t GetEdgesSM2() const; 00053 Int_t GetEdges() const; 00054 Int_t GetGoodUPlanes() const; 00055 Int_t GetGoodVPlanes() const; 00056 Int_t GetGoodPlanes() const; 00057 Int_t GetGoodStrips() const; 00058 00059 00060 private: 00061 00062 ClassDef(FarDetSliceHandle,1) 00063 00064 }; 00065 00066 XXXITRDEF(FarDetSliceHandle) 00067 00068 #endif 00069
1.3.9.1