// $Id$ // // File: DParticle_factory_THROWN.h // Created: Sat Oct 4 22:04:56 EDT 2008 // Creator: davidl (on Darwin Amelia.local 8.11.1 i386) // #ifndef _DParticle_factory_THROWN_ #define _DParticle_factory_THROWN_ #include #include #include "DParticle.h" class DParticle_factory_THROWN:public jana::JFactory{ public: DParticle_factory_THROWN(); ~DParticle_factory_THROWN(){}; const char* Tag(void){return "THROWN";} typedef DReferenceTrajectory::swim_step_t swim_step_t; private: enum fit_type_t{ kWireBased, kTimeBased }; class hitInfo{ public: vector wires; // Wire definitions vector shifts; // Effective wire shifts due to drift time vector errs; // Errors on drift time (or wire position) measurement vector u_dists; // Distances along the wire (for FDC cathodes) vector u_errs; // Errors on distance along the wire (for FDC cathodes) vector all_errs; // Merging of errs and u_errs so elements correspond to those in chisqv void PrintDebug(void){_DBG_<<"sizes: wires="<