File indexing completed on 2024-04-06 12:22:19
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "L1TriggerConfig/L1GtConfigProducers/interface/L1GtPsbSetupTester.h"
0017
0018
0019 #include <iostream>
0020 #include <iomanip>
0021
0022
0023
0024
0025 #include "FWCore/Framework/interface/EventSetup.h"
0026 #include "FWCore/Framework/interface/ESHandle.h"
0027
0028 #include "CondFormats/L1TObjects/interface/L1GtPsbSetup.h"
0029 #include "CondFormats/DataRecord/interface/L1GtPsbSetupRcd.h"
0030
0031
0032
0033
0034 L1GtPsbSetupTester::L1GtPsbSetupTester(const edm::ParameterSet& parSet) : m_getToken(esConsumes()) {
0035
0036 }
0037
0038
0039 void L1GtPsbSetupTester::analyze(edm::StreamID, const edm::Event& iEvent, const edm::EventSetup& evSetup) const {
0040 evSetup.getData(m_getToken).print(std::cout);
0041 std::cout << std::endl;
0042 }