CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
L1TTwinMuxParams Class Reference

#include <L1TTwinMuxParams.h>

Classes

class  Node
 

Public Types

enum  { Version = 1 }
 
enum  { CONFIG = 0, NUM_TM_PARAM_NODES = 7 }
 
enum  {
  USERPCBXFORDTBELOWQUALITY, DphiWindow, UseOnlyRPC, UseOnlyDT,
  UseLowQDT, CorrectDTBxwRPC, Verbose, NUM_CONFIG_PARAMS
}
 

Public Member Functions

unsigned fwVersion () const
 
int get_CorrectDTBxwRPC () const
 
int get_DphiWindowBxShift () const
 
int get_UseLowQDT () const
 
int get_UseOnlyDT () const
 
int get_UseOnlyRPC () const
 
int get_USERPCBXFORDTBELOWQUALITY () const
 
int get_Verbose () const
 
 L1TTwinMuxParams ()
 
void print (std::ostream &) const
 
void set_CorrectDTBxwRPC (int par1)
 
void set_DphiWindowBxShift (int par1)
 
void set_UseLowQDT (int par1)
 
void set_UseOnlyDT (int par1)
 
void set_UseOnlyRPC (int par1)
 
void set_USERPCBXFORDTBELOWQUALITY (int par1)
 
void set_Verbose (int par1)
 
void setFwVersion (unsigned fwVersion)
 
 ~L1TTwinMuxParams ()
 

Private Member Functions

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

Private Attributes

unsigned fwVersion_
 
std::vector< Nodepnodes_
 
unsigned version_
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 
std::ostream & operator<< (std::ostream &o, const L1TTwinMuxParams &p)
 

Detailed Description

Definition at line 19 of file L1TTwinMuxParams.h.

Member Enumeration Documentation

anonymous enum
Enumerator
Version 

Definition at line 22 of file L1TTwinMuxParams.h.

22 { Version = 1 };
anonymous enum
Enumerator
CONFIG 
NUM_TM_PARAM_NODES 

Definition at line 38 of file L1TTwinMuxParams.h.

anonymous enum

Constructor & Destructor Documentation

L1TTwinMuxParams::L1TTwinMuxParams ( )
L1TTwinMuxParams::~L1TTwinMuxParams ( )
inline

Definition at line 50 of file L1TTwinMuxParams.h.

50 {}

Member Function Documentation

unsigned L1TTwinMuxParams::fwVersion ( ) const
inline

Definition at line 53 of file L1TTwinMuxParams.h.

References fwVersion_.

Referenced by setFwVersion().

53 { return fwVersion_; }
int L1TTwinMuxParams::get_CorrectDTBxwRPC ( ) const
inline
int L1TTwinMuxParams::get_DphiWindowBxShift ( ) const
inline

Definition at line 75 of file L1TTwinMuxParams.h.

References CONFIG, DphiWindow, and pnodes_.

Referenced by DTRPCBxCorrection::run(), and DTLowQMatching::run().

int L1TTwinMuxParams::get_UseLowQDT ( ) const
inline

Definition at line 66 of file L1TTwinMuxParams.h.

References CONFIG, pnodes_, and UseLowQDT.

Referenced by L1TTwinMuxAlgorithm::run().

int L1TTwinMuxParams::get_UseOnlyDT ( ) const
inline

Definition at line 63 of file L1TTwinMuxParams.h.

References CONFIG, pnodes_, and UseOnlyDT.

Referenced by L1TTwinMuxAlgorithm::run().

int L1TTwinMuxParams::get_UseOnlyRPC ( ) const
inline

Definition at line 60 of file L1TTwinMuxParams.h.

References CONFIG, pnodes_, and UseOnlyRPC.

Referenced by L1TTwinMuxAlgorithm::run().

int L1TTwinMuxParams::get_USERPCBXFORDTBELOWQUALITY ( ) const
inline
int L1TTwinMuxParams::get_Verbose ( ) const
inline

Definition at line 72 of file L1TTwinMuxParams.h.

References CONFIG, pnodes_, and Verbose.

Referenced by L1TTwinMuxAlgorithm::run().

void L1TTwinMuxParams::print ( std::ostream &  out) const

Definition at line 9 of file L1TTwinMuxParams.cc.

References fwVersion_.

9  {
10  out << "L1 TwinMux Parameters" << std::endl;
11 
12  out << "Firmware version: " << fwVersion_ << std::endl;
13 }
template<class Archive >
void L1TTwinMuxParams::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void L1TTwinMuxParams::set_CorrectDTBxwRPC ( int  par1)
inline
void L1TTwinMuxParams::set_DphiWindowBxShift ( int  par1)
inline
void L1TTwinMuxParams::set_UseLowQDT ( int  par1)
inline
void L1TTwinMuxParams::set_UseOnlyDT ( int  par1)
inline
void L1TTwinMuxParams::set_UseOnlyRPC ( int  par1)
inline
void L1TTwinMuxParams::set_USERPCBXFORDTBELOWQUALITY ( int  par1)
inline
void L1TTwinMuxParams::set_Verbose ( int  par1)
inline
void L1TTwinMuxParams::setFwVersion ( unsigned  fwVersion)
inline

Definition at line 54 of file L1TTwinMuxParams.h.

References fwVersion(), and fwVersion_.

Referenced by L1TTwinMuxParamsESProducer::L1TTwinMuxParamsESProducer().

54 { fwVersion_ = fwVersion; }
unsigned fwVersion() const

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 91 of file L1TTwinMuxParams.h.

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

Definition at line 91 of file L1TTwinMuxParams.h.

std::ostream& operator<< ( std::ostream &  o,
const L1TTwinMuxParams p 
)
friend

Definition at line 79 of file L1TTwinMuxParams.h.

79  {
80  p.print(o);
81  return o;
82  }
void print(std::ostream &) const

Member Data Documentation

unsigned L1TTwinMuxParams::fwVersion_
private

Definition at line 86 of file L1TTwinMuxParams.h.

Referenced by fwVersion(), print(), and setFwVersion().

std::vector<Node> L1TTwinMuxParams::pnodes_
private
unsigned L1TTwinMuxParams::version_
private

Definition at line 85 of file L1TTwinMuxParams.h.

Referenced by L1TTwinMuxParams().