CMS 3D CMS Logo

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

const l1t::LUTchargeLUT () const
 Golden Patterns definitions. More...
 
const std::vector< int > * connectedSectorsEnd () const
 
const std::vector< int > * connectedSectorsStart () const
 
const l1t::LUTetaLUT () const
 
unsigned fwVersion () const
 
const std::vector< int > * generalParams () const
 General definitions. More...
 
const std::vector< int > * globalPhiStartMap () const
 
 L1TMuonOverlapParams ()
 
const std::vector< LayerInputNode > * layerInputMap () const
 
const std::vector< LayerMapNode > * layerMap () const
 
const l1t::LUTmeanDistPhiLUT () const
 
int nGoldenPatterns () const
 
int nHitsPerLayer () const
 
int nInputs () const
 
int nLayers () const
 
int nLogicRegions () const
 
int nPdfAddrBits () const
 Access to specific general settings. More...
 
int nPdfValBits () const
 
int nPhiBins () const
 
int nPhiBits () const
 
int nProcessors () const
 
int nRefHits () const
 
int nRefLayers () const
 
int nTestRefHits () const
 
const l1t::LUTpdfLUT () const
 
const l1t::LUTptLUT () const
 
const std::vector< RefHitNode > * refHitMap () const
 
const std::vector< RefLayerMapNode > * refLayerMap () const
 
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 98 of file L1TMuonOverlapParams.h.

98 { 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 106 of file L1TMuonOverlapParams.h.

Constructor & Destructor Documentation

L1TMuonOverlapParams::L1TMuonOverlapParams ( )
inline

Definition at line 112 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 113 of file L1TMuonOverlapParams.h.

113 {}

Member Function Documentation

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

Golden Patterns definitions.

Definition at line 181 of file L1TMuonOverlapParams.h.

References CHARGE, and pnodes_.

Referenced by OMTFProcessor::configure().

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

Definition at line 177 of file L1TMuonOverlapParams.h.

References pnodes_, and SECTORS_END.

Referenced by OMTFConfiguration::configure().

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

Definition at line 175 of file L1TMuonOverlapParams.h.

References pnodes_, and SECTORS_START.

Referenced by OMTFConfiguration::configure().

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

Definition at line 182 of file L1TMuonOverlapParams.h.

References ETA, and pnodes_.

Referenced by OMTFProcessor::configure().

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

Definition at line 116 of file L1TMuonOverlapParams.h.

References fwVersion_.

Referenced by L1TMuonOverlapParamsESProducer::L1TMuonOverlapParamsESProducer(), and setFwVersion().

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

General definitions.

Definition at line 120 of file L1TMuonOverlapParams.h.

References GENERAL, and pnodes_.

Referenced by OMTFPatternMaker::beginRun(), and OMTFPatternMaker::endJob().

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

Definition at line 171 of file L1TMuonOverlapParams.h.

References globalPhiStart_.

Referenced by OMTFConfiguration::configure().

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

Definition at line 173 of file L1TMuonOverlapParams.h.

References layerInputMap_.

Referenced by OMTFConfiguration::configure().

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

Definition at line 165 of file L1TMuonOverlapParams.h.

References layerMap_.

Referenced by OMTFConfiguration::configure().

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

Definition at line 185 of file L1TMuonOverlapParams.h.

References MEANDISTPHI, and pnodes_.

Referenced by OMTFProcessor::configure().

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

Definition at line 142 of file L1TMuonOverlapParams.h.

References GENERAL, GENERAL_NINPUTS, and pnodes_.

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

Access to specific general settings.

Definition at line 124 of file L1TMuonOverlapParams.h.

References GENERAL, GENERAL_ADDRBITS, and pnodes_.

Referenced by OMTFPatternMaker::beginRun(), XMLConfigReader::buildGP(), and XMLConfigReader::readLUTs().

int L1TMuonOverlapParams::nPdfValBits ( ) const
inline

Definition at line 126 of file L1TMuonOverlapParams.h.

References GENERAL, GENERAL_VALBITS, and pnodes_.

int L1TMuonOverlapParams::nPhiBins ( ) const
inline

Definition at line 132 of file L1TMuonOverlapParams.h.

References GENERAL, GENERAL_PHIBINS, and pnodes_.

int L1TMuonOverlapParams::nPhiBits ( ) const
inline

Definition at line 130 of file L1TMuonOverlapParams.h.

References GENERAL, GENERAL_PHIBITS, and pnodes_.

int L1TMuonOverlapParams::nProcessors ( ) const
inline
int L1TMuonOverlapParams::nRefHits ( ) const
inline

Definition at line 134 of file L1TMuonOverlapParams.h.

References GENERAL, GENERAL_NREFHITS, and pnodes_.

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

Definition at line 184 of file L1TMuonOverlapParams.h.

References PDF, and pnodes_.

Referenced by OMTFProcessor::configure().

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

Definition at line 183 of file L1TMuonOverlapParams.h.

References pnodes_, and PT.

Referenced by OMTFProcessor::configure().

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

Definition at line 169 of file L1TMuonOverlapParams.h.

References refHitMap_.

Referenced by OMTFConfiguration::configure().

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

Definition at line 167 of file L1TMuonOverlapParams.h.

References refLayerMap_.

Referenced by OMTFConfiguration::configure().

167 { 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 187 of file L1TMuonOverlapParams.h.

References CHARGE, lumiPlot::lut, and pnodes_.

Referenced by L1TMuonOverlapParamsESProducer::readPatternsXML().

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

Definition at line 163 of file L1TMuonOverlapParams.h.

References pnodes_, and SECTORS_END.

Referenced by XMLConfigReader::readConfig().

163 {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 161 of file L1TMuonOverlapParams.h.

References pnodes_, and SECTORS_START.

Referenced by XMLConfigReader::readConfig().

161 {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 188 of file L1TMuonOverlapParams.h.

References ETA, lumiPlot::lut, and pnodes_.

Referenced by L1TMuonOverlapParamsESProducer::readPatternsXML().

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

Definition at line 117 of file L1TMuonOverlapParams.h.

References fwVersion(), and fwVersion_.

Referenced by L1TMuonOverlapParamsESProducer::L1TMuonOverlapParamsESProducer(), and XMLConfigReader::readConfig().

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

Definition at line 121 of file L1TMuonOverlapParams.h.

References GENERAL, and pnodes_.

Referenced by OMTFPatternMaker::beginRun(), OMTFPatternMaker::endJob(), and XMLConfigReader::readConfig().

121 { 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 157 of file L1TMuonOverlapParams.h.

References globalPhiStart_.

Referenced by XMLConfigReader::readConfig().

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

Definition at line 159 of file L1TMuonOverlapParams.h.

References layerInputMap_.

Referenced by XMLConfigReader::readConfig().

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

Connections definitions.

Definition at line 151 of file L1TMuonOverlapParams.h.

References layerMap_.

Referenced by XMLConfigReader::readConfig().

151 { 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 191 of file L1TMuonOverlapParams.h.

References lumiPlot::lut, MEANDISTPHI, and pnodes_.

Referenced by L1TMuonOverlapParamsESProducer::readPatternsXML().

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

Definition at line 190 of file L1TMuonOverlapParams.h.

References lumiPlot::lut, PDF, and pnodes_.

Referenced by L1TMuonOverlapParamsESProducer::readPatternsXML().

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

Definition at line 189 of file L1TMuonOverlapParams.h.

References lumiPlot::lut, pnodes_, and PT.

Referenced by L1TMuonOverlapParamsESProducer::readPatternsXML().

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

Definition at line 155 of file L1TMuonOverlapParams.h.

References refHitMap_.

Referenced by XMLConfigReader::readConfig().

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

Definition at line 153 of file L1TMuonOverlapParams.h.

References refLayerMap_.

Referenced by XMLConfigReader::readConfig().

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

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 223 of file L1TMuonOverlapParams.h.

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

Definition at line 223 of file L1TMuonOverlapParams.h.

Member Data Documentation

unsigned L1TMuonOverlapParams::fwVersion_
private

Version of firmware configuration.

Definition at line 197 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 216 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 221 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 203 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 212 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 207 of file L1TMuonOverlapParams.h.

Referenced by refLayerMap(), and setRefLayerMap().