/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
OnlineDB/CSCCondDB/src/CSCCrateMapValues.cc
31 строка
1022 B
Christopher Jones
Move to EventSetupRecordInfiniteIntervalFinder
16 июн 2026, 21:21
16 июн 2026, 21:21
419a1ec
Код
Авторство
О чём код?
#include <memory> #include <fstream> #include "CondFormats/CSCObjects/interface/CSCCrateMap.h" #include "CondFormats/DataRecord/interface/CSCCrateMapRcd.h" #include "OnlineDB/CSCCondDB/interface/CSCCrateMapValues.h" #include "OnlineDB/CSCCondDB/interface/CSCMap1.h" CSCCrateMapValues::CSCCrateMapValues(const edm::ParameterSet& iConfig) { //the following line is needed to tell the framework what // data is being produced setWhatProduced(this, &CSCCrateMapValues::produceCrateMap); findingRecord<CSCCrateMapRcd>(); //now do what ever other initialization is needed } CSCCrateMapValues::~CSCCrateMapValues() { // do anything here that needs to be done at desctruction time // (e.g. close files, deallocate resources etc.) } // // member functions // // ------------ method called to produce the data ------------ CSCCrateMapValues::ReturnType CSCCrateMapValues::produceCrateMap(const CSCCrateMapRcd& iRecord) { //need a new object so to not be deleted at exit return ReturnType(fillCrateMap()); }