18const double mass[5] = { 0.00051100, 0.10566, 0.13957, 0.49368, 0.93827 };
31 int id1()
const {
return m_id1; }
32 int id2()
const {
return m_id2; }
33 unsigned int barrel()
const {
return m_barrel; }
35 double p()
const {
return m_momentum; }
36 double path()
const {
return m_path; }
37 double path1()
const {
return m_path1; }
38 double path2()
const {
return m_path2; }
39 double zrhit1()
const {
return m_zrhit1; }
40 double zrhit2()
const {
return m_zrhit2; }
41 double errzr1()
const {
return m_errzr1; }
42 double errzr2()
const {
return m_errzr2; }
43 int kal(
unsigned int i)
const {
return m_kal[i]; }
44 double zrhit1(
unsigned int i)
const {
return m_zr1[i]; }
45 double zrhit2(
unsigned int i)
const {
return m_zr2[i]; }
46 double errzr1(
unsigned int i)
const {
return m_ezr1[i]; }
47 double errzr2(
unsigned int i)
const {
return m_ezr2[i]; }
48 std::vector<TofData*>
tofData1()
const {
return m_tofData1; }
49 std::vector<TofData*>
tofData2()
const {
return m_tofData2; }
50 int size1()
const {
return m_tofData1.size(); }
51 int size2()
const {
return m_tofData2.size(); }
52 int size3()
const {
return m_tofData3.size(); }
53 int size4()
const {
return m_tofData4.size(); }
54 double theta1()
const {
return m_theta1; }
55 double theta2()
const {
return m_theta2; }
56 double phi1()
const {
return m_phi1; }
57 double phi2()
const {
return m_phi2; }
58 unsigned int quality1()
const {
return m_quality1; }
59 unsigned int quality2()
const {
return m_quality2; }
60 unsigned int quality()
const {
return m_quality; }
62 int tofId1()
const {
return m_tofId1; }
63 int tofId2()
const {
return m_tofId2; }
65 double ph11()
const {
return m_ph11; }
66 double ph12()
const {
return m_ph12; }
67 double ph21()
const {
return m_ph21; }
68 double ph22()
const {
return m_ph22; }
69 double ph1()
const {
return m_ph1; }
70 double ph2()
const {
return m_ph2; }
71 double ph()
const {
return m_ph; }
73 double tof11(
unsigned int i)
const {
return m_tof11[i]; }
74 double tof12(
unsigned int i)
const {
return m_tof12[i]; }
75 double tof21(
unsigned int i)
const {
return m_tof21[i]; }
76 double tof22(
unsigned int i)
const {
return m_tof22[i]; }
77 double tof1(
unsigned int i)
const {
return m_tof1[i]; }
78 double tof2(
unsigned int i)
const {
return m_tof2[i]; }
79 double tof(
unsigned int i)
const {
return m_tof[i]; }
81 double qch1()
const {
return m_qch1; }
82 double qch2()
const {
return m_qch2; }
83 double qch3()
const {
return m_qch3; }
84 double qch4()
const {
return m_qch4; }
85 double adc1()
const {
return m_adc1; }
86 double adc2()
const {
return m_adc2; }
87 double adc3()
const {
return m_adc3; }
88 double adc4()
const {
return m_adc4; }
89 double tdc1()
const {
return m_tdc1; }
90 double tdc2()
const {
return m_tdc2; }
91 double tdc3()
const {
return m_tdc3; }
92 double tdc4()
const {
return m_tdc4; }
94 double texpInner(
unsigned int i)
const {
return m_texpInner[i]; }
95 double texpOuter(
unsigned int i)
const {
return m_texpOuter[i]; }
96 double texp(
unsigned int i)
const {
return m_texp[i]; }
98 double ztdc1()
const {
return m_ztdc1; }
99 double ztdc2()
const {
return m_ztdc2; }
100 double zadc1()
const {
return m_zadc1; }
101 double zadc2()
const {
return m_zadc2; }
103 double estime()
const {
return m_estime; }
104 double tdiff1()
const {
return m_tdiff1; }
105 double tdiff2()
const {
return m_tdiff2; }
109 unsigned int flag()
const {
return m_flag; }
130 void match(std::vector<MrpcDBSTrack*>*& tofTrackVec );
131 void findTofDataMRPC( std::vector<TofData*> tofDataVec1, std::vector<TofData*> tofDataVec2,
double zrhit,
unsigned int iflag);
137 void findTofDataBarrel( std::vector<TofData*> tofDataVec1, std::vector<TofData*> tofDataVec2,
double zrhit,
unsigned int iflag, std::vector<MrpcDBSTrack*>*& tofTrackVec );
140 void findTofDataEndcap( std::vector<TofData*> tofDataVec1, std::vector<TofData*> tofDataVec2,
double zr1[5] );
192 int m_tofId1, m_tofId2;
193 unsigned int m_barrel;
196 double m_path, m_path1, m_path2;
197 double m_zrhit1, m_errzr1, m_zrhit2, m_errzr2;
199 double m_zr1[5], m_ezr1[5], m_zr2[5], m_ezr2[5];
200 std::vector<TofData*> m_tofData1;
201 std::vector<TofData*> m_tofData2;
202 std::vector<TofData*> m_tofData3;
203 std::vector<TofData*> m_tofData4;
204 unsigned int m_quality1, m_quality2;
205 unsigned int m_quality;
216 double m_theta1, m_theta2, m_phi1, m_phi2;
218 double m_ph11, m_ph12, m_tof11[5], m_tof12[5];
219 double m_ph21, m_ph22, m_tof21[5], m_tof22[5];
220 double m_ph1, m_ph2, m_ph;
221 double m_tof1[5], m_tof2[5], m_tof[5];
223 double m_texp[5], m_texpInner[5], m_texpOuter[5];
225 double m_sigma11, m_sigma12, m_sigma21, m_sigma22;
226 double m_sigma_mrpc[5];
227 double m_sigma1, m_sigma2, m_sigma;
229 double m_qch1, m_qch2, m_qch3, m_qch4;
230 double m_adc1, m_adc2, m_adc3, m_adc4;
231 double m_tdc1, m_tdc2, m_tdc3, m_tdc4;
233 double m_ztdc1, m_ztdc2, m_zadc1, m_zadc2;
235 double m_estime, m_tdiff1, m_tdiff2;
239 double m_corresponding_time;
241 bool t_trans_with_extrap;
242 bool t_trans_with_dbs;
247 double m_stripidentifier;
253 double m_simulated_transtime;
255 double m_mrpc_extrap;
std::vector< MrpcDBSTrack * > TofTrackVec
ObjectVector< RecTofTrack > RecTofTrackCol
std::multimap< unsigned int, TofData * > TofDataMap
double tof12(unsigned int i) const
void setQuality(int qual)
double zrhit2(unsigned int i) const
double tof11(unsigned int i) const
void findTofDataEndcap(std::vector< TofData * > tofDataVec1, std::vector< TofData * > tofDataVec2, double zr1[5])
unsigned int quality1() const
ExtTrackCase hitCase() const
unsigned int barrel() const
double errzr2(unsigned int i) const
double texpOuter(unsigned int i) const
bool trans_with_dbs_info(void)
double tof1(unsigned int i) const
void setRecTofTrack(RecTofTrack *track, int layerorend)
double texpInner(unsigned int i) const
void setFlag(unsigned int flag)
TofData * compareTofData(TofData *tofData1, TofData *tofData2, double zrhit)
void getTofDataNohit(unsigned int iflag)
double tof21(unsigned int i) const
unsigned int flag() const
MrpcCalibSvc * mrpcCaliSvc
unsigned int quality2() const
int kal(unsigned int i) const
TofData * chooseTofData(std::vector< TofData * > tofDataVec, double zrhit)
double tof2(unsigned int i) const
void setExtTrack(RecExtTrack *extTrack, int kal[5], double t0, int t0Stat)
void getTofData(TofData *tof, unsigned int iflag)
double errzr1(unsigned int i) const
void getTofDataWest(TofData *tof, unsigned int iflag)
void setQuality1(int qual1)
void findTofDataMRPC(std::vector< TofData * > tofDataVec1, std::vector< TofData * > tofDataVec2, double zrhit, unsigned int iflag)
void setQuality2(int qual2)
std::vector< TofData * > tofData1() const
int get_mrpc_module_id_neighbour(string which, int stripid, int layer)
double tof(unsigned int i) const
int get_strip_number_neighbour_base_12(string which, int strip_base_24)
void getMultiHit(MrpcDBSTrack *&)
TofData * compareTofDataMRPC(TofData *tofData1, TofData *tofData2)
double zrhit1(unsigned int i) const
void getTofDataEast(TofData *tof, unsigned int iflag)
double mrpc_simulated_transtime()
void getTofDataMRPC(TofData *, unsigned int)
void buildRecTofTrack(RecTofTrack *track, int layerorend)
TofData * chooseTofDataMRPC(std::vector< TofData *, std::allocator< TofData * > >)
double mrpc_stripidentifier()
void setTofData(TofDataMap tofDataMap, int)
TofData * chooseTofDataEndcap(std::vector< TofData * > tofDataVec, double zr1[5])
void findTofDataBarrel(std::vector< TofData * > tofDataVec1, std::vector< TofData * > tofDataVec2, double zrhit, unsigned int iflag, std::vector< MrpcDBSTrack * > *&tofTrackVec)
void tofDataAnalysis(TofData *tof, unsigned int iflag)
int get_mrpc_partid_neighbour(std::string, int)
std::vector< TofData * > tofData2() const
void match(std::vector< MrpcDBSTrack * > *&tofTrackVec)
void convert2RecTofTrackCol(RecTofTrackCol *recTofTrackCol)
bool trans_with_extrap_track(void)
bool two_digis_from_same_strip(std::vector< TofData * > tofDataVec)
TofData * compareTofDataEndcap(TofData *tofData1, TofData *tofData2)
unsigned int quality() const
double texp(unsigned int i) const
double tof22(unsigned int i) const