CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
L1GtPrescaleFactors Class Reference

#include <L1GtPrescaleFactors.h>

Public Member Functions

const std::vector< std::vector< int > > & gtPrescaleFactors () const
 get the prescale factors by reference More...
 
 L1GtPrescaleFactors ()
 
 L1GtPrescaleFactors (const std::vector< std::vector< int > > &)
 
void print (std::ostream &) const
 print the prescale factors More...
 
void setGtPrescaleFactors (const std::vector< std::vector< int > > &)
 set the prescale factors More...
 
virtual ~L1GtPrescaleFactors ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::vector< std::vector< int > > m_prescaleFactors
 prescale factors More...
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Description: L1 GT prescale factors.

Implementation: <TODO: enter implementation details>

Author
: Vasile Mihai Ghete - HEPHY Vienna

$Date$ $Revision$

Definition at line 32 of file L1GtPrescaleFactors.h.

Constructor & Destructor Documentation

◆ L1GtPrescaleFactors() [1/2]

L1GtPrescaleFactors::L1GtPrescaleFactors ( )

Definition at line 28 of file L1GtPrescaleFactors.cc.

28  {
29  // empty
30 }

◆ L1GtPrescaleFactors() [2/2]

L1GtPrescaleFactors::L1GtPrescaleFactors ( const std::vector< std::vector< int > > &  factorValue)

Definition at line 32 of file L1GtPrescaleFactors.cc.

32  {
33  m_prescaleFactors = factorValue;
34 }

References m_prescaleFactors.

◆ ~L1GtPrescaleFactors()

L1GtPrescaleFactors::~L1GtPrescaleFactors ( )
virtual

Definition at line 37 of file L1GtPrescaleFactors.cc.

37  {
38  // empty
39 }

Member Function Documentation

◆ gtPrescaleFactors()

const std::vector<std::vector<int> >& L1GtPrescaleFactors::gtPrescaleFactors ( ) const
inline

◆ print()

void L1GtPrescaleFactors::print ( std::ostream &  myOstream) const

print the prescale factors

Definition at line 47 of file L1GtPrescaleFactors.cc.

47  {
48  myOstream << "\nL1 GT Trigger prescale factors" << std::endl;
49 
50  for (unsigned iSet = 0; iSet < m_prescaleFactors.size(); iSet++) {
51  myOstream << "\n\n Set index " << iSet << "\n " << std::endl;
52  for (unsigned i = 0; i < (m_prescaleFactors[iSet]).size(); i++) {
53  myOstream << " Bit number \t" << i << ":\t prescale factor: " << (m_prescaleFactors[iSet])[i] << std::endl;
54  }
55  }
56 }

References mps_fire::i, m_prescaleFactors, and findQualityFiles::size.

Referenced by L1GtRunSettingsViewer::analyze(), and L1GtPrescaleFactorsAndMasksTester::printL1EventSetup().

◆ serialize()

template<class Archive >
void L1GtPrescaleFactors::serialize ( Archive &  ar,
const unsigned int  version 
)
private

◆ setGtPrescaleFactors()

void L1GtPrescaleFactors::setGtPrescaleFactors ( const std::vector< std::vector< int > > &  factorValue)

set the prescale factors

Definition at line 42 of file L1GtPrescaleFactors.cc.

42  {
43  m_prescaleFactors = factorValue;
44 }

References m_prescaleFactors.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 57 of file L1GtPrescaleFactors.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 57 of file L1GtPrescaleFactors.h.

Member Data Documentation

◆ m_prescaleFactors

std::vector<std::vector<int> > L1GtPrescaleFactors::m_prescaleFactors
private

prescale factors

Definition at line 55 of file L1GtPrescaleFactors.h.

Referenced by gtPrescaleFactors(), L1GtPrescaleFactors(), print(), and setGtPrescaleFactors().

mps_fire.i
i
Definition: mps_fire.py:428
L1GtPrescaleFactors::m_prescaleFactors
std::vector< std::vector< int > > m_prescaleFactors
prescale factors
Definition: L1GtPrescaleFactors.h:55
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443