//********************************************************************* // DFDCCathodeCluster.h: defintion for a cathode strip distribution // Author: Craig Bookwalter (craigb at jlab.org) // Date: Apr 2006 //********************************************************************* #ifndef DFDCCATHODECLUSTER_H #define DFDCCATHODECLUSTER_H #include #include #include #include #include "DFDCHit.h" #include using namespace jana; #define HIT_TIME_DIFF_MIN 10.0 class DFDCCathodeCluster : public JObject { public: JOBJECT_PUBLIC(DFDCCathodeCluster); /// DANA identifier vector members; /// DFDCHits that make up this cluster int gPlane; /// #1-74, which plane out of all FDC modules int plane; /// V=1, U=3 int gLayer; /// #1-24, which detection layer of all FDC int beginStrip; /// Strip # of first cluster member int endStrip; /// Strip # of last cluster member int maxStrip; /// Strip # number with highest dE int width; /// beginStrip - endStrip float q_tot; /// total energy/charge deposited in the cluster /// Return a sensible string representation of this object void toStrings(vector > &items)const{ AddString(items, "Nmembers", "%d", members.size()); AddString(items, "gPlane", "%d", gPlane); AddString(items, "plane", "%d", plane); AddString(items, "gLayer", "%d", gLayer); AddString(items, "beginStrip", "%d", beginStrip); AddString(items, "endStrip", "%d", endStrip); AddString(items, "maxStrip", "%d", maxStrip); AddString(items, "width", "%d", width); AddString(items, "q_tot", "%f", q_tot); } }; #endif //DFDCCATHODECLUSTER_H