CMS 3D CMS Logo

Public Member Functions | Private Attributes

L1GtStableParametersTrivialProducer Class Reference

#include <L1GtStableParametersTrivialProducer.h>

Inheritance diagram for L1GtStableParametersTrivialProducer:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

 L1GtStableParametersTrivialProducer (const edm::ParameterSet &)
 constructor
boost::shared_ptr
< L1GtStableParameters
produceGtStableParameters (const L1GtStableParametersRcd &)
 public methods
 ~L1GtStableParametersTrivialProducer ()
 destructor

Private Attributes

unsigned int m_ifCaloEtaNumberBits
 number of bits for eta of calorimeter objects
unsigned int m_ifMuEtaNumberBits
 number of bits for eta of muon objects
unsigned int m_numberConditionChips
 hardware
unsigned int m_numberL1CenJet
 central, forward and tau jets
unsigned int m_numberL1ForJet
unsigned int m_numberL1IsoEG
unsigned int m_numberL1JetCounts
 jet counts
unsigned int m_numberL1Mu
 trigger objects
unsigned int m_numberL1NoIsoEG
 e/gamma and isolated e/gamma objects
unsigned int m_numberL1TauJet
unsigned int m_numberPhysTriggers
 trigger decision
unsigned int m_numberPhysTriggersExtended
 additional number of physics trigger algorithms
int m_numberPsbBoards
 number of PSB boards in GT
unsigned int m_numberTechnicalTriggers
 number of technical triggers
std::vector< int > m_orderConditionChip
unsigned int m_pinsOnConditionChip
 number of pins on the GTL condition chips
int m_unitLength
 one unit in the word is UnitLength bits
int m_wordLength
 GT DAQ record organized in words of WordLength bits.

Detailed Description

Description: ESProducer for L1 GT parameters.

Implementation: <TODO: enter implementation details>

Author:
: Vasile Mihai Ghete - HEPHY Vienna

$Date$ $Revision$

Definition at line 41 of file L1GtStableParametersTrivialProducer.h.


Constructor & Destructor Documentation

L1GtStableParametersTrivialProducer::L1GtStableParametersTrivialProducer ( const edm::ParameterSet parSet)

constructor

number of bits for eta of calorimeter objects

number of bits for eta of calorimeter objects

Definition at line 41 of file L1GtStableParametersTrivialProducer.cc.

References edm::ParameterSet::getParameter(), m_ifCaloEtaNumberBits, m_ifMuEtaNumberBits, m_numberConditionChips, m_numberL1CenJet, m_numberL1ForJet, m_numberL1IsoEG, m_numberL1JetCounts, m_numberL1Mu, m_numberL1NoIsoEG, m_numberL1TauJet, m_numberPhysTriggers, m_numberPhysTriggersExtended, m_numberPsbBoards, m_numberTechnicalTriggers, m_orderConditionChip, m_pinsOnConditionChip, m_unitLength, m_wordLength, produceGtStableParameters(), and edm::ESProducer::setWhatProduced().

                                   {

    // tell the framework what data is being produced
    setWhatProduced(
        this, &L1GtStableParametersTrivialProducer::produceGtStableParameters);

    // now do what ever other initialization is needed

    // trigger decision

    // number of physics trigger algorithms
    m_numberPhysTriggers
        = parSet.getParameter<unsigned int>("NumberPhysTriggers");

    // additional number of physics trigger algorithms
    m_numberPhysTriggersExtended
        = parSet.getParameter<unsigned int>("NumberPhysTriggersExtended");

    // number of technical triggers
    m_numberTechnicalTriggers
        = parSet.getParameter<unsigned int>("NumberTechnicalTriggers");

    // trigger objects

    // muons
    m_numberL1Mu = parSet.getParameter<unsigned int>("NumberL1Mu");

    // e/gamma and isolated e/gamma objects
    m_numberL1NoIsoEG = parSet.getParameter<unsigned int>("NumberL1NoIsoEG");
    m_numberL1IsoEG = parSet.getParameter<unsigned int>("NumberL1IsoEG");

    // central, forward and tau jets
    m_numberL1CenJet = parSet.getParameter<unsigned int>("NumberL1CenJet");
    m_numberL1ForJet = parSet.getParameter<unsigned int>("NumberL1ForJet");
    m_numberL1TauJet = parSet.getParameter<unsigned int>("NumberL1TauJet");

    // jet counts
    m_numberL1JetCounts = parSet.getParameter<unsigned int>("NumberL1JetCounts");

    // hardware

    // number of maximum chips defined in the xml file
    m_numberConditionChips
        = parSet.getParameter<unsigned int>("NumberConditionChips");

    // number of pins on the GTL condition chips
    m_pinsOnConditionChip
        = parSet.getParameter<unsigned int>("PinsOnConditionChip");

    // correspondence "condition chip - GTL algorithm word" in the hardware
    // e.g.: chip 2: 0 - 95;  chip 1: 96 - 128 (191)
    m_orderConditionChip
        = parSet.getParameter<std::vector<int> >("OrderConditionChip");

    // number of PSB boards in GT
    m_numberPsbBoards = parSet.getParameter<int>("NumberPsbBoards");

    m_ifCaloEtaNumberBits
        = parSet.getParameter<unsigned int>("IfCaloEtaNumberBits");

    m_ifMuEtaNumberBits = parSet.getParameter<unsigned int>("IfMuEtaNumberBits");

    // GT DAQ record organized in words of WordLength bits
    m_wordLength = parSet.getParameter<int>("WordLength");

    // one unit in the word is UnitLength bits
    m_unitLength = parSet.getParameter<int>("UnitLength");

}
L1GtStableParametersTrivialProducer::~L1GtStableParametersTrivialProducer ( )

destructor

Definition at line 115 of file L1GtStableParametersTrivialProducer.cc.

                                                                          {

    // empty

}

Member Function Documentation

boost::shared_ptr< L1GtStableParameters > L1GtStableParametersTrivialProducer::produceGtStableParameters ( const L1GtStableParametersRcd iRecord)

public methods

L1 GT parameters

Definition at line 125 of file L1GtStableParametersTrivialProducer.cc.

References m_ifCaloEtaNumberBits, m_ifMuEtaNumberBits, m_numberConditionChips, m_numberL1CenJet, m_numberL1ForJet, m_numberL1IsoEG, m_numberL1JetCounts, m_numberL1Mu, m_numberL1NoIsoEG, m_numberL1TauJet, m_numberPhysTriggers, m_numberPhysTriggersExtended, m_numberPsbBoards, m_numberTechnicalTriggers, m_orderConditionChip, m_pinsOnConditionChip, m_unitLength, and m_wordLength.

Referenced by L1GtStableParametersTrivialProducer().

                                                {

    boost::shared_ptr<L1GtStableParameters> pL1GtStableParameters =
        boost::shared_ptr<L1GtStableParameters>(new L1GtStableParameters());

    // set the number of physics trigger algorithms
    pL1GtStableParameters->setGtNumberPhysTriggers(m_numberPhysTriggers);

    // set the additional number of physics trigger algorithms
    pL1GtStableParameters->setGtNumberPhysTriggersExtended(m_numberPhysTriggersExtended);

    // set the number of technical triggers
    pL1GtStableParameters->setGtNumberTechnicalTriggers(m_numberTechnicalTriggers);

    // set the number of L1 muons received by GT
    pL1GtStableParameters->setGtNumberL1Mu(m_numberL1Mu);
    
    //  set the number of L1 e/gamma objects received by GT
    pL1GtStableParameters->setGtNumberL1NoIsoEG(m_numberL1NoIsoEG);
    
    //  set the number of L1 isolated e/gamma objects received by GT
    pL1GtStableParameters->setGtNumberL1IsoEG(m_numberL1IsoEG);
    
    // set the number of L1 central jets received by GT
    pL1GtStableParameters->setGtNumberL1CenJet(m_numberL1CenJet);
    
    // set the number of L1 forward jets received by GT
    pL1GtStableParameters->setGtNumberL1ForJet(m_numberL1ForJet);
    
    // set the number of L1 tau jets received by GT
    pL1GtStableParameters->setGtNumberL1TauJet(m_numberL1TauJet);
    
    // set the number of L1 jet counts received by GT
    pL1GtStableParameters->setGtNumberL1JetCounts(m_numberL1JetCounts);
    
    // hardware stuff
    
    // set the number of condition chips in GTL
    pL1GtStableParameters->setGtNumberConditionChips(m_numberConditionChips);
    
    // set the number of pins on the GTL condition chips
    pL1GtStableParameters->setGtPinsOnConditionChip(m_pinsOnConditionChip);
    
    // set the correspondence "condition chip - GTL algorithm word"
    // in the hardware
    pL1GtStableParameters->setGtOrderConditionChip(m_orderConditionChip);
    
    // set the number of PSB boards in GT
    pL1GtStableParameters->setGtNumberPsbBoards(m_numberPsbBoards);
    
    //   set the number of bits for eta of calorimeter objects
    pL1GtStableParameters->setGtIfCaloEtaNumberBits(m_ifCaloEtaNumberBits);
    
    //   set the number of bits for eta of muon objects
    pL1GtStableParameters->setGtIfMuEtaNumberBits(m_ifMuEtaNumberBits);
    
    // set WordLength
    pL1GtStableParameters->setGtWordLength(m_wordLength);
    
    // set one UnitLength
    pL1GtStableParameters->setGtUnitLength(m_unitLength);
    
    //
    //
    return pL1GtStableParameters;

}

Member Data Documentation

number of bits for eta of calorimeter objects

Definition at line 106 of file L1GtStableParametersTrivialProducer.h.

Referenced by L1GtStableParametersTrivialProducer(), and produceGtStableParameters().

number of bits for eta of muon objects

Definition at line 109 of file L1GtStableParametersTrivialProducer.h.

Referenced by L1GtStableParametersTrivialProducer(), and produceGtStableParameters().

hardware

number of maximum chips defined in the xml file

Definition at line 93 of file L1GtStableParametersTrivialProducer.h.

Referenced by L1GtStableParametersTrivialProducer(), and produceGtStableParameters().

central, forward and tau jets

Definition at line 81 of file L1GtStableParametersTrivialProducer.h.

Referenced by L1GtStableParametersTrivialProducer(), and produceGtStableParameters().

trigger objects

muons

Definition at line 74 of file L1GtStableParametersTrivialProducer.h.

Referenced by L1GtStableParametersTrivialProducer(), and produceGtStableParameters().

e/gamma and isolated e/gamma objects

Definition at line 77 of file L1GtStableParametersTrivialProducer.h.

Referenced by L1GtStableParametersTrivialProducer(), and produceGtStableParameters().

trigger decision

number of physics trigger algorithms

Definition at line 63 of file L1GtStableParametersTrivialProducer.h.

Referenced by L1GtStableParametersTrivialProducer(), and produceGtStableParameters().

additional number of physics trigger algorithms

Definition at line 66 of file L1GtStableParametersTrivialProducer.h.

Referenced by L1GtStableParametersTrivialProducer(), and produceGtStableParameters().

number of PSB boards in GT

Definition at line 103 of file L1GtStableParametersTrivialProducer.h.

Referenced by L1GtStableParametersTrivialProducer(), and produceGtStableParameters().

number of technical triggers

Definition at line 69 of file L1GtStableParametersTrivialProducer.h.

Referenced by L1GtStableParametersTrivialProducer(), and produceGtStableParameters().

correspondence "condition chip - GTL algorithm word" in the hardware e.g.: chip 2: 0 - 95; chip 1: 96 - 128 (191)

Definition at line 100 of file L1GtStableParametersTrivialProducer.h.

Referenced by L1GtStableParametersTrivialProducer(), and produceGtStableParameters().

number of pins on the GTL condition chips

Definition at line 96 of file L1GtStableParametersTrivialProducer.h.

Referenced by L1GtStableParametersTrivialProducer(), and produceGtStableParameters().

one unit in the word is UnitLength bits

Definition at line 117 of file L1GtStableParametersTrivialProducer.h.

Referenced by L1GtStableParametersTrivialProducer(), and produceGtStableParameters().

GT DAQ record organized in words of WordLength bits.

Definition at line 114 of file L1GtStableParametersTrivialProducer.h.

Referenced by L1GtStableParametersTrivialProducer(), and produceGtStableParameters().