File indexing completed on 2024-04-06 12:20:16
0001
0002
0003
0004
0005 #ifndef CALO_CONFIG_HELPER_H__
0006 #define CALO_CONFIG_HELPER_H__
0007
0008 #include "CondFormats/L1TObjects/interface/CaloConfig.h"
0009
0010 namespace l1t {
0011
0012 class CaloConfigHelper {
0013 public:
0014 CaloConfigHelper(CaloConfig& db, unsigned fwv, std::string epoch);
0015 CaloConfigHelper(const CaloConfig& db);
0016 CaloConfigHelper();
0017 void UpdatePayload(const CaloConfig* db) { db_ = db; }
0018 unsigned fwv() const { return db_->uconfig_[0]; }
0019
0020 private:
0021 const CaloConfig* db_;
0022 };
0023 }
0024
0025 #endif