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.

38 { CONFIG = 0, NUM_TM_PARAM_NODES = 7 };

◆ anonymous enum

anonymous enum
Enumerator
USERPCBXFORDTBELOWQUALITY 
DphiWindow 
UseOnlyRPC 
UseOnlyDT 
UseLowQDT 
CorrectDTBxwRPC 
Verbose 
NUM_CONFIG_PARAMS 

Definition at line 39 of file L1TTwinMuxParams.h.

39  {
41  DphiWindow,
42  UseOnlyRPC,
43  UseOnlyDT,
44  UseLowQDT,
46  Verbose,
48  };

Constructor & Destructor Documentation

◆ L1TTwinMuxParams()

L1TTwinMuxParams::L1TTwinMuxParams ( )

Definition at line 3 of file L1TTwinMuxParams.cc.

4  //pnodes_[CONFIG].sparams_.clear();
5  pnodes_[CONFIG].iparams_.resize(NUM_CONFIG_PARAMS);
7 }

References CONFIG, NUM_CONFIG_PARAMS, pnodes_, Version, and version_.

◆ ~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.

53 { return fwVersion_; }

References fwVersion_.

Referenced by setFwVersion().

◆ get_CorrectDTBxwRPC()

int L1TTwinMuxParams::get_CorrectDTBxwRPC ( ) const
inline

Definition at line 69 of file L1TTwinMuxParams.h.

69 { return pnodes_[CONFIG].iparams_[CorrectDTBxwRPC]; }

References CONFIG, CorrectDTBxwRPC, and pnodes_.

Referenced by L1TTwinMuxAlgorithm::run().

◆ get_DphiWindowBxShift()

int L1TTwinMuxParams::get_DphiWindowBxShift ( ) const
inline

Definition at line 75 of file L1TTwinMuxParams.h.

75 { return pnodes_[CONFIG].iparams_[DphiWindow]; }

References CONFIG, DphiWindow, and pnodes_.

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

◆ get_UseLowQDT()

int L1TTwinMuxParams::get_UseLowQDT ( ) const
inline

Definition at line 66 of file L1TTwinMuxParams.h.

66 { return pnodes_[CONFIG].iparams_[UseLowQDT]; }

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.

63 { return pnodes_[CONFIG].iparams_[UseOnlyDT]; }

References CONFIG, pnodes_, and UseOnlyDT.

Referenced by L1TTwinMuxProducer::produce(), and L1TTwinMuxAlgorithm::run().

◆ get_UseOnlyRPC()

int L1TTwinMuxParams::get_UseOnlyRPC ( ) const
inline

Definition at line 60 of file L1TTwinMuxParams.h.

60 { return pnodes_[CONFIG].iparams_[UseOnlyRPC]; }

References CONFIG, pnodes_, and UseOnlyRPC.

Referenced by L1TTwinMuxProducer::produce(), and L1TTwinMuxAlgorithm::run().

◆ get_USERPCBXFORDTBELOWQUALITY()

int L1TTwinMuxParams::get_USERPCBXFORDTBELOWQUALITY ( ) const
inline

Definition at line 57 of file L1TTwinMuxParams.h.

57 { return pnodes_[CONFIG].iparams_[USERPCBXFORDTBELOWQUALITY]; }

References CONFIG, pnodes_, and USERPCBXFORDTBELOWQUALITY.

Referenced by DTRPCBxCorrection::run().

◆ get_Verbose()

int L1TTwinMuxParams::get_Verbose ( ) const
inline

Definition at line 72 of file L1TTwinMuxParams.h.

72 { return pnodes_[CONFIG].iparams_[Verbose]; }

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.

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

References fwVersion_, and MillePedeFileConverter_cfg::out.

◆ 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.

54 { fwVersion_ = fwVersion; }

References fwVersion(), and fwVersion_.

Referenced by L1TTwinMuxParamsESProducer::L1TTwinMuxParamsESProducer().

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

L1TTwinMuxParams::DphiWindow
Definition: L1TTwinMuxParams.h:41
L1TTwinMuxParams::UseOnlyRPC
Definition: L1TTwinMuxParams.h:42
L1TTwinMuxParams::NUM_TM_PARAM_NODES
Definition: L1TTwinMuxParams.h:38
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
L1TTwinMuxParams::USERPCBXFORDTBELOWQUALITY
Definition: L1TTwinMuxParams.h:40
pfMETCorrectionType0_cfi.par1
par1
Definition: pfMETCorrectionType0_cfi.py:48
L1TTwinMuxParams::version_
unsigned version_
Definition: L1TTwinMuxParams.h:85
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
L1TTwinMuxParams::UseLowQDT
Definition: L1TTwinMuxParams.h:44
L1TTwinMuxParams::UseOnlyDT
Definition: L1TTwinMuxParams.h:43
L1TTwinMuxParams::fwVersion
unsigned fwVersion() const
Definition: L1TTwinMuxParams.h:53
L1TTwinMuxParams::pnodes_
std::vector< Node > pnodes_
Definition: L1TTwinMuxParams.h:88
L1TTwinMuxParams::CONFIG
Definition: L1TTwinMuxParams.h:38
L1TTwinMuxParams::CorrectDTBxwRPC
Definition: L1TTwinMuxParams.h:45
L1TTwinMuxParams::Verbose
Definition: L1TTwinMuxParams.h:46
L1TTwinMuxParams::Version
Definition: L1TTwinMuxParams.h:22
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
L1TTwinMuxParams::fwVersion_
unsigned fwVersion_
Definition: L1TTwinMuxParams.h:86
L1TTwinMuxParams::NUM_CONFIG_PARAMS
Definition: L1TTwinMuxParams.h:47
Version
Definition: InitMessage.h:39