Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef CondTools_RPC_RPCAMCLinkMapHandler_h
0002 #define CondTools_RPC_RPCAMCLinkMapHandler_h
0003 
0004 #include <string>
0005 #include <vector>
0006 
0007 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
0008 #include "CondFormats/Common/interface/Time.h"
0009 
0010 #include "CondFormats/RPCObjects/interface/RPCAMCLinkMap.h"
0011 
0012 namespace edm {
0013   class ParameterSet;
0014   class ConfigurationDescriptions;
0015 }  // namespace edm
0016 
0017 class RPCAMCLinkMapHandler : public popcon::PopConSourceHandler<RPCAMCLinkMap> {
0018 public:
0019   RPCAMCLinkMapHandler(edm::ParameterSet const& config);
0020   ~RPCAMCLinkMapHandler() override;
0021 
0022   void getNewObjects() override;
0023   std::string id() const override;
0024 
0025 protected:
0026   std::string id_;
0027   std::string data_tag_;
0028   cond::Time_t since_run_;
0029 
0030   std::string input_file_;
0031   bool wheel_not_side_;
0032   std::vector<int> wos_fed_;
0033   unsigned int n_sectors_;
0034   std::vector<std::vector<int> > wos_sector_amc_;
0035 
0036   std::string txt_file_;
0037 };
0038 
0039 #endif  // CondTools_RPC_RPCAMCLinkMapHandler_h