/[PAMELA software]/DarthVader/TrackerLevel2/src/TrkLevel2.cpp
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/src/TrkLevel2.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.47 by pam-fi, Wed Oct 22 15:17:36 2008 UTC revision 1.49 by pam-fi, Tue Nov 25 14:41:37 2008 UTC
# Line 724  void TrkTrack::FillMiniStruct(cMini2trac Line 724  void TrkTrack::FillMiniStruct(cMini2trac
724              if(       XGood(i) && !YGood(i) ){              if(       XGood(i) && !YGood(i) ){
725                  track.xm_a[i] = xm[i] - omega * segment;                  track.xm_a[i] = xm[i] - omega * segment;
726                  track.ym_a[i] = ym[i] + segment;                  track.ym_a[i] = ym[i] + segment;
727  //          track.zm_a[i] = zm[i] + beta * segment;//not used yet                  track.zm_a[i] = zm[i] + beta * segment;
728                  track.xm_b[i] = xm[i] + omega * segment;                  track.xm_b[i] = xm[i] + omega * segment;
729                  track.ym_b[i] = ym[i] - segment;                  track.ym_b[i] = ym[i] - segment;
730  //          track.zm_b[i] = zm[i] - beta * segment;//not used yet                  track.zm_b[i] = zm[i] - beta * segment;
731              }else if( !XGood(i) && YGood(i) ){              }else if( !XGood(i) && YGood(i) ){
732                  track.xm_a[i] = xm[i] + segment;                  track.xm_a[i] = xm[i] + segment;
733                  track.ym_a[i] = ym[i] + omega * segment;                  track.ym_a[i] = ym[i] + omega * segment;
734  //          track.zm_a[i] = zm[i] - gamma * segment;//not used yet                  track.zm_a[i] = zm[i] - gamma * segment;
735                  track.xm_b[i] = xm[i] - segment;                  track.xm_b[i] = xm[i] - segment;
736                  track.ym_b[i] = ym[i] - omega * segment;                  track.ym_b[i] = ym[i] - omega * segment;
737  //          track.zm_b[i] = zm[i] + gamma * segment;//not used yet                  track.zm_b[i] = zm[i] + gamma * segment;
738              }              }
739          }          }
740                    
# Line 1259  Float_t TrkTrack::GetResidual_max(int ip Line 1259  Float_t TrkTrack::GetResidual_max(int ip
1259    
1260  };  };
1261  /**  /**
1262   * \brief Give the anerage spatial residual   * \brief Give the average spatial residual
1263   */   */
1264  Float_t TrkTrack::GetResidual_av(int ip, int iv){  Float_t TrkTrack::GetResidual_av(int ip, int iv){
1265      //      //
# Line 1446  void TrkSinglet::Dump(){ Line 1446  void TrkSinglet::Dump(){
1446      cout << endl << "plane        : " << plane;      cout << endl << "plane        : " << plane;
1447      cout << endl << "coord[2]     : "; while( i<2 && cout << coord[i] << " ") i++;      cout << endl << "coord[2]     : "; while( i<2 && cout << coord[i] << " ") i++;
1448      cout << endl << "sgnl         : " << sgnl;      cout << endl << "sgnl         : " << sgnl;
1449      cout << endl << "max.strip    : ";      cout << endl << "max.strip    : " << GetCluster_MaxStrip();
1450      cout << endl << "multiplicity : ";      cout << endl << "multiplicity : " << GetCluster_Multiplicity();
1451  }  }
1452  //--------------------------------------  //--------------------------------------
1453  //  //

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.49

  ViewVC Help
Powered by ViewVC 1.1.23