CMS 3D CMS Logo

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

#include <OMTFConfiguration.h>

Public Member Functions

bool fitsRange (int iPhi) const
 
bool fitsRange (int iPhi) const
 
 RefHitDef (unsigned int aInput=15, int aPhiMin=5760, int aPhiMax=5760, unsigned int aRegion=99, unsigned int aRefLayer=99)
 
 RefHitDef (unsigned int aInput=15, int aPhiMin=5760, int aPhiMax=5760, unsigned int aRegion=99, unsigned int aRefLayer=99)
 

Public Attributes

unsigned int iInput
 Hit input number within a cone. More...
 
unsigned int iRefLayer
 Reference layer logic number (0-7) More...
 
unsigned int iRegion
 Region number assigned to this referecne hit. More...
 
std::pair< int, int > range
 

Friends

std::ostream & operator<< (std::ostream &out, const RefHitDef &aRefHitDef)
 
std::ostream & operator<< (std::ostream &out, const RefHitDef &aRefHitDef)
 

Detailed Description

Definition at line 16 of file OMTFConfiguration.h.

Constructor & Destructor Documentation

RefHitDef::RefHitDef ( unsigned int  aInput = 15,
int  aPhiMin = 5760,
int  aPhiMax = 5760,
unsigned int  aRegion = 99,
unsigned int  aRefLayer = 99 
)

Definition at line 16 of file OMTFConfiguration.cc.

17  : iInput(aInput), iRegion(aRegion), iRefLayer(aRefLayer), range(std::pair<int, int>(aPhiMin, aPhiMax)) {}
unsigned int iInput
Hit input number within a cone.
std::pair< int, int > range
unsigned int iRefLayer
Reference layer logic number (0-7)
unsigned int iRegion
Region number assigned to this referecne hit.
RefHitDef::RefHitDef ( unsigned int  aInput = 15,
int  aPhiMin = 5760,
int  aPhiMax = 5760,
unsigned int  aRegion = 99,
unsigned int  aRefLayer = 99 
)

Member Function Documentation

bool RefHitDef::fitsRange ( int  iPhi) const

Definition at line 20 of file OMTFConfiguration.cc.

References range.

20 { return iPhi >= range.first && iPhi <= range.second; }
std::pair< int, int > range
bool RefHitDef::fitsRange ( int  iPhi) const

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const RefHitDef aRefHitDef 
)
friend

Definition at line 23 of file OMTFConfiguration.cc.

23  {
24  out << "iRefLayer: " << aRefHitDef.iRefLayer << " iInput: " << aRefHitDef.iInput << " iRegion: " << aRefHitDef.iRegion
25  << " range: (" << aRefHitDef.range.first << ", " << aRefHitDef.range.second << std::endl;
26 
27  return out;
28 }
unsigned int iInput
Hit input number within a cone.
std::pair< int, int > range
unsigned int iRefLayer
Reference layer logic number (0-7)
unsigned int iRegion
Region number assigned to this referecne hit.
std::ostream& operator<< ( std::ostream &  out,
const RefHitDef aRefHitDef 
)
friend

Definition at line 23 of file OMTFConfiguration.cc.

23  {
24  out << "iRefLayer: " << aRefHitDef.iRefLayer << " iInput: " << aRefHitDef.iInput << " iRegion: " << aRefHitDef.iRegion
25  << " range: (" << aRefHitDef.range.first << ", " << aRefHitDef.range.second << std::endl;
26 
27  return out;
28 }
unsigned int iInput
Hit input number within a cone.
std::pair< int, int > range
unsigned int iRefLayer
Reference layer logic number (0-7)
unsigned int iRegion
Region number assigned to this referecne hit.

Member Data Documentation

unsigned int RefHitDef::iInput
unsigned int RefHitDef::iRefLayer

Reference layer logic number (0-7)

Definition at line 35 of file OMTFConfiguration.h.

Referenced by OMTFProcessor< GoldenPatternType >::fillCounts(), operator<<(), and OMTFProcessor< GoldenPatternType >::processInput().

unsigned int RefHitDef::iRegion

Region number assigned to this referecne hit.

Definition at line 32 of file OMTFConfiguration.h.

Referenced by OMTFProcessor< GoldenPatternType >::fillCounts(), operator<<(), and OMTFProcessor< GoldenPatternType >::processInput().

std::pair< int, int > RefHitDef::range

Local to processor phi range. Hit has to fit into this range to be assigned to this iRegion;

Definition at line 39 of file OMTFConfiguration.h.

Referenced by fitsRange(), and operator<<().