/[PAMELA software]/eventviewer/flight/src/FEVdetector.cpp
ViewVC logotype

Diff of /eventviewer/flight/src/FEVdetector.cpp

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

revision 1.22 by mocchiut, Thu Nov 8 14:00:52 2007 UTC revision 1.24 by mocchiut, Wed Nov 14 16:19:41 2007 UTC
# Line 1579  void FEVdetector::DisplayEvent(){ Line 1579  void FEVdetector::DisplayEvent(){
1579    //    //
1580    // print infos on terminal    // print infos on terminal
1581    //    //
1582      //  if ( !var.selex ){
1583    printf(" File: %s \n",var.thefilename.Data());            printf(" File: %s \n",var.thefilename.Data());        
1584    if ( !s4pulser && !calotrig ){    if ( !s4pulser && !calotrig ){
1585      printf(" Pkt_num: %i  - Progressive number: %i \n",(int)headc,thisentry+1);      printf(" Pkt_num: %i  - Progressive number: %i \n",(int)headc,thisentry+1);
# Line 1601  void FEVdetector::DisplayEvent(){ Line 1602  void FEVdetector::DisplayEvent(){
1602    printf(" CALO: NSTRIP = %i  QTOT = %i [MIP]\n",var.nstrip,var.qtot);      printf(" CALO: NSTRIP = %i  QTOT = %i [MIP]\n",var.nstrip,var.qtot);  
1603    printf(" S4: %.2f [MIP]   TOF: beta = %.2f \n",var.s4sig,var.beta[4]);            printf(" S4: %.2f [MIP]   TOF: beta = %.2f \n",var.s4sig,var.beta[4]);        
1604    printf(" ND: Trigger: neutrons = %i - Background: upper = %i lower = %i \n",var.trup,var.bkup,var.bkbo);          printf(" ND: Trigger: neutrons = %i - Background: upper = %i lower = %i \n",var.trup,var.bkup,var.bkbo);      
1605      //  };
1606    //    //
1607  }  }
1608    
# Line 5159  void FEVdetector::ShowTRK(Bool_t upd){ Line 5161  void FEVdetector::ShowTRK(Bool_t upd){
5161              //              //
5162              x = track->xm[plane];              x = track->xm[plane];
5163              Float_t xsig = track->dedx_x[plane];              Float_t xsig = track->dedx_x[plane];
5164              if ( track->xgood[plane] ){              if ( track->XGood(plane) ){
5165                //if ( x > -100 ){                //if ( x > -100 ){
5166                if ( xsig > 8. ) xsig = 8.;                if ( xsig > 8. ) xsig = 8.;
5167                if ( var.bw ){                if ( var.bw ){
# Line 5189  void FEVdetector::ShowTRK(Bool_t upd){ Line 5191  void FEVdetector::ShowTRK(Bool_t upd){
5191              trkpad[planepad]->Range(-7.05,0.,7.05,8.);              trkpad[planepad]->Range(-7.05,0.,7.05,8.);
5192              x = track->ym[plane];              x = track->ym[plane];
5193              xsig = track->dedx_y[plane];              xsig = track->dedx_y[plane];
5194              if ( track->ygood[plane] ){              if ( track->YGood(plane) ){
5195                //            if ( x > -100 ){                //            if ( x > -100 ){
5196                if ( xsig > 8. ) xsig = 8.;                if ( xsig > 8. ) xsig = 8.;
5197                if ( var.bw ){                if ( var.bw ){
# Line 5253  void FEVdetector::ShowTRK(Bool_t upd){ Line 5255  void FEVdetector::ShowTRK(Bool_t upd){
5255              Float_t xsig = track->dedx_x[plane];              Float_t xsig = track->dedx_x[plane];
5256              Float_t ysig = track->dedx_y[plane];              Float_t ysig = track->dedx_y[plane];
5257              //    if ( x > -100 && y > -100. ){              //    if ( x > -100 && y > -100. ){
5258              if ( track->xgood[plane] && track->ygood[plane] ){              if ( track->XGood(plane) && track->YGood(plane) ){
5259                if ( var.bw ){                if ( var.bw ){
5260                  sigcol1 = -1;                  sigcol1 = -1;
5261                  sigcol2 = -1;                  sigcol2 = -1;

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.23