Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
//
// F.Ratnikov (UMd), Nov 1, 2005
//
#ifndef HcalDbXml_h
#define HcalDbXml_h

#include <iostream>

#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "CondFormats/HcalObjects/interface/AllObjects.h"

/**
   \brief IO for XML instances of Hcal Calibrations
   \author Fedor Ratnikov Oct. 28, 2005
   $Id: HcalDbXml.h,v 1.4 2007/10/22 19:09:59 fedor Exp $
   
*/
namespace HcalDbXml {
  bool dumpObject(std::ostream& fOutput,
                  unsigned fRun,
                  unsigned long fGMTIOVBegin,
                  unsigned long fGMTIOVEnd,
                  const std::string& fTag,
                  const HcalPedestals& fObject,
                  const HcalPedestalWidths& fError);
  bool dumpObject(std::ostream& fOutput,
                  unsigned fRun,
                  unsigned long fGMTIOVBegin,
                  unsigned long fGMTIOVEnd,
                  const std::string& fTag,
                  const HcalPedestals& fObject);
  inline bool dumpObject(std::ostream& fOutput,
                         unsigned fRun,
                         unsigned long fGMTIOVBegin,
                         unsigned long fGMTIOVEnd,
                         const std::string& fTag,
                         const HcalPedestalWidths& fObject) {
    return false;
  }
  bool dumpObject(std::ostream& fOutput,
                  unsigned fRun,
                  unsigned long fGMTIOVBegin,
                  unsigned long fGMTIOVEnd,
                  const std::string& fTag,
                  const HcalGains& fObject,
                  const HcalGainWidths& fError);
  bool dumpObject(std::ostream& fOutput,
                  unsigned fRun,
                  unsigned long fGMTIOVBegin,
                  unsigned long fGMTIOVEnd,
                  const std::string& fTag,
                  const HcalGains& fObject);
  bool dumpObject(std::ostream& fOutput,
                  unsigned fRun,
                  unsigned long fGMTIOVBegin,
                  unsigned long fGMTIOVEnd,
                  const std::string& fTag,
                  const HcalRawGains& fObject);
  inline bool dumpObject(std::ostream& fOutput,
                         unsigned fRun,
                         unsigned long fGMTIOVBegin,
                         unsigned long fGMTIOVEnd,
                         const std::string& fTag,
                         const HcalGainWidths& fObject) {
    return false;
  }
  inline bool dumpObject(std::ostream& fOutput,
                         unsigned fRun,
                         unsigned long fGMTIOVBegin,
                         unsigned long fGMTIOVEnd,
                         const std::string& fTag,
                         const HcalElectronicsMap& fObject) {
    return false;
  }
  inline bool dumpObject(std::ostream& fOutput,
                         unsigned fRun,
                         unsigned long fGMTIOVBegin,
                         unsigned long fGMTIOVEnd,
                         const std::string& fTag,
                         const HcalQIEData& fObject) {
    return false;
  }
  inline bool dumpObject(std::ostream& fOutput,
                         unsigned fRun,
                         unsigned long fGMTIOVBegin,
                         unsigned long fGMTIOVEnd,
                         const std::string& fTag,
                         const HcalCalibrationQIEData& fObject) {
    return false;
  }
}  // namespace HcalDbXml
#endif