Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:54:58

0001 // CaloConfigHelper.cc
0002 
0003 #include "L1Trigger/L1TCalorimeter/interface/CaloConfigHelper.h"
0004 
0005 namespace l1t {
0006 
0007   CaloConfigHelper::CaloConfigHelper(CaloConfig& db, unsigned fwv, std::string epoch) : db_(&db) {
0008     db.uconfig_.push_back(fwv);
0009     db.sconfig_.push_back(epoch);
0010   }
0011   CaloConfigHelper::CaloConfigHelper(const CaloConfig& db) : db_(&db) {}
0012   CaloConfigHelper::CaloConfigHelper() {
0013     static const CaloConfig db;
0014     db_ = &db;
0015   }
0016 }  // namespace l1t