CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/CaloOnlineTools/HcalOnlineDb/interface/HcalL1TriggerObjectsXml.h

Go to the documentation of this file.
00001 #ifndef CaloOnlineTools_HcalOnlineDb_HcalL1TriggerObjectsXml_h
00002 #define CaloOnlineTools_HcalOnlineDb_HcalL1TriggerObjectsXml_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     CaloOnlineTools/HcalOnlineDb
00006 // Class  :     HcalL1TriggerObjectsXml
00007 // 
00016 //
00017 // Original Author:  Gena Kukartsev, kukarzev@fnal.gov
00018 //         Created:  Wed Jul 01 06:42:00 CDT 2009
00019 // $Id: HcalL1TriggerObjectsXml.h,v 1.1 2009/09/23 22:06:28 kukartse Exp $
00020 //
00021 
00022 #include <map>
00023 #include <string>
00024 #include "CaloOnlineTools/HcalOnlineDb/interface/HcalChannelDataXml.h"
00025 
00026 class HcalL1TriggerObjectsXml : public HcalChannelDataXml
00027 {
00028   
00029  public:
00030 
00031   HcalL1TriggerObjectsXml(const std::string& input_tag_name);
00032   virtual ~HcalL1TriggerObjectsXml();
00033   
00034   // add dataset to the XML document
00035   DOMNode * add_hcal_channel_dataset( int ieta, int iphi, int depth, std::string subdetector,
00036                                       double ped, double gain, int flag);
00037   
00038   // add data tag inside a dataset tag
00039   DOMElement * add_data( DOMNode * _dataset, double ped, double gain, int flag);
00040 };
00041 
00042 #endif