File indexing completed on 2024-04-06 12:01:43
0001 #ifndef POPCON_EX_EffSource_H
0002 #define POPCON_EX_EffSource_H
0003
0004 #include <vector>
0005 #include <string>
0006 #include <iostream>
0007 #include <typeinfo>
0008
0009 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
0010
0011 #include "CondFormats/Calibration/interface/Efficiency.h"
0012
0013 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
0014
0015 #include <string>
0016
0017 namespace popcon {
0018 class ExEffSource : public popcon::PopConSourceHandler<condex::Efficiency> {
0019 public:
0020 void getNewObjects();
0021 std::string id() const { return m_name; }
0022 ~ExEffSource();
0023 ExEffSource(const edm::ParameterSet& pset);
0024
0025 private:
0026 std::string m_name;
0027 long long m_since;
0028 std::string m_type;
0029 std::vector<double> m_params;
0030 };
0031 }
0032 #endif