CMS 3D CMS Logo

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

#include <L1MuCSCTFConfiguration.h>

Public Types

using const_iterator = const std::string *
 

Public Member Functions

const_iterator begin () const
 
const std::string * configAsText (void) const throw ()
 
const_iterator end () const
 
 L1MuCSCTFConfiguration (void)
 
 L1MuCSCTFConfiguration (std::string regs[12])
 
 L1MuCSCTFConfiguration (const L1MuCSCTFConfiguration &conf)
 
L1MuCSCTFConfigurationoperator= (const L1MuCSCTFConfiguration &conf)
 
const std::string & operator[] (int iIndex) const
 
void print (std::ostream &) const
 print all the L1 CSCTF Configuration Parameters More...
 
 ~L1MuCSCTFConfiguration (void)
 

Private Member Functions

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

Private Attributes

std::string registers [12]
 

Friends

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

Detailed Description

Definition at line 8 of file L1MuCSCTFConfiguration.h.

Member Typedef Documentation

◆ const_iterator

using L1MuCSCTFConfiguration::const_iterator = const std::string*

Definition at line 15 of file L1MuCSCTFConfiguration.h.

Constructor & Destructor Documentation

◆ L1MuCSCTFConfiguration() [1/3]

L1MuCSCTFConfiguration::L1MuCSCTFConfiguration ( void  )
inline

Definition at line 27 of file L1MuCSCTFConfiguration.h.

27 {}

◆ L1MuCSCTFConfiguration() [2/3]

L1MuCSCTFConfiguration::L1MuCSCTFConfiguration ( std::string  regs[12])
inline

Definition at line 28 of file L1MuCSCTFConfiguration.h.

References registers.

28  {
29  for (int sp = 0; sp < 12; sp++)
30  registers[sp] = regs[sp];
31  }

◆ L1MuCSCTFConfiguration() [3/3]

L1MuCSCTFConfiguration::L1MuCSCTFConfiguration ( const L1MuCSCTFConfiguration conf)
inline

Definition at line 32 of file L1MuCSCTFConfiguration.h.

References registers.

32  {
33  for (int sp = 0; sp < 12; sp++)
34  registers[sp] = conf.registers[sp];
35  }

◆ ~L1MuCSCTFConfiguration()

L1MuCSCTFConfiguration::~L1MuCSCTFConfiguration ( void  )
inline

Definition at line 36 of file L1MuCSCTFConfiguration.h.

36 {}

Member Function Documentation

◆ begin()

const_iterator L1MuCSCTFConfiguration::begin ( void  ) const
inline

Definition at line 16 of file L1MuCSCTFConfiguration.h.

References registers.

16 { return registers; }

◆ configAsText()

const std::string* L1MuCSCTFConfiguration::configAsText ( void  ) const
throw (
)
inline

Definition at line 13 of file L1MuCSCTFConfiguration.h.

References registers.

13 { return registers; }

◆ end()

const_iterator L1MuCSCTFConfiguration::end ( void  ) const
inline

Definition at line 17 of file L1MuCSCTFConfiguration.h.

References registers.

Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().

17 { return registers + 12; }

◆ operator=()

L1MuCSCTFConfiguration& L1MuCSCTFConfiguration::operator= ( const L1MuCSCTFConfiguration conf)
inline

Definition at line 21 of file L1MuCSCTFConfiguration.h.

References registers.

21  {
22  for (int sp = 0; sp < 12; sp++)
23  registers[sp] = conf.registers[sp];
24  return *this;
25  }

◆ operator[]()

const std::string& L1MuCSCTFConfiguration::operator[] ( int  iIndex) const
inline

Definition at line 19 of file L1MuCSCTFConfiguration.h.

References registers.

19 { return registers[iIndex]; }

◆ print()

void L1MuCSCTFConfiguration::print ( std::ostream &  myStr) const

print all the L1 CSCTF Configuration Parameters

Definition at line 5 of file L1MuCSCTFConfiguration.cc.

References registers.

Referenced by L1TConfigDumper::analyze().

5  {
6  myStr << "\nL1 Mu CSCTF Parameters \n" << std::endl;
7 
8  for (int iSP = 0; iSP < 12; iSP++) {
9  myStr << "=============================================" << std::endl;
10  myStr << "Printing out Global Tag Content for SP " << iSP + 1 << std::endl;
11  myStr << registers[iSP];
12  myStr << "=============================================" << std::endl;
13  }
14 }

◆ serialize()

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 41 of file L1MuCSCTFConfiguration.h.

◆ cond::serialization::access

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

Definition at line 41 of file L1MuCSCTFConfiguration.h.

Member Data Documentation

◆ registers

std::string L1MuCSCTFConfiguration::registers[12]
private