Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef POPCON_RPC_DATA_SRC_H
0002 #define POPCON_RPC_DATA_SRC_H
0003 
0004 /*
0005  * \class RpcData
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/RPCObGasMix.h"
0019 #include "CondFormats/DataRecord/interface/RPCObGasMixRcd.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 RpcDataGasMix : public popcon::PopConSourceHandler<RPCObGasMix> {
0027   public:
0028     void getNewObjects() override;
0029     std::string id() const override { return m_name; }
0030     ~RpcDataGasMix() override;
0031     RpcDataGasMix(const edm::ParameterSet& pset);
0032 
0033     RPCObGasMix* GasMixdata;
0034 
0035     unsigned long long snc;
0036     unsigned long long tll;
0037     unsigned long long niov;
0038     unsigned long long utime;
0039 
0040   private:
0041     std::string m_name;
0042     std::string host;
0043     std::string user;
0044     std::string passw;
0045     unsigned long long m_since;
0046     unsigned long long m_till;
0047   };
0048 }  // namespace popcon
0049 #endif