/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CalibMuon/CSCCalibration/plugins/CSCL1TPParameters.cc
31 строка
1 KB
Christopher Jones
Move to EventSetupRecordInfiniteIntervalFinder
16 июн 2026, 21:21
16 июн 2026, 21:21
419a1ec
Код
Авторство
О чём код?
#include <fstream> #include <memory> #include "CalibMuon/CSCCalibration/interface/CSCL1TPParametersConditions.h" #include "CondFormats/CSCObjects/interface/CSCL1TPParameters.h" #include "CondFormats/DataRecord/interface/CSCL1TPParametersRcd.h" CSCL1TPParametersConditions::CSCL1TPParametersConditions(const edm::ParameterSet &iConfig) { // the following line is needed to tell the framework what // data is being produced // added by Zhen (changed since 1_2_0) setWhatProduced(this, &CSCL1TPParametersConditions::produceCSCL1TPParameters); findingRecord<CSCL1TPParametersRcd>(); // now do what ever other initialization is needed } CSCL1TPParametersConditions::~CSCL1TPParametersConditions() { // 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 ------------ CSCL1TPParametersConditions::ReturnType CSCL1TPParametersConditions::produceCSCL1TPParameters( const CSCL1TPParametersRcd &iRecord) { // need a new object so to not be deleted at exit return CSCL1TPParametersConditions::ReturnType(prefillCSCL1TPParameters()); }