// $Id$ // // File: DFMWPCTruthHit.h // Created: Tue Jun 16 07:07:54 EDT 2015 // Creator: davidl (on Darwin harriet.jlab.org 13.4.0 i386) // #ifndef _DFMWPCTruthHit_ #define _DFMWPCTruthHit_ #include class DFMWPCTruthHit:public JObject{ public: JOBJECT_PUBLIC(DFMWPCTruthHit); int layer; // 1-8 int wire; // 1-144 float dE; // GeV float dx; // cm float t; // ns void toStrings(vector >&items) const { AddString(items, "layer", "%d", layer); AddString(items, "wire", "%d", wire); AddString(items, "dE(keV)", "%3.1f", dE*1.0E6); AddString(items, "dx", "%3.2f", dx); AddString(items, "t", "%3.3f", t); } }; #endif // _DFMWPCTruthHit_