CMS 3D CMS Logo

Public Member Functions | Private Attributes

L1GtStableParameters Class Reference

#include <L1GtStableParameters.h>

List of all members.

Public Member Functions

unsigned int gtIfCaloEtaNumberBits () const
 get / set the number of bits for eta of calorimeter objects
unsigned int gtIfMuEtaNumberBits () const
 get / set the number of bits for eta of muon objects
unsigned int gtNumberConditionChips () const
 hardware stuff
unsigned int gtNumberL1CenJet () const
 get / set the number of L1 central jets received by GT
unsigned int gtNumberL1ForJet () const
 get / set the number of L1 forward jets received by GT
unsigned int gtNumberL1IsoEG () const
 get / set the number of L1 isolated e/gamma objects received by GT
unsigned int gtNumberL1JetCounts () const
 get / set the number of L1 jet counts received by GT
unsigned int gtNumberL1Mu () const
 get / set the number of L1 muons received by GT
unsigned int gtNumberL1NoIsoEG () const
 get / set the number of L1 e/gamma objects received by GT
unsigned int gtNumberL1TauJet () const
 get / set the number of L1 tau jets received by GT
unsigned int gtNumberPhysTriggers () const
 get / set the number of physics trigger algorithms
unsigned int gtNumberPhysTriggersExtended () const
 get / set the additional number of physics trigger algorithms
int gtNumberPsbBoards () const
 get / set the number of PSB boards in GT
unsigned int gtNumberTechnicalTriggers () const
 get / set the number of technical triggers
const std::vector< int > & gtOrderConditionChip () const
unsigned int gtPinsOnConditionChip () const
 get / set the number of pins on the GTL condition chips
int gtUnitLength () const
 get / set one UnitLength
int gtWordLength () const
 get / set WordLength
 L1GtStableParameters ()
void print (std::ostream &) const
 print all the L1 GT stable parameters
void setGtIfCaloEtaNumberBits (const unsigned int &)
void setGtIfMuEtaNumberBits (const unsigned int &)
void setGtNumberConditionChips (const unsigned int &)
void setGtNumberL1CenJet (const unsigned int &)
void setGtNumberL1ForJet (const unsigned int &)
void setGtNumberL1IsoEG (const unsigned int &)
void setGtNumberL1JetCounts (const unsigned int &)
void setGtNumberL1Mu (const unsigned int &)
void setGtNumberL1NoIsoEG (const unsigned int &)
void setGtNumberL1TauJet (const unsigned int &)
void setGtNumberPhysTriggers (const unsigned int &)
void setGtNumberPhysTriggersExtended (const unsigned int &)
void setGtNumberPsbBoards (const int &)
void setGtNumberTechnicalTriggers (const unsigned int &)
void setGtOrderConditionChip (const std::vector< int > &)
void setGtPinsOnConditionChip (const unsigned int &)
void setGtUnitLength (const int &)
void setGtWordLength (const int &)
virtual ~L1GtStableParameters ()

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: L1 GT stable parameters.

Implementation: <TODO: enter implementation details>

Author:
: Vasile Mihai Ghete - HEPHY Vienna

$Date$ $Revision$

Definition at line 33 of file L1GtStableParameters.h.


Constructor & Destructor Documentation

L1GtStableParameters::L1GtStableParameters ( )

Definition at line 31 of file L1GtStableParameters.cc.

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

Definition at line 36 of file L1GtStableParameters.cc.

                                            {
    // empty
}

Member Function Documentation

unsigned int L1GtStableParameters::gtIfCaloEtaNumberBits ( ) const [inline]

get / set the number of bits for eta of calorimeter objects

Definition at line 148 of file L1GtStableParameters.h.

References m_ifCaloEtaNumberBits.

Referenced by L1GlobalTrigger::produce().

                                                      {
        return m_ifCaloEtaNumberBits;
    }
unsigned int L1GtStableParameters::gtIfMuEtaNumberBits ( ) const [inline]

get / set the number of bits for eta of muon objects

Definition at line 155 of file L1GtStableParameters.h.

References m_ifMuEtaNumberBits.

Referenced by L1GlobalTrigger::produce().

                                                    {
        return m_ifMuEtaNumberBits;
    }
unsigned int L1GtStableParameters::gtNumberConditionChips ( ) const [inline]

hardware stuff

get / set the number of condition chips in GTL

Definition at line 119 of file L1GtStableParameters.h.

References m_numberConditionChips.

unsigned int L1GtStableParameters::gtNumberL1CenJet ( ) const [inline]

get / set the number of L1 central jets received by GT

Definition at line 89 of file L1GtStableParameters.h.

References m_numberL1CenJet.

Referenced by L1GlobalTrigger::produce().

                                                 {
        return m_numberL1CenJet;
    }
unsigned int L1GtStableParameters::gtNumberL1ForJet ( ) const [inline]

get / set the number of L1 forward jets received by GT

Definition at line 96 of file L1GtStableParameters.h.

References m_numberL1ForJet.

Referenced by L1GlobalTrigger::produce().

                                                 {
        return m_numberL1ForJet;
    }
unsigned int L1GtStableParameters::gtNumberL1IsoEG ( ) const [inline]

get / set the number of L1 isolated e/gamma objects received by GT

Definition at line 82 of file L1GtStableParameters.h.

References m_numberL1IsoEG.

Referenced by L1GlobalTrigger::produce().

                                                {
        return m_numberL1IsoEG;
    }
unsigned int L1GtStableParameters::gtNumberL1JetCounts ( ) const [inline]

get / set the number of L1 jet counts received by GT

Definition at line 110 of file L1GtStableParameters.h.

References m_numberL1JetCounts.

Referenced by L1GlobalTrigger::produce().

                                                    {
        return m_numberL1JetCounts;
    }
unsigned int L1GtStableParameters::gtNumberL1Mu ( ) const [inline]

get / set the number of L1 muons received by GT

Definition at line 68 of file L1GtStableParameters.h.

References m_numberL1Mu.

Referenced by L1GlobalTrigger::produce().

                                             {
        return m_numberL1Mu;
    }
unsigned int L1GtStableParameters::gtNumberL1NoIsoEG ( ) const [inline]

get / set the number of L1 e/gamma objects received by GT

Definition at line 75 of file L1GtStableParameters.h.

References m_numberL1NoIsoEG.

Referenced by L1GlobalTrigger::produce().

                                                  {
        return m_numberL1NoIsoEG;
    }
unsigned int L1GtStableParameters::gtNumberL1TauJet ( ) const [inline]

get / set the number of L1 tau jets received by GT

Definition at line 103 of file L1GtStableParameters.h.

References m_numberL1TauJet.

Referenced by L1GlobalTrigger::produce().

                                                 {
        return m_numberL1TauJet;
    }
unsigned int L1GtStableParameters::gtNumberPhysTriggers ( ) const [inline]
unsigned int L1GtStableParameters::gtNumberPhysTriggersExtended ( ) const [inline]

get / set the additional number of physics trigger algorithms

Definition at line 54 of file L1GtStableParameters.h.

References m_numberPhysTriggersExtended.

int L1GtStableParameters::gtNumberPsbBoards ( ) const [inline]

get / set the number of PSB boards in GT

Definition at line 141 of file L1GtStableParameters.h.

References m_numberPsbBoards.

                                         {
        return m_numberPsbBoards;
    }
unsigned int L1GtStableParameters::gtNumberTechnicalTriggers ( ) const [inline]
const std::vector<int>& L1GtStableParameters::gtOrderConditionChip ( ) const [inline]

get / set the correspondence "condition chip - GTL algorithm word" in the hardware

Definition at line 134 of file L1GtStableParameters.h.

References m_orderConditionChip.

                                                              {
        return m_orderConditionChip;
    }
unsigned int L1GtStableParameters::gtPinsOnConditionChip ( ) const [inline]

get / set the number of pins on the GTL condition chips

Definition at line 126 of file L1GtStableParameters.h.

References m_pinsOnConditionChip.

                                                      {
        return m_pinsOnConditionChip;
    }
int L1GtStableParameters::gtUnitLength ( ) const [inline]

get / set one UnitLength

Definition at line 169 of file L1GtStableParameters.h.

References m_unitLength.

                                    {
        return m_unitLength;
    }
int L1GtStableParameters::gtWordLength ( ) const [inline]

get / set WordLength

Definition at line 162 of file L1GtStableParameters.h.

References m_wordLength.

                                    {
        return m_wordLength;
    }
void L1GtStableParameters::print ( std::ostream &  myStr) const

print all the L1 GT stable parameters

Definition at line 184 of file L1GtStableParameters.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.

                                                        {
    myStr << "\nL1 GT Stable Parameters \n" << std::endl;

    // trigger decision

    // number of physics trigger algorithms
    myStr << "\n  Number of physics trigger algorithms =            "
        << m_numberPhysTriggers << std::endl;

    // additional number of physics trigger algorithms
    myStr << "  Additional number of physics trigger algorithms = "
        << m_numberPhysTriggersExtended << std::endl;

    // number of technical triggers
    myStr << "  Number of technical triggers =                    "
        << m_numberTechnicalTriggers << std::endl;

    // muons
    myStr << "\n  Number of muons received by L1 GT =                     "
        << m_numberL1Mu << std::endl;

    // e/gamma and isolated e/gamma objects
    myStr << "  Number of e/gamma objects received by L1 GT =          "
        << m_numberL1NoIsoEG << std::endl;
    myStr << "  Number of isolated e/gamma objects received by L1 GT = "
        << m_numberL1IsoEG << std::endl;

    // central, forward and tau jets
    myStr << "\n  Number of central jets received by L1 GT =             "
        << m_numberL1CenJet << std::endl;
    myStr << "  Number of forward jets received by L1 GT =             "
        << m_numberL1ForJet << std::endl;
    myStr << "  Number of tau jets received by L1 GT =                 "
        << m_numberL1TauJet << std::endl;

    // jet counts
    myStr << "\n  Number of jet counts received by L1 GT =               "
        << m_numberL1JetCounts << std::endl;

    // hardware

    // number of condition chips
    myStr << "\n  Number of condition chips =                        "
        << m_numberConditionChips << std::endl;

    // number of pins on the GTL condition chips
    myStr << "  Number of pins on the GTL condition chips =        "
        << m_pinsOnConditionChip << std::endl;

    // correspondence "condition chip - GTL algorithm word" in the hardware
    // chip 2: 0 - 95;  chip 1: 96 - 128 (191)
    myStr << "  Order of condition chips for GTL algorithm word = {";

    for (unsigned int iChip = 0; iChip < m_orderConditionChip.size(); ++iChip) {
        myStr << m_orderConditionChip[iChip];
        if (iChip != (m_orderConditionChip.size() - 1)) {
            myStr << ", ";
        }
    }

    myStr << "}" << std::endl;

    // number of PSB boards in GT
    myStr << "\n  Number of PSB boards in GT = " << m_numberPsbBoards
        << std::endl;

    // number of bits for eta of calorimeter objects
    myStr << "\n  Number of bits for eta of calorimeter objects = "
        << m_ifCaloEtaNumberBits << std::endl;

    // number of bits for eta of muon objects
    myStr << "\n  Number of bits for eta of muon objects = "
        << m_ifMuEtaNumberBits << std::endl;

    // GT DAQ record organized in words of WordLength bits
    myStr << "\n  Word length (bits) for GT records = " << m_wordLength
        << std::endl;

    // one unit in the word is UnitLength bits
    myStr << "  Unit length (bits) for GT records = " << m_unitLength
        << std::endl;

    myStr << "\n" << std::endl;

}
void L1GtStableParameters::setGtIfCaloEtaNumberBits ( const unsigned int &  ifCaloEtaNumberBitsValue)

Definition at line 154 of file L1GtStableParameters.cc.

References m_ifCaloEtaNumberBits.

                                                  {

    m_ifCaloEtaNumberBits = ifCaloEtaNumberBitsValue;

}
void L1GtStableParameters::setGtIfMuEtaNumberBits ( const unsigned int &  ifMuEtaNumberBitsValue)

Definition at line 162 of file L1GtStableParameters.cc.

References m_ifMuEtaNumberBits.

                                                {

    m_ifMuEtaNumberBits = ifMuEtaNumberBitsValue;

}
void L1GtStableParameters::setGtNumberConditionChips ( const unsigned int &  numberConditionChipsValue)

Definition at line 122 of file L1GtStableParameters.cc.

References m_numberConditionChips.

                                                   {

    m_numberConditionChips = numberConditionChipsValue;

}
void L1GtStableParameters::setGtNumberL1CenJet ( const unsigned int &  numberL1CenJetValue)

Definition at line 88 of file L1GtStableParameters.cc.

References m_numberL1CenJet.

                                             {

    m_numberL1CenJet = numberL1CenJetValue;

}
void L1GtStableParameters::setGtNumberL1ForJet ( const unsigned int &  numberL1ForJetValue)

Definition at line 96 of file L1GtStableParameters.cc.

References m_numberL1ForJet.

                                             {

    m_numberL1ForJet = numberL1ForJetValue;

}
void L1GtStableParameters::setGtNumberL1IsoEG ( const unsigned int &  numberL1IsoEGValue)

Definition at line 80 of file L1GtStableParameters.cc.

References m_numberL1IsoEG.

                                            {

    m_numberL1IsoEG = numberL1IsoEGValue;

}
void L1GtStableParameters::setGtNumberL1JetCounts ( const unsigned int &  numberL1JetCountsValue)

Definition at line 112 of file L1GtStableParameters.cc.

References m_numberL1JetCounts.

                                                {

    m_numberL1JetCounts = numberL1JetCountsValue;

}
void L1GtStableParameters::setGtNumberL1Mu ( const unsigned int &  numberL1MuValue)

Definition at line 65 of file L1GtStableParameters.cc.

References m_numberL1Mu.

                                                                              {

    m_numberL1Mu = numberL1MuValue;

}
void L1GtStableParameters::setGtNumberL1NoIsoEG ( const unsigned int &  numberL1NoIsoEGValue)

Definition at line 72 of file L1GtStableParameters.cc.

References m_numberL1NoIsoEG.

                                              {

    m_numberL1NoIsoEG = numberL1NoIsoEGValue;

}
void L1GtStableParameters::setGtNumberL1TauJet ( const unsigned int &  numberL1TauJetValue)

Definition at line 104 of file L1GtStableParameters.cc.

References m_numberL1TauJet.

                                             {

    m_numberL1TauJet = numberL1TauJetValue;

}
void L1GtStableParameters::setGtNumberPhysTriggers ( const unsigned int &  numberPhysTriggersValue)

Definition at line 41 of file L1GtStableParameters.cc.

References m_numberPhysTriggers.

                                                 {

    m_numberPhysTriggers = numberPhysTriggersValue;

}
void L1GtStableParameters::setGtNumberPhysTriggersExtended ( const unsigned int &  numberPhysTriggersExtendedValue)

Definition at line 49 of file L1GtStableParameters.cc.

References m_numberPhysTriggersExtended.

                                                         {

    m_numberPhysTriggersExtended = numberPhysTriggersExtendedValue;

}
void L1GtStableParameters::setGtNumberPsbBoards ( const int &  numberPsbBoardsValue)

Definition at line 147 of file L1GtStableParameters.cc.

References m_numberPsbBoards.

                                                                               {

    m_numberPsbBoards = numberPsbBoardsValue;

}
void L1GtStableParameters::setGtNumberTechnicalTriggers ( const unsigned int &  numberTechnicalTriggersValue)

Definition at line 57 of file L1GtStableParameters.cc.

References m_numberTechnicalTriggers.

                                                      {

    m_numberTechnicalTriggers = numberTechnicalTriggersValue;

}
void L1GtStableParameters::setGtOrderConditionChip ( const std::vector< int > &  orderConditionChipValue)

Definition at line 139 of file L1GtStableParameters.cc.

References m_orderConditionChip.

                                                   {

    m_orderConditionChip = orderConditionChipValue;

}
void L1GtStableParameters::setGtPinsOnConditionChip ( const unsigned int &  pinsOnConditionChipValue)

Definition at line 130 of file L1GtStableParameters.cc.

References m_pinsOnConditionChip.

                                                  {

    m_pinsOnConditionChip = pinsOnConditionChipValue;

}
void L1GtStableParameters::setGtUnitLength ( const int &  unitLengthValue)

Definition at line 177 of file L1GtStableParameters.cc.

References m_unitLength.

                                                                     {

    m_unitLength = unitLengthValue;

}
void L1GtStableParameters::setGtWordLength ( const int &  wordLengthValue)

Definition at line 170 of file L1GtStableParameters.cc.

References m_wordLength.

                                                                     {

    m_wordLength = wordLengthValue;

}

Member Data Documentation

number of bits for eta of calorimeter objects

Definition at line 226 of file L1GtStableParameters.h.

Referenced by gtIfCaloEtaNumberBits(), print(), and setGtIfCaloEtaNumberBits().

number of bits for eta of muon objects

Definition at line 229 of file L1GtStableParameters.h.

Referenced by gtIfMuEtaNumberBits(), print(), and setGtIfMuEtaNumberBits().

hardware

number of condition chips

Definition at line 213 of file L1GtStableParameters.h.

Referenced by gtNumberConditionChips(), print(), and setGtNumberConditionChips().

central, forward and tau jets

Definition at line 201 of file L1GtStableParameters.h.

Referenced by gtNumberL1CenJet(), print(), and setGtNumberL1CenJet().

Definition at line 202 of file L1GtStableParameters.h.

Referenced by gtNumberL1ForJet(), print(), and setGtNumberL1ForJet().

unsigned int L1GtStableParameters::m_numberL1IsoEG [private]

Definition at line 198 of file L1GtStableParameters.h.

Referenced by gtNumberL1IsoEG(), print(), and setGtNumberL1IsoEG().

jet counts

Definition at line 206 of file L1GtStableParameters.h.

Referenced by gtNumberL1JetCounts(), print(), and setGtNumberL1JetCounts().

unsigned int L1GtStableParameters::m_numberL1Mu [private]

trigger objects

muons

Definition at line 194 of file L1GtStableParameters.h.

Referenced by gtNumberL1Mu(), print(), and setGtNumberL1Mu().

e/gamma and isolated e/gamma objects

Definition at line 197 of file L1GtStableParameters.h.

Referenced by gtNumberL1NoIsoEG(), print(), and setGtNumberL1NoIsoEG().

Definition at line 203 of file L1GtStableParameters.h.

Referenced by gtNumberL1TauJet(), print(), and setGtNumberL1TauJet().

trigger decision

number of physics trigger algorithms

Definition at line 183 of file L1GtStableParameters.h.

Referenced by gtNumberPhysTriggers(), print(), and setGtNumberPhysTriggers().

additional number of physics trigger algorithms

Definition at line 186 of file L1GtStableParameters.h.

Referenced by gtNumberPhysTriggersExtended(), print(), and setGtNumberPhysTriggersExtended().

number of PSB boards in GT

Definition at line 223 of file L1GtStableParameters.h.

Referenced by gtNumberPsbBoards(), print(), and setGtNumberPsbBoards().

number of technical triggers

Definition at line 189 of file L1GtStableParameters.h.

Referenced by gtNumberTechnicalTriggers(), print(), and setGtNumberTechnicalTriggers().

std::vector<int> L1GtStableParameters::m_orderConditionChip [private]

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

Definition at line 220 of file L1GtStableParameters.h.

Referenced by gtOrderConditionChip(), print(), and setGtOrderConditionChip().

number of pins on the GTL condition chips

Definition at line 216 of file L1GtStableParameters.h.

Referenced by gtPinsOnConditionChip(), print(), and setGtPinsOnConditionChip().

one unit in the word is UnitLength bits

Definition at line 237 of file L1GtStableParameters.h.

Referenced by gtUnitLength(), print(), and setGtUnitLength().

GT DAQ record organized in words of WordLength bits.

Definition at line 234 of file L1GtStableParameters.h.

Referenced by gtWordLength(), print(), and setGtWordLength().