00001 #ifndef PLANECLUSTER_H 00002 #define PLANECLUSTER_H 00003 00004 #include "TObject.h" 00005 #include "RecoBase/CellHit.h" 00006 #include <vector> 00007 00008 using namespace std; 00009 00010 namespace recobase { 00011 00012 class PlaneCluster : public TObject 00013 { 00014 public: 00015 enum 00016 { 00017 fComposite = 0x0001, 00018 fFitted = 0x0002 00019 }; 00020 00021 public: 00022 PlaneCluster(); 00023 ~PlaneCluster(); 00024 00025 double Zpos() const {return fzpos;}; 00026 double dZ() const {return fdz;}; 00027 double Tpos() const {return ftpos;}; 00028 double dT() const {return fdt;}; 00029 00030 double W() const {return fW;}; 00031 double Lpos() const {return fLpos;}; 00032 double Costh() const {return fCosth;}; 00033 double WCor() const {return fWCor;}; 00034 00035 double ADC() const {return fW;}; 00036 double AvgTime() const {return fTime;}; 00037 int Nstrip() const {return fCellHit.size();}; 00038 int Plane() const {return fPlane;}; 00039 00040 00041 00042 std::vector<CellHit*> fCellHit; 00043 00044 public: 00045 short fStatus; 00046 public: 00047 double fzpos; 00048 double fdz; 00049 double ftpos; 00050 double fdt; 00051 double fW; 00052 double fLpos; 00053 double fCosth; 00054 double fWCor; 00055 int fPlane; 00056 double fTime; 00057 00058 ClassDef(PlaneCluster, 1) // Calibrated Cell Hit 00059 00060 }; 00061 } 00062 00063 #endif // PLANECLUSTER_H
1.3.5