Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
L1RCTChannelMaskTester (const edm::ParameterSet &) | |
virtual | ~L1RCTChannelMaskTester () |
Definition at line 42 of file L1RCTChannelMaskTester.cc.
L1RCTChannelMaskTester::L1RCTChannelMaskTester | ( | const edm::ParameterSet & | ) | [inline, explicit] |
Definition at line 44 of file L1RCTChannelMaskTester.cc.
{ }
virtual L1RCTChannelMaskTester::~L1RCTChannelMaskTester | ( | ) | [inline, virtual] |
Definition at line 46 of file L1RCTChannelMaskTester.cc.
{ }
void L1RCTChannelMaskTester::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | evSetup | ||
) | [virtual] |
Implements edm::EDAnalyzer.
Definition at line 52 of file L1RCTChannelMaskTester.cc.
References gather_cfg::cout, edm::EventSetup::find(), edm::eventsetup::heterocontainer::HCTypeTag::findType(), and edm::EventSetup::get().
{ // edm::ESHandle<L1RCTChannelMask> rctChanMask; evSetup.get<L1RCTChannelMaskRcd>().get(rctChanMask); rctChanMask->print(std::cout); // edm::eventsetup::EventSetupRecordKey recordKey( edm::eventsetup::EventSetupRecordKey::TypeTag::findType( "L1RCTNoisyChannelMaskRcd")); if (evSetup.find(recordKey) == 0) { //record not found std::cout << "\nRecord \"" << "L1RCTNoisyChannelMaskRcd" << "\" does not exist.\n" << std::endl; } else { edm::ESHandle<L1RCTNoisyChannelMask> rctNoisyChanMask; evSetup.get<L1RCTNoisyChannelMaskRcd>().get(rctNoisyChanMask); rctNoisyChanMask->print(std::cout); } }