CMS 3D CMS Logo

Public Member Functions

L1GtBoardMapsTester Class Reference

#include <L1GtBoardMapsTester.h>

Inheritance diagram for L1GtBoardMapsTester:
edm::EDAnalyzer

List of all members.

Public Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 L1GtBoardMapsTester (const edm::ParameterSet &)
virtual ~L1GtBoardMapsTester ()

Detailed Description

Description: test analyzer for various mappings of the L1 GT boards.

Implementation: <TODO: enter implementation details>

Author:
: Vasile Mihai Ghete - HEPHY Vienna

$Date$ $Revision$

Definition at line 33 of file L1GtBoardMapsTester.h.


Constructor & Destructor Documentation

L1GtBoardMapsTester::L1GtBoardMapsTester ( const edm::ParameterSet parSet) [explicit]

Definition at line 35 of file L1GtBoardMapsTester.cc.

{
    // empty
}
L1GtBoardMapsTester::~L1GtBoardMapsTester ( ) [virtual]

Definition at line 41 of file L1GtBoardMapsTester.cc.

{
    // empty
}

Member Function Documentation

void L1GtBoardMapsTester::analyze ( const edm::Event iEvent,
const edm::EventSetup evSetup 
) [virtual]

Implements edm::EDAnalyzer.

Definition at line 47 of file L1GtBoardMapsTester.cc.

References gather_cfg::cout, and edm::EventSetup::get().

{


    edm::ESHandle< L1GtBoardMaps > l1GtBM ;
    evSetup.get< L1GtBoardMapsRcd >().get( l1GtBM ) ;

    l1GtBM->print(std::cout);
    std::cout << std::endl;

    // print for simplicity the individual maps

    l1GtBM->printGtDaqRecordMap(std::cout);
    std::cout << std::endl;

    l1GtBM->printGtEvmRecordMap(std::cout);
    std::cout << std::endl;

    l1GtBM->printGtDaqActiveBoardsMap(std::cout);
    std::cout << std::endl;

    l1GtBM->printGtEvmActiveBoardsMap(std::cout);
    std::cout << std::endl;

    l1GtBM->printGtBoardSlotMap(std::cout);
    std::cout << std::endl;

    l1GtBM->printGtBoardHexNameMap(std::cout);
    std::cout << std::endl;

    l1GtBM->printGtQuadToPsbMap(std::cout);
    std::cout << std::endl;
}