CMS 3D CMS Logo

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

anonymous enum
Enumerator
Version 

Definition at line 22 of file L1TTwinMuxParams.h.

22 { Version = 1 };

◆ anonymous enum

anonymous enum
Enumerator
CONFIG 
NUM_TM_PARAM_NODES 

Definition at line 38 of file L1TTwinMuxParams.h.

◆ anonymous enum

anonymous enum

Constructor & Destructor Documentation

◆ L1TTwinMuxParams()

L1TTwinMuxParams::L1TTwinMuxParams ( )

◆ ~L1TTwinMuxParams()

L1TTwinMuxParams::~L1TTwinMuxParams ( )
inline

Definition at line 50 of file L1TTwinMuxParams.h.

50 {}

Member Function Documentation

◆ fwVersion()

unsigned L1TTwinMuxParams::fwVersion ( ) const
inline

Definition at line 53 of file L1TTwinMuxParams.h.

References fwVersion_.

Referenced by setFwVersion().

53 { return fwVersion_; }

◆ get_CorrectDTBxwRPC()

int L1TTwinMuxParams::get_CorrectDTBxwRPC ( ) const
inline

◆ get_DphiWindowBxShift()

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().

◆ get_UseLowQDT()

int L1TTwinMuxParams::get_UseLowQDT ( ) const
inline

Definition at line 66 of file L1TTwinMuxParams.h.

References CONFIG, pnodes_, and UseLowQDT.

Referenced by L1TTwinMuxAlgorithm::run().

◆ get_UseOnlyDT()

int L1TTwinMuxParams::get_UseOnlyDT ( ) const
inline

Definition at line 63 of file L1TTwinMuxParams.h.

References CONFIG, pnodes_, and UseOnlyDT.

Referenced by L1TTwinMuxAlgorithm::run().

◆ get_UseOnlyRPC()

int L1TTwinMuxParams::get_UseOnlyRPC ( ) const
inline

Definition at line 60 of file L1TTwinMuxParams.h.

References CONFIG, pnodes_, and UseOnlyRPC.

Referenced by L1TTwinMuxAlgorithm::run().

◆ get_USERPCBXFORDTBELOWQUALITY()

int L1TTwinMuxParams::get_USERPCBXFORDTBELOWQUALITY ( ) const
inline

◆ get_Verbose()

int L1TTwinMuxParams::get_Verbose ( ) const
inline

Definition at line 72 of file L1TTwinMuxParams.h.

References CONFIG, pnodes_, and Verbose.

Referenced by L1TTwinMuxAlgorithm::run().

◆ print()

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

Definition at line 9 of file L1TTwinMuxParams.cc.

References fwVersion_, and MillePedeFileConverter_cfg::out.

9  {
10  out << "L1 TwinMux Parameters" << std::endl;
11 
12  out << "Firmware version: " << fwVersion_ << std::endl;
13 }

◆ serialize()

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

◆ set_CorrectDTBxwRPC()

void L1TTwinMuxParams::set_CorrectDTBxwRPC ( int  par1)
inline

◆ set_DphiWindowBxShift()

void L1TTwinMuxParams::set_DphiWindowBxShift ( int  par1)
inline

◆ set_UseLowQDT()

void L1TTwinMuxParams::set_UseLowQDT ( int  par1)
inline

◆ set_UseOnlyDT()

void L1TTwinMuxParams::set_UseOnlyDT ( int  par1)
inline

◆ set_UseOnlyRPC()

void L1TTwinMuxParams::set_UseOnlyRPC ( int  par1)
inline

◆ set_USERPCBXFORDTBELOWQUALITY()

void L1TTwinMuxParams::set_USERPCBXFORDTBELOWQUALITY ( int  par1)
inline

◆ set_Verbose()

void L1TTwinMuxParams::set_Verbose ( int  par1)
inline

◆ setFwVersion()

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

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 91 of file L1TTwinMuxParams.h.

◆ cond::serialization::access

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

Definition at line 91 of file L1TTwinMuxParams.h.

◆ operator<<

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  }

Member Data Documentation

◆ fwVersion_

unsigned L1TTwinMuxParams::fwVersion_
private

Definition at line 86 of file L1TTwinMuxParams.h.

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

◆ pnodes_

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

◆ version_

unsigned L1TTwinMuxParams::version_
private

Definition at line 85 of file L1TTwinMuxParams.h.

Referenced by L1TTwinMuxParams().