Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:15

0001 #ifndef POPCON_RPC_IDMAP_SH
0002 #define POPCON_RPC_IDMAP_SH
0003 
0004 /*
0005  * \class RpcIDMapSH
0006  *  Core of RPC PopCon Appication
0007  *
0008  *  \author D. Pagano - Dip. Fis. Nucl. e Teo. & INFN Pavia
0009  */
0010 
0011 #include <vector>
0012 #include <string>
0013 #include <iostream>
0014 #include <typeinfo>
0015 
0016 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
0017 
0018 #include "CondFormats/RPCObjects/interface/RPCObPVSSmap.h"
0019 #include "CondFormats/DataRecord/interface/RPCObPVSSmapRcd.h"
0020 #include "CoralBase/TimeStamp.h"
0021 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
0022 #include "CondTools/RPC/interface/RPCFw.h"
0023 #include <string>
0024 
0025 namespace popcon {
0026   class RPCObPVSSmapData : public popcon::PopConSourceHandler<RPCObPVSSmap> {
0027   public:
0028     void getNewObjects() override;
0029     std::string id() const override { return m_name; }
0030     ~RPCObPVSSmapData() override;
0031     RPCObPVSSmapData(const edm::ParameterSet& pset);
0032 
0033     RPCObPVSSmap* IDMapdata;
0034 
0035     unsigned long long snc;
0036     unsigned long long niov;
0037     unsigned long long utime;
0038 
0039   private:
0040     std::string m_name;
0041     std::string host;
0042     std::string user;
0043     std::string passw;
0044     unsigned long long m_since;
0045     unsigned long long m_till;
0046   };
0047 }  // namespace popcon
0048 #endif