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

Diff of /DarthVader/src/DarthVader.cpp

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

revision 1.15 by mocchiut, Thu Nov 9 14:44:09 2006 UTC revision 1.16 by mocchiut, Thu Nov 9 17:05:52 2006 UTC
# Line 544  int main(int numinp, char *inps[]){ Line 544  int main(int numinp, char *inps[]){
544      if ( TRK && !(runinfo->ACQ_VAR_INFO & (1 << 4)) ) DVSGN += 1;      if ( TRK && !(runinfo->ACQ_VAR_INFO & (1 << 4)) ) DVSGN += 1;
545      if ( TOF && !(runinfo->ACQ_VAR_INFO & (1 << 0)) ) DVSGN += 2;      if ( TOF && !(runinfo->ACQ_VAR_INFO & (1 << 0)) ) DVSGN += 2;
546      if ( CAL && !(runinfo->ACQ_VAR_INFO & (1 << 3)) ) DVSGN += 4;      if ( CAL && !(runinfo->ACQ_VAR_INFO & (1 << 3)) ) DVSGN += 4;
547      if ( AC  && ((runinfo->ACQ_VAR_INFO & (1 << 1)) || !(runinfo->ACQ_VAR_INFO & (1 << 2))) ) DVSGN += 8;      if ( AC  && (!(runinfo->ACQ_VAR_INFO & (1 << 1)) || !(runinfo->ACQ_VAR_INFO & (1 << 2))) ) DVSGN += 8;
548      if ( S4  && !(runinfo->ACQ_VAR_INFO & (1 << 5)) ) DVSGN += 16;      if ( S4  && !(runinfo->ACQ_VAR_INFO & (1 << 5)) ) DVSGN += 16;
549      if ( ND  && (runinfo->ACQ_VAR_INFO & (1 << 9)) ) DVSGN += 32;      if ( ND  && !(runinfo->ACQ_VAR_INFO & (1 << 9)) ) DVSGN += 32;
550      //      //
551      if ( !DVSGN ){      if ( !DVSGN ){
552        printf(" OK! Start processing detector's data. \n");        printf(" OK! Start processing detector's data. \n");

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.23