CMS 3D CMS Logo

Public Member Functions

L1GtPrescaleFactorsAndMasksTester Class Reference

#include <L1GtPrescaleFactorsAndMasksTester.h>

Inheritance diagram for L1GtPrescaleFactorsAndMasksTester:
edm::EDAnalyzer

List of all members.

Public Member Functions

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

Detailed Description

Description: test analyzer for L1 GT prescale factors and masks.

Implementation: <TODO: enter implementation details>

Author:
: Vasile Mihai Ghete - HEPHY Vienna

$Date$ $Revision$

Definition at line 32 of file L1GtPrescaleFactorsAndMasksTester.h.


Constructor & Destructor Documentation

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

Definition at line 49 of file L1GtPrescaleFactorsAndMasksTester.cc.

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

Definition at line 55 of file L1GtPrescaleFactorsAndMasksTester.cc.

                                                                      {
    // empty
}

Member Function Documentation

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

Implements edm::EDAnalyzer.

Definition at line 60 of file L1GtPrescaleFactorsAndMasksTester.cc.

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

                                      {

    //
    edm::ESHandle< L1GtPrescaleFactors> l1GtPfAlgo;
    evSetup.get< L1GtPrescaleFactorsAlgoTrigRcd>().get(l1GtPfAlgo) ;

    std::cout << "\nL1 GT prescale factors for algorithm triggers" << std::endl;
    l1GtPfAlgo->print(std::cout);

    edm::ESHandle< L1GtPrescaleFactors> l1GtPfTech;
    evSetup.get< L1GtPrescaleFactorsTechTrigRcd>().get(l1GtPfTech) ;

    std::cout << "\nL1 GT prescale factors for technical triggers" << std::endl;
    l1GtPfTech->print(std::cout);

    // 
    edm::ESHandle< L1GtTriggerMask> l1GtTmAlgo;
    evSetup.get< L1GtTriggerMaskAlgoTrigRcd>().get(l1GtTmAlgo) ;

    std::cout << "\nL1 GT trigger masks for algorithm triggers" << std::endl;
    l1GtTmAlgo->print(std::cout);

    edm::ESHandle< L1GtTriggerMask> l1GtTmTech;
    evSetup.get< L1GtTriggerMaskTechTrigRcd>().get(l1GtTmTech) ;

    std::cout << "\nL1 GT trigger masks for technical triggers" << std::endl;
    l1GtTmTech->print(std::cout);

    // 
    edm::ESHandle< L1GtTriggerMask> l1GtTmVetoAlgo;
    evSetup.get< L1GtTriggerMaskVetoAlgoTrigRcd>().get(l1GtTmVetoAlgo) ;

    std::cout << "\nL1 GT trigger veto masks for algorithm triggers"
            << std::endl;
    l1GtTmVetoAlgo->print(std::cout);

    edm::ESHandle< L1GtTriggerMask> l1GtTmVetoTech;
    evSetup.get< L1GtTriggerMaskVetoTechTrigRcd>().get(l1GtTmVetoTech) ;

    std::cout << "\nL1 GT trigger veto masks for technical triggers"
            << std::endl;
    l1GtTmVetoTech->print(std::cout);

}