Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:51

0001 /**
0002    \file
0003    Declaration of class FloatCondObjectContainerHandler
0004 
0005    \author Stefano ARGIRO
0006    \version $Id: EcalFloatCondObjectContainerHandler.h,v 1.1 2009/06/30 14:40:11 argiro Exp $
0007    \date 09 Sep 2008
0008 */
0009 
0010 #ifndef _CondToolsEcal_EcalFloatCondObjectContainerHandler_h_
0011 #define _CondToolsEcal_EcalFloatCondObjectContainerHandler_h_
0012 
0013 #include "FWCore/Framework/interface/Frameworkfwd.h"
0014 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
0015 
0016 #include "CondFormats/EcalObjects/interface/EcalCondObjectContainer.h"
0017 #include "CondTools/Ecal/interface/EcalCondHeader.h"
0018 #include <string>
0019 
0020 /**
0021      \class EcalFloatCondObjectContainerHandler EcalFloatCondObjectContainerHandler.h "/EcalFloatCondObjectContainerHandler.h"
0022 
0023      \brief popcon application to store FloatCondObjectContainer Records
0024             using XML tools
0025 
0026      \author Stefano ARGIRO
0027      \date 09 Sep 2008
0028   */
0029 class EcalFloatCondObjectContainerHandler : public popcon::PopConSourceHandler<EcalFloatCondObjectContainer> {
0030 public:
0031   EcalFloatCondObjectContainerHandler(const edm::ParameterSet& ps);
0032   ~EcalFloatCondObjectContainerHandler() override;
0033   void getNewObjects() override;
0034   std::string id() const override;
0035 
0036 private:
0037   std::string xmlFileSource_;
0038   long long since_;
0039 
0040   EcalCondHeader header_;
0041 
0042 };  // EcalFloatCondObjectContainerHandler
0043 
0044 #endif  // _CondToolsEcal_EcalFloatCondObjectContainerHandler_h_
0045 
0046 // Configure (x)emacs for this file ...
0047 // Local Variables:
0048 // mode:c++
0049 // compile-command: "scram b"
0050 // End