CMS 3D CMS Logo

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::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)) {}

Member Function Documentation

◆ fitsRange()

bool RefHitDef::fitsRange ( int  iPhi) const

Definition at line 20 of file OMTFConfiguration.cc.

20 { return iPhi >= range.first && iPhi <= range.second; }

References range.

Friends And Related Function Documentation

◆ operator<<

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 }

Member Data Documentation

◆ iInput

unsigned int RefHitDef::iInput

Hit input number within a cone.

Definition at line 29 of file OMTFConfiguration.h.

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

◆ iRefLayer

unsigned int RefHitDef::iRefLayer

Reference layer logic number (0-7)

Definition at line 35 of file OMTFConfiguration.h.

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

◆ iRegion

unsigned int RefHitDef::iRegion

Region number assigned to this referecne hit.

Definition at line 32 of file OMTFConfiguration.h.

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

◆ range

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<<().

RefHitDef::iInput
unsigned int iInput
Hit input number within a cone.
Definition: OMTFConfiguration.h:29
RefHitDef::range
std::pair< int, int > range
Definition: OMTFConfiguration.h:39
RefHitDef::iRefLayer
unsigned int iRefLayer
Reference layer logic number (0-7)
Definition: OMTFConfiguration.h:35
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
RefHitDef::iRegion
unsigned int iRegion
Region number assigned to this referecne hit.
Definition: OMTFConfiguration.h:32