![]() |
![]() |
#include <L1Trigger/DTConfigProducer/interface/DTConfigTester.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
DTConfigTester (const edm::ParameterSet &) | |
~DTConfigTester () |
Description: tester for DTConfig
Implementation: <Notes on="" implementation>="">
Definition at line 31 of file DTConfigTester.h.
DTConfigTester::DTConfigTester | ( | const edm::ParameterSet & | ps | ) | [explicit] |
Definition at line 17 of file DTConfigTester.cc.
References gather_cfg::cout.
{ cout << "DTConfigTester::DTConfigTester" << endl; }
DTConfigTester::~DTConfigTester | ( | ) |
Definition at line 21 of file DTConfigTester.cc.
{ }
void DTConfigTester::analyze | ( | const edm::Event & | e, |
const edm::EventSetup & | es | ||
) | [virtual] |
Implements edm::EDAnalyzer.
Definition at line 25 of file DTConfigTester.cc.
References gather_cfg::cout, edm::EventID::event(), edm::EventSetup::get(), edm::EventBase::id(), and edm::EventID::run().
{ cout << "DTConfigTester::analyze" << endl; cout <<" I AM IN RUN NUMBER "<<e.id().run() <<endl; cout <<" ---EVENT NUMBER "<<e.id().event() <<endl; using namespace edm; ESHandle< DTConfigManager > dtConfig ; es.get< DTConfigManagerRcd >().get( dtConfig ) ; cout << "DTConfigManagerRcd : Print some Config stuff" << endl; DTBtiId btiid(1,1,1,1,1); DTTracoId tracoid(1,1,1,1); DTChamberId chid(1,1,1); DTSectCollId scid(1,1); cout <<"BtiMap & TracoMap Size for chamber (1,1,1):" << dtConfig->getDTConfigBtiMap(chid).size() << " " << dtConfig->getDTConfigTracoMap(chid).size() << endl; dtConfig->getDTConfigBti(btiid)->print(); dtConfig->getDTConfigTraco(tracoid)->print(); dtConfig->getDTConfigTSTheta(chid)->print(); dtConfig->getDTConfigTSPhi(chid)->print(); dtConfig->getDTConfigLUTs(chid)->print(); dtConfig->getDTConfigSectColl(scid)->print(); }