CMS 3D CMS Logo

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

#include <L1TMuonBarrelParams.h>

Classes

class  LUTParams
 
class  Node
 

Public Types

enum  { Version = 1 }
 
enum  { CONFIG = 0, NUM_BMTF_PARAM_NODES =2 }
 
enum  {
  PT_Assignment_nbits_Phi, PT_Assignment_nbits_PhiB, PHI_Assignment_nbits_Phi, PHI_Assignment_nbits_PhiB,
  Extrapolation_nbits_Phi, Extrapolation_nbits_PhiB, BX_min, BX_max,
  Extrapolation_Filter, OutOfTime_Filter_Window, OutOfTime_Filter, Open_LUTs,
  EtaTrackFinder, Extrapolation_21, NUM_CONFIG_PARAMS
}
 
typedef std::map< short,
L1MuDTEtaPattern, std::less
< short > > 
etaLUT
 Eta Pattern LUT. More...
 
typedef std::map< short, short,
std::less< short > > 
LUT
 L1MuBMPtaLut. More...
 
typedef std::pair< short,
std::vector< short > > 
LUTCONT
 
typedef std::pair< short, short > LUTID
 Qual Pattern LUT. More...
 
typedef std::map< LUTID, LUTCONTqpLUT
 

Public Member Functions

std::string AssLUTPath () const
 
etaLUT eta_lut () const
 
std::vector< LUTParams::extLUText_lut () const
 
unsigned fwVersion () const
 
int get_BX_max () const
 
int get_BX_min () const
 
bool get_EtaTrackFinder () const
 
bool get_Extrapolation_21 () const
 
int get_Extrapolation_Filter () const
 
int get_Extrapolation_nbits_Phi () const
 
int get_Extrapolation_nbits_PhiB () const
 
bool get_Open_LUTs () const
 
bool get_OutOfTime_Filter () const
 
int get_OutOfTime_Filter_Window () const
 
int get_PHI_Assignment_nbits_Phi () const
 
int get_PHI_Assignment_nbits_PhiB () const
 
int get_PT_Assignment_nbits_Phi () const
 
int get_PT_Assignment_nbits_PhiB () const
 
 L1TMuonBarrelParams ()
 
std::vector< LUTphi_lut () const
 
void print (std::ostream &) const
 
std::vector< LUTpta_lut () const
 
std::vector< int > pta_threshold () const
 
qpLUT qp_lut () const
 
void set_BX_max (int par1)
 
void set_BX_min (int par1)
 
void set_EtaTrackFinder (bool par1)
 
void set_Extrapolation_21 (bool par1)
 
void set_Extrapolation_Filter (int par1)
 
void set_Extrapolation_nbits_Phi (int par1)
 
void set_Extrapolation_nbits_PhiB (int par1)
 
void set_Open_LUTs (bool par1)
 
void set_OutOfTime_Filter (bool par1)
 
void set_OutOfTime_Filter_Window (int par1)
 
void set_PHI_Assignment_nbits_Phi (int par1)
 
void set_PHI_Assignment_nbits_PhiB (int par1)
 
void set_PT_Assignment_nbits_Phi (int par1)
 
void set_PT_Assignment_nbits_PhiB (int par1)
 
void setAssLUTPath (std::string path)
 
void seteta_lut (etaLUT eta_lut)
 
void setext_lut (std::vector< LUTParams::extLUT > extlut)
 
void setFwVersion (unsigned fwVersion)
 
void setphi_lut (std::vector< LUT > philut)
 
void setpta_lut (std::vector< LUT > ptalut)
 
void setpta_threshold (std::vector< int > ptathresh)
 
void setqp_lut (qpLUT qplut)
 
 ~L1TMuonBarrelParams ()
 

Public Attributes

L1MuDTTFMasks l1mudttfmasks
 
L1MuDTTFParameters l1mudttfparams
 

Private Member Functions

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

Private Attributes

unsigned fwVersion_
 
std::vector< L1MuDTTFMasksl1mudttfmasks_
 
std::vector< L1MuDTTFParametersl1mudttfparams_
 
LUTParams lutparams_
 
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 L1TMuonBarrelParams &p)
 

Detailed Description

Description: Placeholder for BMTF parameters

Author
: Giannis Flouris

Definition at line 24 of file L1TMuonBarrelParams.h.

Member Typedef Documentation

typedef std::map<short, L1MuDTEtaPattern, std::less<short> > L1TMuonBarrelParams::etaLUT

Eta Pattern LUT.

Definition at line 76 of file L1TMuonBarrelParams.h.

typedef std::map<short, short, std::less<short> > L1TMuonBarrelParams::LUT

L1MuBMPtaLut.

Definition at line 70 of file L1TMuonBarrelParams.h.

typedef std::pair< short, std::vector<short> > L1TMuonBarrelParams::LUTCONT

Definition at line 73 of file L1TMuonBarrelParams.h.

typedef std::pair< short, short > L1TMuonBarrelParams::LUTID

Qual Pattern LUT.

Definition at line 72 of file L1TMuonBarrelParams.h.

Definition at line 74 of file L1TMuonBarrelParams.h.

Member Enumeration Documentation

anonymous enum
Enumerator
Version 

Definition at line 27 of file L1TMuonBarrelParams.h.

27 { Version = 1 };
anonymous enum
Enumerator
CONFIG 
NUM_BMTF_PARAM_NODES 

Definition at line 41 of file L1TMuonBarrelParams.h.

anonymous enum
Enumerator
PT_Assignment_nbits_Phi 
PT_Assignment_nbits_PhiB 
PHI_Assignment_nbits_Phi 
PHI_Assignment_nbits_PhiB 
Extrapolation_nbits_Phi 
Extrapolation_nbits_PhiB 
BX_min 
BX_max 
Extrapolation_Filter 
OutOfTime_Filter_Window 
OutOfTime_Filter 
Open_LUTs 
EtaTrackFinder 
Extrapolation_21 
NUM_CONFIG_PARAMS 

Definition at line 46 of file L1TMuonBarrelParams.h.

52  BX_min,
53  BX_max,
57  Open_LUTs,

Constructor & Destructor Documentation

L1TMuonBarrelParams::L1TMuonBarrelParams ( )
L1TMuonBarrelParams::~L1TMuonBarrelParams ( )
inline

Definition at line 154 of file L1TMuonBarrelParams.h.

154 {}

Member Function Documentation

std::string L1TMuonBarrelParams::AssLUTPath ( ) const
inline

Definition at line 101 of file L1TMuonBarrelParams.h.

References CONFIG, and pnodes_.

101 { return pnodes_[CONFIG].sparams_.size() > 0 ? pnodes_[CONFIG].sparams_[0] : ""; }
std::vector< Node > pnodes_
etaLUT L1TMuonBarrelParams::eta_lut ( ) const
inline
std::vector<LUTParams::extLUT> L1TMuonBarrelParams::ext_lut ( ) const
inline

Definition at line 113 of file L1TMuonBarrelParams.h.

References L1TMuonBarrelParams::LUTParams::ext_lut_, and lutparams_.

113 {return lutparams_.ext_lut_; };
unsigned L1TMuonBarrelParams::fwVersion ( ) const
inline

Definition at line 157 of file L1TMuonBarrelParams.h.

References fwVersion_.

Referenced by setFwVersion().

157 { return fwVersion_; }
int L1TMuonBarrelParams::get_BX_max ( ) const
inline
int L1TMuonBarrelParams::get_BX_min ( ) const
inline
bool L1TMuonBarrelParams::get_EtaTrackFinder ( ) const
inline
bool L1TMuonBarrelParams::get_Extrapolation_21 ( ) const
inline
int L1TMuonBarrelParams::get_Extrapolation_Filter ( ) const
inline
int L1TMuonBarrelParams::get_Extrapolation_nbits_Phi ( ) const
inline
int L1TMuonBarrelParams::get_Extrapolation_nbits_PhiB ( ) const
inline
bool L1TMuonBarrelParams::get_Open_LUTs ( ) const
inline
bool L1TMuonBarrelParams::get_OutOfTime_Filter ( ) const
inline
int L1TMuonBarrelParams::get_OutOfTime_Filter_Window ( ) const
inline
int L1TMuonBarrelParams::get_PHI_Assignment_nbits_Phi ( ) const
inline
int L1TMuonBarrelParams::get_PHI_Assignment_nbits_PhiB ( ) const
inline
int L1TMuonBarrelParams::get_PT_Assignment_nbits_Phi ( ) const
inline
int L1TMuonBarrelParams::get_PT_Assignment_nbits_PhiB ( ) const
inline
std::vector<LUT> L1TMuonBarrelParams::phi_lut ( ) const
inline

Definition at line 110 of file L1TMuonBarrelParams.h.

References lutparams_, and L1TMuonBarrelParams::LUTParams::phi_lut_.

110 {return lutparams_.phi_lut_; };
void L1TMuonBarrelParams::print ( std::ostream &  out) const

Definition at line 13 of file L1TMuonBarrelParams.cc.

References fwVersion_.

13  {
14 
15  out << "L1 BMTF Parameters" << std::endl;
16 
17  out << "Firmware version: " << fwVersion_ << std::endl;
18 }
std::vector<LUT> L1TMuonBarrelParams::pta_lut ( ) const
inline

Definition at line 105 of file L1TMuonBarrelParams.h.

References lutparams_, and L1TMuonBarrelParams::LUTParams::pta_lut_.

105 {return lutparams_.pta_lut_; };
std::vector<int> L1TMuonBarrelParams::pta_threshold ( ) const
inline
qpLUT L1TMuonBarrelParams::qp_lut ( ) const
inline
template<class Archive >
void L1TMuonBarrelParams::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void L1TMuonBarrelParams::set_BX_max ( int  par1)
inline
void L1TMuonBarrelParams::set_BX_min ( int  par1)
inline
void L1TMuonBarrelParams::set_EtaTrackFinder ( bool  par1)
inline
void L1TMuonBarrelParams::set_Extrapolation_21 ( bool  par1)
inline
void L1TMuonBarrelParams::set_Extrapolation_Filter ( int  par1)
inline
void L1TMuonBarrelParams::set_Extrapolation_nbits_Phi ( int  par1)
inline
void L1TMuonBarrelParams::set_Extrapolation_nbits_PhiB ( int  par1)
inline
void L1TMuonBarrelParams::set_Open_LUTs ( bool  par1)
inline
void L1TMuonBarrelParams::set_OutOfTime_Filter ( bool  par1)
inline
void L1TMuonBarrelParams::set_OutOfTime_Filter_Window ( int  par1)
inline
void L1TMuonBarrelParams::set_PHI_Assignment_nbits_Phi ( int  par1)
inline
void L1TMuonBarrelParams::set_PHI_Assignment_nbits_PhiB ( int  par1)
inline
void L1TMuonBarrelParams::set_PT_Assignment_nbits_Phi ( int  par1)
inline
void L1TMuonBarrelParams::set_PT_Assignment_nbits_PhiB ( int  par1)
inline
void L1TMuonBarrelParams::setAssLUTPath ( std::string  path)
inline
void L1TMuonBarrelParams::seteta_lut ( etaLUT  eta_lut)
inline
void L1TMuonBarrelParams::setext_lut ( std::vector< LUTParams::extLUT extlut)
inline
void L1TMuonBarrelParams::setFwVersion ( unsigned  fwVersion)
inline
void L1TMuonBarrelParams::setphi_lut ( std::vector< LUT philut)
inline
void L1TMuonBarrelParams::setpta_lut ( std::vector< LUT ptalut)
inline
void L1TMuonBarrelParams::setpta_threshold ( std::vector< int >  ptathresh)
inline
void L1TMuonBarrelParams::setqp_lut ( qpLUT  qplut)
inline

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 173 of file L1TMuonBarrelParams.h.

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

Definition at line 173 of file L1TMuonBarrelParams.h.

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

Definition at line 162 of file L1TMuonBarrelParams.h.

162 { p.print(o); return o; }
void print(std::ostream &) const

Member Data Documentation

unsigned L1TMuonBarrelParams::fwVersion_
private

Definition at line 165 of file L1TMuonBarrelParams.h.

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

L1MuDTTFMasks L1TMuonBarrelParams::l1mudttfmasks

Definition at line 64 of file L1TMuonBarrelParams.h.

std::vector<L1MuDTTFMasks> L1TMuonBarrelParams::l1mudttfmasks_
private

Definition at line 170 of file L1TMuonBarrelParams.h.

L1MuDTTFParameters L1TMuonBarrelParams::l1mudttfparams

Definition at line 63 of file L1TMuonBarrelParams.h.

std::vector<L1MuDTTFParameters> L1TMuonBarrelParams::l1mudttfparams_
private

Definition at line 169 of file L1TMuonBarrelParams.h.

LUTParams L1TMuonBarrelParams::lutparams_
private
std::vector<Node> L1TMuonBarrelParams::pnodes_
private
unsigned L1TMuonBarrelParams::version_
private

Definition at line 164 of file L1TMuonBarrelParams.h.

Referenced by L1TMuonBarrelParams().