CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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
 
 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)
 

Detailed Description

Definition at line 17 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 56 of file OMTFConfiguration.cc.

59  :
60  iInput(aInput),
61  iRegion(aRegion),
62  iRefLayer(aRefLayer),
63  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.

Member Function Documentation

bool RefHitDef::fitsRange ( int  iPhi) const

Definition at line 66 of file OMTFConfiguration.cc.

References range.

66  {
67 
68  return iPhi>=range.first &&
69  iPhi<range.second;
70 
71 }
std::pair< int, int > range

Friends And Related Function Documentation

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

Definition at line 74 of file OMTFConfiguration.cc.

74  {
75 
76 
77  out<<"iRefLayer: "<<aRefHitDef.iRefLayer
78  <<" iInput: "<<aRefHitDef.iInput
79  <<" iRegion: "<<aRefHitDef.iRegion
80  <<" range: ("<<aRefHitDef.range.first
81  <<", "<<aRefHitDef.range.second<<std::endl;
82 
83  return out;
84 }
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

Hit input number within a cone.

Definition at line 34 of file OMTFConfiguration.h.

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

unsigned int RefHitDef::iRefLayer

Reference layer logic number (0-7)

Definition at line 40 of file OMTFConfiguration.h.

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

unsigned int RefHitDef::iRegion

Region number assigned to this referecne hit.

Definition at line 37 of file OMTFConfiguration.h.

Referenced by OMTFProcessor::fillCounts(), operator<<(), and OMTFProcessor::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 44 of file OMTFConfiguration.h.

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