13 #endif //#ifdef _WITHGBATCH_
19 printf(
"In myBetaPlus::myBetaPlus\n");
28 printf(
"In myBetaPlus::~myBetaPlus\n");
36 printf(
"In myBetaPlus::Clear\n");
39 TofTrackBeta = -999999;
40 TofTrackPattern = 999999;
42 TofTrackNPoints = 999999;
43 fill_n(TofTrackChargeLayer, 4, 0);
44 TofTrackChargePlaneUpper = 0;
45 TofTrackChargePlaneLower = 0;
52 printf(
"In myBetaPlus::init\n");
64 myBetaPlusFiller::myBetaPlusFiller(){
66 printf(
"In myBetaPlusFiller::myBetaPlusFiller\n");
73 myBetaPlusFiller::~myBetaPlusFiller(){
75 printf(
"In myBetaPlusFiller::~myBetaPlusFiller\n");
81 void myBetaPlusFiller::Clear(Option_t* option){
83 printf(
"In myBetaPlusFiller::Clear\n");
91 void myBetaPlusFiller::init(){
93 printf(
"In myBetaPlusFiller::init\n");
101 void myBetaPlusFiller::Fill(BetaR* _beta, TrTrackR* track,
int kDef){
103 printf(
"In myBeta::Fill\n");
111 TofTrack tof_track(beta, track, kDef);
112 TofTrackBeta = tof_track.GetBeta();
113 TofTrackPattern = tof_track.GetPattern();
114 TofTrackQ = tof_track.GetQ();
115 TofTrackNPoints = tof_track.GetNPoints();
116 TofTrackRelErr = tof_track.GetRelErr();
117 for (
int ii=0; ii<4; ii++) {
118 TofTrackChargeLayer[ii] = tof_track.GetChargeLayer(ii+1, TofTrack::kMix);
120 TofTrackChargePlaneUpper = tof_track.GetChargePlane(TofTrack::kUpper);
121 TofTrackChargePlaneLower = tof_track.GetChargePlane(TofTrack::kLower);