CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/L1TriggerConfig/CSCTFConfigProducers/src/L1MuCSCTFParametersTester.cc

Go to the documentation of this file.
00001 
00017 // this class header
00018 #include "L1TriggerConfig/CSCTFConfigProducers/interface/L1MuCSCTFParametersTester.h"
00019 
00020 // system include files
00021 #include <iomanip>
00022 
00023 // user include files
00024 //   base class
00025 #include "FWCore/Framework/interface/EDAnalyzer.h"
00026 
00027 #include "FWCore/Framework/interface/Event.h"
00028 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00029 
00030 #include "FWCore/Framework/interface/EventSetup.h"
00031 #include "FWCore/Framework/interface/ESHandle.h"
00032 
00033 #include "CondFormats/L1TObjects/interface/L1MuCSCTFConfiguration.h"
00034 #include "CondFormats/DataRecord/interface/L1MuCSCTFConfigurationRcd.h"
00035 
00036 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00037 #include "FWCore/MessageLogger/interface/MessageDrop.h"
00038 
00039 // forward declarations
00040 
00041 // constructor(s)
00042 L1MuCSCTFParametersTester::L1MuCSCTFParametersTester(const edm::ParameterSet& parSet)
00043 {
00044     // empty
00045 }
00046 
00047 // destructor
00048 L1MuCSCTFParametersTester::~L1MuCSCTFParametersTester()
00049 {
00050     // empty
00051 }
00052 
00053 // loop over events
00054 void L1MuCSCTFParametersTester::analyze(
00055     const edm::Event& iEvent, const edm::EventSetup& evSetup)
00056 {
00057 
00058     edm::ESHandle< L1MuCSCTFConfiguration > l1CSCTFPar ;
00059     evSetup.get< L1MuCSCTFConfigurationRcd >().get( l1CSCTFPar ) ;
00060 
00061     l1CSCTFPar->print(std::cout);
00062 }