/[PAMELA software]/quicklook/dataToXML/McmdToXML.cpp
ViewVC logotype

Diff of /quicklook/dataToXML/McmdToXML.cpp

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

revision 1.1 by kusanagi, Tue Apr 25 09:00:20 2006 UTC revision 1.2 by kusanagi, Mon Jun 5 08:26:11 2006 UTC
# Line 77  void McmdToXML(TString base, TString out Line 77  void McmdToXML(TString base, TString out
77        tr->GetEntry(i);        tr->GetEntry(i);
78        tmpSize = mcmde->Records->GetEntries();        tmpSize = mcmde->Records->GetEntries();
79        ph      = eh->GetPscuHeader();        ph      = eh->GetPscuHeader();
80        outputFile << "\t<McmdEvent PacketOBT = '" <<  ph->GetOrbitalTime()        outputFile << "\t<McmdEvent PacketOBT = '" << dec << ph->GetOrbitalTime()
81                 << "' PacketNum = '"            <<  ph->GetCounter()    << "'>\n";                 << "' PacketNum = '"            <<  ph->GetCounter()    << "'>\n";
82        for (int j = 0; j < tmpSize; j++){        for (int j = 0; j < tmpSize; j++){
83          mcmdr = (pamela::McmdRecord*)mcmde->Records->At(j);          mcmdr = (pamela::McmdRecord*)mcmde->Records->At(j);
84          outputFile << "\t\t<McmdRecord McmdOBT = '" << mcmdr->MCMD_RECORD_OBT            outputFile << "\t\t<McmdRecord McmdOBT = '" << dec << mcmdr->MCMD_RECORD_OBT  
85                   << "' SeqID = '"                 << (int)mcmdr->SeqID                     << "' SeqID = '"                 << (int)mcmdr->SeqID  
86                   << "' ID1 = '"                   << hex << (int)mcmdr->ID1  << "'>\n";                   << "' ID1 = '"                   << hex << (int)mcmdr->ID1  << "'>\n";
87          //printf("mcmd Code: %x \n", mcmdr->ID1);          //printf("mcmd Code: %x \n", mcmdr->ID1);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23