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 | Private Member Functions | Private Attributes | Friends
L1TMuonOverlapParams Class Reference

#include <L1TMuonOverlapParams.h>

Classes

class  LayerInputNode
 
class  LayerMapNode
 
class  Node
 
class  RefHitNode
 
class  RefLayerMapNode
 

Public Types

enum  { Version = 1 }
 
enum  {
  CHARGE =0, ETA =1, PT =2, PDF =3,
  MEANDISTPHI =4, GENERAL = 5, SECTORS_START =6, SECTORS_END =7,
  NUM_OMTFPARAMNODES =8
}
 
enum  {
  GENERAL_ADDRBITS =0, GENERAL_VALBITS =1, GENERAL_HITSPERLAYER =2, GENERAL_PHIBITS =3,
  GENERAL_PHIBINS =4, GENERAL_NREFHITS =5, GENERAL_NTESTREFHITS =6, GENERAL_NPROCESSORS =7,
  GENERAL_NLOGIC_REGIONS =8, GENERAL_NINPUTS =9, GENERAL_NLAYERS =10, GENERAL_NREFLAYERS =11,
  GENERAL_NGOLDENPATTERNS =12, GENERAL_NCONFIG =13
}
 

Public Member Functions

l1t::LUTchargeLUT ()
 Golden Patterns definitions. More...
 
std::vector< int > * connectedSectorsEnd ()
 
std::vector< int > * connectedSectorsStart ()
 
l1t::LUTetaLUT ()
 
unsigned fwVersion () const
 
std::vector< int > * generalParams ()
 General definitions. More...
 
std::vector< int > * globalPhiStartMap ()
 
 L1TMuonOverlapParams ()
 
std::vector< LayerInputNode > * layerInputMap ()
 
std::vector< LayerMapNode > * layerMap ()
 
l1t::LUTmeanDistPhiLUT ()
 
int nGoldenPatterns ()
 
int nHitsPerLayer ()
 
int nInputs ()
 
int nLayers ()
 
int nLogicRegions ()
 
int nPdfAddrBits ()
 Access to specific general settings. More...
 
int nPdfValBits ()
 
int nPhiBins ()
 
int nPhiBits ()
 
int nProcessors ()
 
int nRefHits ()
 
int nRefLayers ()
 
int nTestRefHits ()
 
l1t::LUTpdfLUT ()
 
l1t::LUTptLUT ()
 
std::vector< RefHitNode > * refHitMap ()
 
std::vector< RefLayerMapNode > * refLayerMap ()
 
void setChargeLUT (const l1t::LUT &lut)
 
void setConnectedSectorsEnd (const std::vector< int > &aVector)
 
void setConnectedSectorsStart (const std::vector< int > &aVector)
 
void setEtaLUT (const l1t::LUT &lut)
 
void setFwVersion (unsigned fwVersion)
 
void setGeneralParams (const std::vector< int > &paramsVec)
 
void setGlobalPhiStartMap (const std::vector< int > &aVector)
 
void setLayerInputMap (const std::vector< LayerInputNode > &aVector)
 
void setLayerMap (const std::vector< LayerMapNode > &aVector)
 Connections definitions. More...
 
void setMeanDistPhiLUT (const l1t::LUT &lut)
 
void setPdfLUT (const l1t::LUT &lut)
 
void setPtLUT (const l1t::LUT &lut)
 
void setRefHitMap (const std::vector< RefHitNode > &aVector)
 
void setRefLayerMap (const std::vector< RefLayerMapNode > &aVector)
 
 ~L1TMuonOverlapParams ()
 

Private Member Functions

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

Private Attributes

unsigned fwVersion_
 Version of firmware configuration. More...
 
std::vector< int > globalPhiStart_
 
std::vector< LayerInputNodelayerInputMap_
 
std::vector< LayerMapNodelayerMap_
 Vector of structs representing definitions of measurement layers. More...
 
std::vector< Nodepnodes_
 vector of LUT like parameters More...
 
std::vector< RefHitNoderefHitMap_
 
std::vector< RefLayerMapNoderefLayerMap_
 

Friends

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

Detailed Description

Definition at line 14 of file L1TMuonOverlapParams.h.

Member Enumeration Documentation

anonymous enum
Enumerator
Version 

Definition at line 90 of file L1TMuonOverlapParams.h.

90 { Version = 1 };
anonymous enum
anonymous enum
Enumerator
GENERAL_ADDRBITS 
GENERAL_VALBITS 
GENERAL_HITSPERLAYER 
GENERAL_PHIBITS 
GENERAL_PHIBINS 
GENERAL_NREFHITS 
GENERAL_NTESTREFHITS 
GENERAL_NPROCESSORS 
GENERAL_NLOGIC_REGIONS 
GENERAL_NINPUTS 
GENERAL_NLAYERS 
GENERAL_NREFLAYERS 
GENERAL_NGOLDENPATTERNS 
GENERAL_NCONFIG 

Definition at line 98 of file L1TMuonOverlapParams.h.

Constructor & Destructor Documentation

L1TMuonOverlapParams::L1TMuonOverlapParams ( )
inline

Definition at line 104 of file L1TMuonOverlapParams.h.

References fwVersion_, NUM_OMTFPARAMNODES, pnodes_, and Version.

unsigned fwVersion_
Version of firmware configuration.
std::vector< Node > pnodes_
vector of LUT like parameters
L1TMuonOverlapParams::~L1TMuonOverlapParams ( )
inline

Definition at line 105 of file L1TMuonOverlapParams.h.

105 {}

Member Function Documentation

l1t::LUT* L1TMuonOverlapParams::chargeLUT ( )
inline

Golden Patterns definitions.

Definition at line 173 of file L1TMuonOverlapParams.h.

References CHARGE, and pnodes_.

173 { return &pnodes_[CHARGE].LUT_; }
std::vector< Node > pnodes_
vector of LUT like parameters
std::vector<int>* L1TMuonOverlapParams::connectedSectorsEnd ( )
inline

Definition at line 169 of file L1TMuonOverlapParams.h.

References pnodes_, and SECTORS_END.

169 { return &pnodes_[SECTORS_END].iparams_;};
std::vector< Node > pnodes_
vector of LUT like parameters
std::vector<int>* L1TMuonOverlapParams::connectedSectorsStart ( )
inline

Definition at line 167 of file L1TMuonOverlapParams.h.

References pnodes_, and SECTORS_START.

167 { return &pnodes_[SECTORS_START].iparams_;};
std::vector< Node > pnodes_
vector of LUT like parameters
l1t::LUT* L1TMuonOverlapParams::etaLUT ( )
inline

Definition at line 174 of file L1TMuonOverlapParams.h.

References ETA, and pnodes_.

174 { return &pnodes_[ETA].LUT_; }
std::vector< Node > pnodes_
vector of LUT like parameters
unsigned L1TMuonOverlapParams::fwVersion ( ) const
inline

Definition at line 108 of file L1TMuonOverlapParams.h.

References fwVersion_.

Referenced by setFwVersion().

108 { return fwVersion_; }
unsigned fwVersion_
Version of firmware configuration.
std::vector<int>* L1TMuonOverlapParams::generalParams ( )
inline

General definitions.

Definition at line 112 of file L1TMuonOverlapParams.h.

References GENERAL, and pnodes_.

112 { return &pnodes_[GENERAL].iparams_; }
std::vector< Node > pnodes_
vector of LUT like parameters
std::vector<int>* L1TMuonOverlapParams::globalPhiStartMap ( )
inline

Definition at line 163 of file L1TMuonOverlapParams.h.

References globalPhiStart_.

163 { return &globalPhiStart_;};
std::vector< int > globalPhiStart_
std::vector<LayerInputNode>* L1TMuonOverlapParams::layerInputMap ( )
inline

Definition at line 165 of file L1TMuonOverlapParams.h.

References layerInputMap_.

165 { return &layerInputMap_;};
std::vector< LayerInputNode > layerInputMap_
std::vector<LayerMapNode>* L1TMuonOverlapParams::layerMap ( )
inline

Definition at line 157 of file L1TMuonOverlapParams.h.

References layerMap_.

157 { return &layerMap_;};
std::vector< LayerMapNode > layerMap_
Vector of structs representing definitions of measurement layers.
l1t::LUT* L1TMuonOverlapParams::meanDistPhiLUT ( )
inline

Definition at line 177 of file L1TMuonOverlapParams.h.

References MEANDISTPHI, and pnodes_.

177 { return &pnodes_[MEANDISTPHI].LUT_; }
std::vector< Node > pnodes_
vector of LUT like parameters
int L1TMuonOverlapParams::nGoldenPatterns ( )
inline
int L1TMuonOverlapParams::nHitsPerLayer ( )
inline
int L1TMuonOverlapParams::nInputs ( )
inline

Definition at line 134 of file L1TMuonOverlapParams.h.

References GENERAL, GENERAL_NINPUTS, and pnodes_.

int L1TMuonOverlapParams::nLayers ( )
inline

Definition at line 136 of file L1TMuonOverlapParams.h.

References GENERAL, GENERAL_NLAYERS, and pnodes_.

int L1TMuonOverlapParams::nLogicRegions ( )
inline
int L1TMuonOverlapParams::nPdfAddrBits ( )
inline

Access to specific general settings.

Definition at line 116 of file L1TMuonOverlapParams.h.

References GENERAL, GENERAL_ADDRBITS, and pnodes_.

int L1TMuonOverlapParams::nPdfValBits ( )
inline

Definition at line 118 of file L1TMuonOverlapParams.h.

References GENERAL, GENERAL_VALBITS, and pnodes_.

int L1TMuonOverlapParams::nPhiBins ( )
inline

Definition at line 124 of file L1TMuonOverlapParams.h.

References GENERAL, GENERAL_PHIBINS, and pnodes_.

int L1TMuonOverlapParams::nPhiBits ( )
inline

Definition at line 122 of file L1TMuonOverlapParams.h.

References GENERAL, GENERAL_PHIBITS, and pnodes_.

int L1TMuonOverlapParams::nProcessors ( )
inline

Definition at line 130 of file L1TMuonOverlapParams.h.

References GENERAL, GENERAL_NPROCESSORS, and pnodes_.

int L1TMuonOverlapParams::nRefHits ( )
inline

Definition at line 126 of file L1TMuonOverlapParams.h.

References GENERAL, GENERAL_NREFHITS, and pnodes_.

int L1TMuonOverlapParams::nRefLayers ( )
inline

Definition at line 138 of file L1TMuonOverlapParams.h.

References GENERAL, GENERAL_NREFLAYERS, and pnodes_.

int L1TMuonOverlapParams::nTestRefHits ( )
inline
l1t::LUT* L1TMuonOverlapParams::pdfLUT ( )
inline

Definition at line 176 of file L1TMuonOverlapParams.h.

References PDF, and pnodes_.

176 { return &pnodes_[PDF].LUT_; }
std::vector< Node > pnodes_
vector of LUT like parameters
l1t::LUT* L1TMuonOverlapParams::ptLUT ( )
inline

Definition at line 175 of file L1TMuonOverlapParams.h.

References pnodes_, and PT.

175 { return &pnodes_[PT].LUT_; }
std::vector< Node > pnodes_
vector of LUT like parameters
std::vector<RefHitNode>* L1TMuonOverlapParams::refHitMap ( )
inline

Definition at line 161 of file L1TMuonOverlapParams.h.

References refHitMap_.

161 {return &refHitMap_;};
std::vector< RefHitNode > refHitMap_
std::vector<RefLayerMapNode>* L1TMuonOverlapParams::refLayerMap ( )
inline

Definition at line 159 of file L1TMuonOverlapParams.h.

References refLayerMap_.

159 { return &refLayerMap_;};
std::vector< RefLayerMapNode > refLayerMap_
template<class Archive >
void L1TMuonOverlapParams::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void L1TMuonOverlapParams::setChargeLUT ( const l1t::LUT lut)
inline

Definition at line 179 of file L1TMuonOverlapParams.h.

References CHARGE, lumiPlot::lut, and pnodes_.

Referenced by L1TMuonOverlapParamsESProducer::readPatternsXML().

179 { pnodes_[CHARGE].type_ = "LUT"; pnodes_[CHARGE].LUT_ = lut; }
tuple lut
Definition: lumiPlot.py:244
std::vector< Node > pnodes_
vector of LUT like parameters
void L1TMuonOverlapParams::setConnectedSectorsEnd ( const std::vector< int > &  aVector)
inline

Definition at line 155 of file L1TMuonOverlapParams.h.

References pnodes_, and SECTORS_END.

Referenced by XMLConfigReader::readConfig().

155 {pnodes_[SECTORS_END].type_ = "INT"; pnodes_[SECTORS_END].iparams_ = aVector;};
std::vector< Node > pnodes_
vector of LUT like parameters
void L1TMuonOverlapParams::setConnectedSectorsStart ( const std::vector< int > &  aVector)
inline

Definition at line 153 of file L1TMuonOverlapParams.h.

References pnodes_, and SECTORS_START.

Referenced by XMLConfigReader::readConfig().

153 {pnodes_[SECTORS_START].type_ = "INT"; pnodes_[SECTORS_START].iparams_ = aVector;};
std::vector< Node > pnodes_
vector of LUT like parameters
void L1TMuonOverlapParams::setEtaLUT ( const l1t::LUT lut)
inline

Definition at line 180 of file L1TMuonOverlapParams.h.

References ETA, lumiPlot::lut, and pnodes_.

Referenced by L1TMuonOverlapParamsESProducer::readPatternsXML().

180 { pnodes_[ETA].type_ = "LUT"; pnodes_[ETA].LUT_ = lut; }
tuple lut
Definition: lumiPlot.py:244
std::vector< Node > pnodes_
vector of LUT like parameters
void L1TMuonOverlapParams::setFwVersion ( unsigned  fwVersion)
inline

Definition at line 109 of file L1TMuonOverlapParams.h.

References fwVersion(), and fwVersion_.

Referenced by XMLConfigReader::readConfig().

109 { fwVersion_ = fwVersion; }
unsigned fwVersion() const
unsigned fwVersion_
Version of firmware configuration.
void L1TMuonOverlapParams::setGeneralParams ( const std::vector< int > &  paramsVec)
inline

Definition at line 113 of file L1TMuonOverlapParams.h.

References GENERAL, and pnodes_.

Referenced by XMLConfigReader::readConfig().

113 { pnodes_[GENERAL].type_ = "INT"; pnodes_[GENERAL].iparams_ = paramsVec;}
std::vector< Node > pnodes_
vector of LUT like parameters
void L1TMuonOverlapParams::setGlobalPhiStartMap ( const std::vector< int > &  aVector)
inline

Definition at line 149 of file L1TMuonOverlapParams.h.

References globalPhiStart_.

Referenced by XMLConfigReader::readConfig().

149 {globalPhiStart_ = aVector;};
std::vector< int > globalPhiStart_
void L1TMuonOverlapParams::setLayerInputMap ( const std::vector< LayerInputNode > &  aVector)
inline

Definition at line 151 of file L1TMuonOverlapParams.h.

References layerInputMap_.

Referenced by XMLConfigReader::readConfig().

151 {layerInputMap_ = aVector;};
std::vector< LayerInputNode > layerInputMap_
void L1TMuonOverlapParams::setLayerMap ( const std::vector< LayerMapNode > &  aVector)
inline

Connections definitions.

Definition at line 143 of file L1TMuonOverlapParams.h.

References layerMap_.

Referenced by XMLConfigReader::readConfig().

143 { layerMap_ = aVector;}
std::vector< LayerMapNode > layerMap_
Vector of structs representing definitions of measurement layers.
void L1TMuonOverlapParams::setMeanDistPhiLUT ( const l1t::LUT lut)
inline

Definition at line 183 of file L1TMuonOverlapParams.h.

References lumiPlot::lut, MEANDISTPHI, and pnodes_.

Referenced by L1TMuonOverlapParamsESProducer::readPatternsXML().

183 { pnodes_[MEANDISTPHI].type_ = "LUT"; pnodes_[MEANDISTPHI].LUT_ = lut; }
tuple lut
Definition: lumiPlot.py:244
std::vector< Node > pnodes_
vector of LUT like parameters
void L1TMuonOverlapParams::setPdfLUT ( const l1t::LUT lut)
inline

Definition at line 182 of file L1TMuonOverlapParams.h.

References lumiPlot::lut, PDF, and pnodes_.

Referenced by L1TMuonOverlapParamsESProducer::readPatternsXML().

182 { pnodes_[PDF].type_ = "LUT"; pnodes_[PDF].LUT_ = lut; }
tuple lut
Definition: lumiPlot.py:244
std::vector< Node > pnodes_
vector of LUT like parameters
void L1TMuonOverlapParams::setPtLUT ( const l1t::LUT lut)
inline

Definition at line 181 of file L1TMuonOverlapParams.h.

References lumiPlot::lut, pnodes_, and PT.

Referenced by L1TMuonOverlapParamsESProducer::readPatternsXML().

181 { pnodes_[PT].type_ = "LUT"; pnodes_[PT].LUT_ = lut; }
tuple lut
Definition: lumiPlot.py:244
std::vector< Node > pnodes_
vector of LUT like parameters
void L1TMuonOverlapParams::setRefHitMap ( const std::vector< RefHitNode > &  aVector)
inline

Definition at line 147 of file L1TMuonOverlapParams.h.

References refHitMap_.

Referenced by XMLConfigReader::readConfig().

147 {refHitMap_ = aVector;};
std::vector< RefHitNode > refHitMap_
void L1TMuonOverlapParams::setRefLayerMap ( const std::vector< RefLayerMapNode > &  aVector)
inline

Definition at line 145 of file L1TMuonOverlapParams.h.

References refLayerMap_.

Referenced by XMLConfigReader::readConfig().

145 { refLayerMap_ = aVector;}
std::vector< RefLayerMapNode > refLayerMap_

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 215 of file L1TMuonOverlapParams.h.

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

Definition at line 215 of file L1TMuonOverlapParams.h.

Member Data Documentation

unsigned L1TMuonOverlapParams::fwVersion_
private

Version of firmware configuration.

Definition at line 189 of file L1TMuonOverlapParams.h.

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

std::vector<int> L1TMuonOverlapParams::globalPhiStart_
private

Vector of global phi of processor beggining in each reference layer. All processors are serialized in a single vector.

Definition at line 208 of file L1TMuonOverlapParams.h.

Referenced by globalPhiStartMap(), and setGlobalPhiStartMap().

std::vector<LayerInputNode> L1TMuonOverlapParams::layerInputMap_
private

Vector of all definitions of input ranges for given logic region. All processors and all regions are serialized in a single vector.

Definition at line 213 of file L1TMuonOverlapParams.h.

Referenced by layerInputMap(), and setLayerInputMap().

std::vector<LayerMapNode> L1TMuonOverlapParams::layerMap_
private

Vector of structs representing definitions of measurement layers.

Definition at line 195 of file L1TMuonOverlapParams.h.

Referenced by layerMap(), and setLayerMap().

std::vector<Node> L1TMuonOverlapParams::pnodes_
private
std::vector<RefHitNode> L1TMuonOverlapParams::refHitMap_
private

Vector of RefHitNode defining assignenemt of reference hits to logical regions. definitions for all processor are serialized in a single vector.

Definition at line 204 of file L1TMuonOverlapParams.h.

Referenced by refHitMap(), and setRefHitMap().

std::vector<RefLayerMapNode> L1TMuonOverlapParams::refLayerMap_
private

Vector of structs representing definitins of reference layers in terms of logic measurement layers numbers.

Definition at line 199 of file L1TMuonOverlapParams.h.

Referenced by refLayerMap(), and setRefLayerMap().