CMS 3D CMS Logo

L1GctHfLutSetupConfigurer Class Reference

Description: <one line="" class="" summary>="">. More...

#include <L1Trigger/L1GctConfigProducers/interface/L1GctHfLutSetupConfigurer.h>

List of all members.

Public Types

typedef boost::shared_ptr
< L1GctHfLutSetup
HfLutSetupReturnType

Public Member Functions

 L1GctHfLutSetupConfigurer (const edm::ParameterSet &)
HfLutSetupReturnType produceHfLutSetup ()
 ~L1GctHfLutSetupConfigurer ()

Private Attributes

std::vector< unsigned > m_countThresholds
std::vector< unsigned > m_etSumThresholds


Detailed Description

Description: <one line="" class="" summary>="">.

Implementation: <Notes on="" implementation>="">

Definition at line 39 of file L1GctHfLutSetupConfigurer.h.


Member Typedef Documentation

typedef boost::shared_ptr<L1GctHfLutSetup> L1GctHfLutSetupConfigurer::HfLutSetupReturnType

Definition at line 44 of file L1GctHfLutSetupConfigurer.h.


Constructor & Destructor Documentation

L1GctHfLutSetupConfigurer::L1GctHfLutSetupConfigurer ( const edm::ParameterSet iConfig  ) 

Definition at line 16 of file L1GctHfLutSetupConfigurer.cc.

00016                                                                                    :
00017   m_etSumThresholds(iConfig.getParameter< std::vector<unsigned> >("HfLutEtSumThresholds")),
00018   m_countThresholds(iConfig.getParameter< std::vector<unsigned> >("HfLutBitCountThresholds"))
00019 {
00020 
00021   // ------------------------------------------------------------------------------------------
00022   // Read jet counter setup info from config file
00023 }

L1GctHfLutSetupConfigurer::~L1GctHfLutSetupConfigurer (  ) 

Definition at line 26 of file L1GctHfLutSetupConfigurer.cc.

00027 {
00028  
00029    // do anything here that needs to be done at desctruction time
00030    // (e.g. close files, deallocate resources etc.)
00031 
00032 }


Member Function Documentation

L1GctHfLutSetupConfigurer::HfLutSetupReturnType L1GctHfLutSetupConfigurer::produceHfLutSetup (  ) 

Definition at line 43 of file L1GctHfLutSetupConfigurer.cc.

References L1GctHfLutSetup::bitCountNegEtaRing1, L1GctHfLutSetup::bitCountNegEtaRing2, L1GctHfLutSetup::bitCountPosEtaRing1, L1GctHfLutSetup::bitCountPosEtaRing2, L1GctHfLutSetup::etSumNegEtaRing1, L1GctHfLutSetup::etSumNegEtaRing2, L1GctHfLutSetup::etSumPosEtaRing1, L1GctHfLutSetup::etSumPosEtaRing2, m_countThresholds, and m_etSumThresholds.

Referenced by L1GctConfigProducers::produceHfLSetup().

00044 {
00045    boost::shared_ptr<L1GctHfLutSetup> pL1GctHfLutSetup=
00046      boost::shared_ptr<L1GctHfLutSetup> (new L1GctHfLutSetup());
00047 
00048    pL1GctHfLutSetup->setThresholds( L1GctHfLutSetup::bitCountPosEtaRing1, m_countThresholds);
00049    pL1GctHfLutSetup->setThresholds( L1GctHfLutSetup::bitCountPosEtaRing2, m_countThresholds);
00050    pL1GctHfLutSetup->setThresholds( L1GctHfLutSetup::bitCountNegEtaRing1, m_countThresholds);
00051    pL1GctHfLutSetup->setThresholds( L1GctHfLutSetup::bitCountNegEtaRing2, m_countThresholds);
00052    pL1GctHfLutSetup->setThresholds( L1GctHfLutSetup::etSumPosEtaRing1, m_etSumThresholds);
00053    pL1GctHfLutSetup->setThresholds( L1GctHfLutSetup::etSumPosEtaRing2, m_etSumThresholds);
00054    pL1GctHfLutSetup->setThresholds( L1GctHfLutSetup::etSumNegEtaRing1, m_etSumThresholds);
00055    pL1GctHfLutSetup->setThresholds( L1GctHfLutSetup::etSumNegEtaRing2, m_etSumThresholds);
00056 
00057    return pL1GctHfLutSetup;
00058 }


Member Data Documentation

std::vector<unsigned> L1GctHfLutSetupConfigurer::m_countThresholds [private]

Definition at line 53 of file L1GctHfLutSetupConfigurer.h.

Referenced by produceHfLutSetup().

std::vector<unsigned> L1GctHfLutSetupConfigurer::m_etSumThresholds [private]

Definition at line 52 of file L1GctHfLutSetupConfigurer.h.

Referenced by produceHfLutSetup().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:26:33 2009 for CMSSW by  doxygen 1.5.4