// $Id$ // // File: DTrack_factory_THROWN.h // Created: Mon Sep 3 19:57:11 EDT 2007 // Creator: davidl (on Darwin Amelia.local 8.10.1 i386) // #ifndef _DTrack_factory_THROWN_ #define _DTrack_factory_THROWN_ #include #include "DTrack.h" class DTrack_factory_THROWN:public JFactory{ public: DTrack_factory_THROWN(){}; ~DTrack_factory_THROWN(){}; const string toString(void); const char* Tag(void){return "THROWN";} private: //jerror_t init(void); ///< Called once at program start. //jerror_t brun(JEventLoop *eventLoop, int runnumber); ///< Called everytime a new run number is detected. jerror_t evnt(JEventLoop *eventLoop, int eventnumber); ///< Called every event. //jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called. //jerror_t fini(void); ///< Called after last event of last event source has been processed. double res_p1(double x); double res_p2(double x); double res_p3(double x); double res_p4(double x); double res_p5(double x); double res_p6(double x); double res_p7(double x); double res_p8(double x); double res_p9(double x); double res_p10(double x); double res_p11(double x); double res_p12(double x); void SmearMomentum(DTrack* trk); double SampleGaussian(double sigma); vector rt; vector cov; }; #endif // _DTrack_factory_THROWN_