00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef ST_TRS_FAST_CHARGE_TRANSPORTER_HH
00033 #define ST_TRS_FAST_CHARGE_TRANSPORTER_HH
00034
00035 #include "StTrsChargeTransporter.hh"
00036
00037 #include "StGlobals.hh"
00038 #include "StThreeVector.hh"
00039
00040
00041 #include "StTpcGeometry.hh"
00042
00043 class StTrsFastChargeTransporter : public StTrsChargeTransporter {
00044 public:
00045 ~StTrsFastChargeTransporter();
00046
00047
00048
00049 static StTrsChargeTransporter* instance(StTpcGeometry*, StTpcSlowControl*, StTrsDeDx*, StMagneticField*);
00050
00051 void transportToWire(StTrsMiniChargeSegment&,double& ,double & ) ;
00052 double chargeAttachment(double) const;
00053 double wireGridTransmission() ;
00054 int fieldFactorTable();
00055 protected:
00056 StTrsFastChargeTransporter(StTpcGeometry*, StTpcSlowControl*, StTrsDeDx*, StMagneticField*);protected:
00057
00058 private:
00059 static StTrsChargeTransporter* mInstance;
00060 double mB2[4];
00061 double mK[4];
00062 double mb[4];
00063
00064 };
00065
00066 #endif