test
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 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.

19  :
20  iInput(aInput),
21  iRegion(aRegion),
22  iRefLayer(aRefLayer),
23  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 26 of file OMTFConfiguration.cc.

References range.

26  {
27 
28  return iPhi>=range.first &&
29  iPhi<range.second;
30 
31 }
std::pair< int, int > range

Friends And Related Function Documentation

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

Definition at line 34 of file OMTFConfiguration.cc.

34  {
35 
36 
37  out<<"iRefLayer: "<<aRefHitDef.iRefLayer
38  <<" iInput: "<<aRefHitDef.iInput
39  <<" iRegion: "<<aRefHitDef.iRegion
40  <<" range: ("<<aRefHitDef.range.first
41  <<", "<<aRefHitDef.range.second<<std::endl;
42 
43  return out;
44 }
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 33 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 39 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 36 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 43 of file OMTFConfiguration.h.

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