CMS 3D CMS Logo

Public Member Functions

L1GctConfigDump Class Reference

#include <L1GctConfigDump.h>

Inheritance diagram for L1GctConfigDump:
edm::EDAnalyzer

List of all members.

Public Member Functions

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

Detailed Description

Description: test analyzer for L1 GCT parameters.

Implementation: <TODO: enter implementation details>

Author:
: Jim Brooke
Date:
2009/05/07 10:31:29
Revision:
1.2

Definition at line 31 of file L1GctConfigDump.h.


Constructor & Destructor Documentation

L1GctConfigDump::L1GctConfigDump ( const edm::ParameterSet pSet) [explicit]

Definition at line 29 of file L1GctConfigDump.cc.

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

Definition at line 35 of file L1GctConfigDump.cc.

{
    // empty
}

Member Function Documentation

void L1GctConfigDump::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
) [virtual]

Implements edm::EDAnalyzer.

Definition at line 40 of file L1GctConfigDump.cc.

References edm::EventSetup::get().

                                                                                 {

  // get records

  edm::ESHandle< L1GctJetFinderParams > jfParams;
  iSetup.get< L1GctJetFinderParamsRcd >().get( jfParams ) ;

  edm::ESHandle< L1GctChannelMask > chanMask;
  iSetup.get< L1GctChannelMaskRcd >().get( chanMask ) ;

  edm::ESHandle< L1CaloEtScale > jetScale;
  iSetup.get< L1JetEtScaleRcd >().get( jetScale ) ;

  edm::ESHandle< L1CaloEtScale > htmScale;
  iSetup.get< L1HtMissScaleRcd >().get( htmScale ) ;
  
  edm::ESHandle< L1CaloEtScale > hfRingScale;
  iSetup.get< L1HfRingEtScaleRcd >().get( hfRingScale ) ;
  
  edm::LogInfo("L1GctConfigDump") << (*jfParams) << std::endl;
  edm::LogInfo("L1GctConfigDump") << (*chanMask) << std::endl;
  edm::LogInfo("L1GctConfigDump") << "GCT jet Et scale : " << std::endl << (*jetScale) << std::endl;
  edm::LogInfo("L1GctConfigDump") << "GCT HtMiss scale : " << std::endl << (*htmScale) << std::endl;
  edm::LogInfo("L1GctConfigDump") << "GCT HF ring scale : " << std::endl << (*hfRingScale) << std::endl;

}