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

Diff of /quicklook/dataToXML/PhysEndRunToXML.cpp

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

revision 1.1.1.1 by kusanagi, Tue Apr 25 09:00:20 2006 UTC revision 1.3 by mocchiut, Tue Oct 14 07:42:48 2008 UTC
# Line 78  void PhysEndRunToXML(TString base, TStri Line 78  void PhysEndRunToXML(TString base, TStri
78        tr->GetEntry(i);        tr->GetEntry(i);
79        ph      = eh->GetPscuHeader();        ph      = eh->GetPscuHeader();
80        outputFile << "<PHYSER_EVENT>\n";        outputFile << "<PHYSER_EVENT>\n";
81        outputFile << "\t<PACKET_OBT>" << ph->GetOrbitalTime() << "</PACKET_OBT>\n";        outputFile << "\t<PACKET_OBT>" << dec << ph->GetOrbitalTime() << "</PACKET_OBT>\n";
82        outputFile << "\t<PACKET_NUM>" << ph->GetCounter() << "</PACKET_NUM>\n";        outputFile << "\t<PACKET_NUM>" << ph->GetCounter() << "</PACKET_NUM>\n";
83        outputFile << "\t<CALOENDRUN_RECORDS>\n";        outputFile << "\t<CALOENDRUN_RECORDS>\n";
84        for (int j = 0; j < 4; j++){        for (int j = 0; j < 4; j++){
# Line 96  void PhysEndRunToXML(TString base, TStri Line 96  void PhysEndRunToXML(TString base, TStri
96            outputFile << "\t\t\t\t<HK1_ITEM>"      << (int)cer.CALO_HK1[k]           << "</HK1_ITEM>\n";            outputFile << "\t\t\t\t<HK1_ITEM>"      << (int)cer.CALO_HK1[k]           << "</HK1_ITEM>\n";
97          }          }
98          outputFile << "\t\t\t</HK1>\n";          outputFile << "\t\t\t</HK1>\n";
         outputFile << "\t\t\t<BOARD_ID_REG>"      << (int)cer.CALO_BOARD_ID_REG     << "</BOARD_ID_REG>\n";  
         outputFile << "\t\t\t<BOARD_ST_REG>"      << (int)cer.CALO_BOARD_STATUS_REG << "</BOARD_ST_REG>\n";  
99          outputFile << "\t\t\t<CALO_REG>\n";          outputFile << "\t\t\t<CALO_REG>\n";
100          for (int k = 0; k < 7; k++){          for (int k = 0; k < 7; k++){
101              outputFile << "\t\t\t\t<CALO_REG_ITEM>"      << (short)cer.CALO_BOARD_ID_REG[k]     << "</CALO_REG_ITEM>\n";
102              outputFile << "\t\t\t\t<CALO_REG_ITEM>"      << (short)cer.CALO_BOARD_STATUS_REG[k] << "</CALO_REG_ITEM>\n";
103            outputFile << "\t\t\t\t<CALO_REG_ITEM>" << (int)cer.CALO_REG[k]           << "</CALO_REG_ITEM>\n";            outputFile << "\t\t\t\t<CALO_REG_ITEM>" << (int)cer.CALO_REG[k]           << "</CALO_REG_ITEM>\n";
104          }          }
105          outputFile << "\t\t\t</CALO_REG>\n";          outputFile << "\t\t\t</CALO_REG>\n";
# Line 109  void PhysEndRunToXML(TString base, TStri Line 109  void PhysEndRunToXML(TString base, TStri
109    
110        outputFile << "\t<TBENDRUN>\n";        outputFile << "\t<TBENDRUN>\n";
111        ter = pere->TB_ENDRUN;        ter = pere->TB_ENDRUN;
112        outputFile << "\t\t<ALARM_MASK>"   << (int)ter.TB_ALARM_MASK   << "</ALARM_MASK>\n";        outputFile << "\t\t<ALARM_MASK>"   << (UInt_t)ter.TB_ALARM_MASK   << "</ALARM_MASK>\n";
113        outputFile << "\t\t<PMT_MASK_S3>"  << (int)ter.TB_PMT_MASK_S3  << "</PMT_MASK_S3>\n";        outputFile << "\t\t<PMT_MASK_S3S2S12>"  << (UInt_t)ter.TB_PMT_MASK_S3S2S12  << "</PMT_MASK_S3S2S12>\n";
114        outputFile << "\t\t<PMT_MASK_S2>"  << (int)ter.TB_PMT_MASK_S2  << "</PMT_MASK_S2>\n";        outputFile << "\t\t<PMT_MASK_S11CRC>"  << (UInt_t)ter.TB_PMT_MASK_S11CRC  << "</PMT_MASK_S11CRC>\n";
115        outputFile << "\t\t<PMT_MASK_S12>" << (int)ter.TB_PMT_MASK_S12 << "</PMT_MASK_S12>\n";        outputFile << "\t\t<PMT_MASK_S4CAL>" << (UInt_t)ter.TB_S4_CAL_MASK << "</PMT_MASK_S4CAL>\n";
116        outputFile << "\t\t<PMT_MASK_S11>" << (int)ter.TB_PMT_MASK_S11 << "</PMT_MASK_S11>\n";        outputFile << "\t\t<BUSY_MASK>"    << (UInt_t)ter.TB_BUSY_MASK    << "</BUSY_MASK>\n";
117        outputFile << "\t\t<S4_MASK>"      << (int)ter.TB_S4_MASK      << "</S4_MASK>\n";        outputFile << "\t\t<TRIG_CONF>"   << (UInt_t)ter.TB_TRIG_CONF   << "</TRIG_CONF>\n";
       outputFile << "\t\t<CALO_MASK>"    << (int)ter.TB_CALO_MASK    << "</CALO_MASK>\n";  
       outputFile << "\t\t<BUSY_MASK>"    << (int)ter.TB_BUSY_MASK    << "</BUSY_MASK>\n";  
       outputFile << "\t\t<CALIB_FLAG>"   << (int)ter.TB_CALIB_FLAG   << "</CALIB_FLAG>\n";  
       outputFile << "\t\t<S4_TRIG>"      << (int)ter.TB_S4_TRIG      << "</S4_TRIG>\n";  
       outputFile << "\t\t<CALO_TRIG>"    << (int)ter.TB_CALO_TRIG    << "</CALO_TRIG>\n";  
       outputFile << "\t\t<TOF_TRIG>"     << (int)ter.TB_TOF_TRIG     << "</TOF_TRIG>\n";  
118        outputFile << "\t</TBENDRUN>\n";        outputFile << "\t</TBENDRUN>\n";
119                            
120        outputFile << "</PHYSER_EVENT>\n";                outputFile << "</PHYSER_EVENT>\n";        

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23