00001 // $Id: StFtpcTrackMaker.h,v 1.24 2009/11/25 19:50:21 jcs Exp $ 00002 // $Log: StFtpcTrackMaker.h,v $ 00003 // Revision 1.24 2009/11/25 19:50:21 jcs 00004 // remove all references to StFtpcSoftwareMonitor 00005 // 00006 // Revision 1.23 2008/01/07 14:45:06 jcs 00007 // create and fill the special set of Ftpc track histograms used to evaluate 00008 // the Ftpc gain scan runs when the bfc option fgain is in the chain 00009 // 00010 // Revision 1.22 2007/12/11 09:36:40 jcs 00011 // Remove m_nrec_track histogram (never used) 00012 // 00013 // Revision 1.21 2007/04/27 15:39:29 jcs 00014 // Removed obsolete histogram (fpt_theta) 00015 // Only create and fill FTPC vertex by sector histograms if bfc debug option is on 00016 // 00017 // Revision 1.20 2006/09/27 11:00:31 jcs 00018 // comment out ftpc vs. tpc vertex histogram definitions, they are defined and filled in St_QA_Maker 00019 // 00020 // Revision 1.19 2004/09/27 14:17:02 jcs 00021 // pad vs. time histograms moved to St_QA_Maker 00022 // 00023 // Revision 1.18 2004/08/10 12:42:10 jcs 00024 // move DEBUGFILE and tracking method define statements from .h to .cxx 00025 // 00026 // Revision 1.17 2004/08/10 12:21:42 jcs 00027 // remove histograms which are also created in St_QA_Maker 00028 // 00029 // Revision 1.16 2004/08/09 15:08:14 jcs 00030 // remove unused histogram 00031 // 00032 // Revision 1.15 2004/06/18 09:07:03 jcs 00033 // add code to write out a root file for calibration 00034 // 00035 // Revision 1.14 2004/06/04 11:04:15 jcs 00036 // replaced StarDb/ftpc/fdepars/fdepar with StarDb/ftpc/ftpcdEdxPars 00037 // 00038 // Revision 1.13 2004/05/24 13:46:39 jcs 00039 // fill StFtpcSoftwareMonitor not dst_mon_soft_ftpc 00040 // 00041 // Revision 1.12 2004/05/07 15:02:18 oldi 00042 // Tracks are written to StEvent directly, now. 00043 // Primary Vertex is read from StEvent. 00044 // MonSoftDst table is filled here now (was filled in the now obsolete StFtpcGlobalMaker before). 00045 // 00046 // Revision 1.11 2004/03/22 16:02:04 oldi 00047 // Moved destruction of the instance of StFtpcTrackingParams from Finish() to FinishRun(). 00048 // 00049 // Revision 1.10 2003/09/10 19:47:18 perev 00050 // ansi corrs 00051 // 00052 // Revision 1.9 2002/11/06 13:46:54 oldi 00053 // Vertex handling simplifed. 00054 // Global/primary fit handling simplified. 00055 // Vertex estimations only calculated if a vertex was used for tracking. 00056 // Code clean ups. 00057 // 00058 // Revision 1.8 2002/10/31 13:41:16 oldi 00059 // Histograms for vertex estimation for different sectors added. 00060 // 00061 // Revision 1.7 2002/10/03 10:34:04 oldi 00062 // Usage of gufld removed. 00063 // Magnetic field is read by StMagUtilities, now. 00064 // 00065 // Revision 1.6 2002/04/05 16:51:07 oldi 00066 // Cleanup of MomentumFit (StFtpcMomentumFit is now part of StFtpcTrack). 00067 // Each Track inherits from StHelix, now. 00068 // Therefore it is possible to calculate, now: 00069 // - residuals 00070 // - vertex estimations obtained by back extrapolations of FTPC tracks 00071 // Chi2 was fixed. 00072 // Many additional minor (and major) changes. 00073 // 00074 // Revision 1.5 2002/03/01 14:21:21 jcs 00075 // add additional histograms to monitor cluster finding 00076 // 00077 // Revision 1.4 2001/07/12 13:05:01 oldi 00078 // QA histogram of FTPC vertex estimation is generated. 00079 // FTPC vertex estimation is stored as pre vertex (id = 301) in any case, now. 00080 // 00081 // Revision 1.3 2001/02/21 13:14:09 jcs 00082 // Add CVS Id strings in correct place 00083 // 00084 // Revision 1.2 2000/07/03 12:45:23 jcs 00085 // get (pre)Vertex coordinates directly from (pre)Vertex table instead of from 00086 // fptpars 00087 // 00088 // Revision 1.1 2000/05/10 13:39:30 oldi 00089 // Initial version of StFtpcTrackMaker 00090 // 00091 00093 // // 00094 // StFtpcTrackMaker virtual base class for Maker // 00095 // // 00097 00098 #ifndef STAR_StFtpcTrackMaker 00099 #define STAR_StFtpcTrackMaker 00100 00101 #include "StMaker.h" 00102 #include "StFtpcTracker.hh" 00103 00104 class TH1F; 00105 class TH2F; 00106 class TProfile; 00107 class StEvent; 00108 class St_ftpcdEdxPars; 00109 00110 class StFtpcTrackMaker : public StMaker { 00111 00112 private: 00113 00114 protected: 00115 TH1F *m_pointFW; 00116 TH1F *m_pointFE; 00117 TH1F *m_ratiomFW; 00118 TH1F *m_ratiomFE; 00119 TH1F *m_planefF; 00120 TH1F *m_psiFW; 00121 TH1F *m_psiFE; 00122 TH2F *m_xf_yfFW; 00123 TH2F *m_xf_yfFE; 00124 TH2F *m_pnt_padtimeFW; 00125 TH2F *m_pnt_padtimeFE; 00126 TH2F *m_good_trk; 00127 TH1F *m_vtx_pos; 00128 TH1F *m_maxadc_West; 00129 TH1F *m_maxadc_East; 00130 TH1F *m_charge_West; 00131 TH1F *m_charge_East; 00132 TH1F *m_xres; 00133 TH1F *m_yres; 00134 TH1F *m_rres; 00135 TH1F *m_phires; 00136 TH2F *m_rres_vs_r_east; 00137 TH2F *m_phires_vs_r_east; 00138 TH2F *m_rres_vs_r_west; 00139 TH2F *m_phires_vs_r_west; 00140 00141 // TH2F *m_vertex_east_xy; //! vertex xy estimation east 00142 // TH1F *m_vertex_east_z; //! vertex z estimation east 00143 TH2F *m_vertex_east_x_vs_sector; 00144 TH2F *m_vertex_east_y_vs_sector; 00145 TH2F *m_vertex_east_z_vs_sector; 00146 // TH2F *m_vertex_west_xy; //! vertex xy estimation west 00147 // TH1F *m_vertex_west_z; //! vertex z estimation west 00148 TH2F *m_vertex_west_x_vs_sector; 00149 TH2F *m_vertex_west_y_vs_sector; 00150 TH2F *m_vertex_west_z_vs_sector; 00151 00152 public: 00153 StFtpcTrackMaker(const char *name="ftpc_tracks"); // constructor 00154 virtual ~StFtpcTrackMaker(); // destructor 00155 virtual Int_t InitRun(Int_t run); // Initialisation per run 00156 virtual Int_t Init(); // Initialisation 00157 virtual Int_t Make(); // actual program 00158 virtual Int_t Finish(); // final cleanup 00159 virtual Int_t FinishRun(Int_t run); // cleanup after every run 00160 virtual const char *GetCVS() const 00161 {static const char cvs[]="Tag $Name: $ $Id: StFtpcTrackMaker.h,v 1.24 2009/11/25 19:50:21 jcs Exp $ built "__DATE__" "__TIME__ ; return cvs;} 00162 virtual void PrintInfo(); // prints information 00163 void MakeHistograms(StFtpcTracker *tracker); // makes histograms 00164 00165 00166 ClassDef(StFtpcTrackMaker,0) //StAF chain virtual base class for Makers 00167 }; 00168 00169 #endif
1.5.9