// $Id$ // // File: DNeutralShower.h // Created: Tue Aug 9 14:29:24 EST 2011 // Creator: pmatt (on Linux ifarml6 2.6.18-128.el5 x86_64) // #ifndef _DNeutralShower_ #define _DNeutralShower_ #include #include #include #include "JANA/JObject.h" #include "GlueX.h" #include "DLorentzVector.h" #include "DMatrixDSym.h" using namespace std; class DNeutralShower : public jana::JObject { public: JOBJECT_PUBLIC(DNeutralShower); DLorentzVector dSpacetimeVertex; double dEnergy; DetectorSystem_t dDetectorSystem; DMatrixDSym dCovarianceMatrix; //E, x, y, z, t void toStrings(vector > &items) const{ AddString(items, "E", "%3.5f", dEnergy); AddString(items, "x", "%3.2f", dSpacetimeVertex.X()); AddString(items, "y", "%3.2f", dSpacetimeVertex.Y()); AddString(items, "z", "%3.2f", dSpacetimeVertex.Z()); AddString(items, "t", "%3.2f", dSpacetimeVertex.T()); } }; #endif // _DNeutralShower_