// $Id$ // // File: ReconPhoton.h // Created: Wed Mar 2 14:22:10 EST 2011 // Creator: davidl (on Linux ifarml6 2.6.18-128.el5) // #ifndef _ReconPhoton_ #define _ReconPhoton_ #include #include #include class ReconPhoton:public TObject{ public: // ctor ReconPhoton(void){ } // dtor ~ReconPhoton(void){ } // Clear void Clear(void){ event = 0; thrown.SetXYZT(0.0, 0.0, 0.0, 0.0); recon.SetXYZT(0.0, 0.0, 0.0, 0.0); pos.SetXYZ(0.0, 0.0, 0.0); t = 0.0; Nrecon = 0; irecon = -1; dist_to_thrown = 0.0; idist_to_thrown = -1; ptype_closest = -1; pos_closest.SetXYZ(0.0, 0.0, 0.0); pos_origin.SetXYZ(0.0, 0.0, 0.0); mech = 0; } int event; float theta_gen; float z_gen; // projected to r=65cm float t_gen; // projected to r=65cm (in ns) TLorentzVector thrown; TLorentzVector recon; TVector3 pos; // projected thrown position on calorimeter surface float t; int Nrecon; int irecon; // position in array of reconstructed photons float dist_to_thrown; int idist_to_thrown; // position in array ordered by distance_to_thrown. "0" means closest. int ptype_closest; // type of particle for most energetic trajectory point within 15cm of recon TVector3 pos_closest; // position of most energetic "" TVector3 pos_origin; // position of origin of most energetic "" int mech; // mechanism used to create most energetic "" private: ClassDef(ReconPhoton,1); }; #endif // _ReconPhoton_