00001
00002
00003 #ifndef MUDST_CTBMATCHING_H
00004 #define MUDST_CTBMATCHING_H
00005 #include <vector>
00006 using std::vector;
00007
00008 class StMuEvent;
00009 class StMuTrack;
00010 struct ctbHit{
00011 double phi;
00012 double eta;
00013 float adc;
00014 };
00015
00016 class CtbMatching {
00017 int aa;
00018 vector<ctbHit> *ctbHits;
00019 float etaToll;
00020 float phiToll;
00021
00022 public:
00023 CtbMatching();
00024 void loadHits(StMuEvent* muEve);
00025 void ctb_get_slat_from_data(int slat, int tray, double & ctbphi, double & ctbeta);
00026 unsigned int match(const StMuTrack* rTrack);
00027 };
00028
00029 #endif
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041