Project
Loading...
Searching...
No Matches
o2::tpc::CRU Class Reference

#include <CRU.h>

Public Types

enum  { CRUperPartition = 2 , CRUperIROC = 4 , CRUperSector = 10 , MaxCRU = 360 }
 

Public Member Functions

 CRU ()=default
 
 CRU (unsigned short cru)
 
 CRU (const CRU &cru)
 
 CRU (const Sector &sec, const unsigned char regionNum)
 
CRUoperator= (const CRU &other)
 
CRUoperator= (const unsigned short cru)
 
bool operator== (const CRU &other) const
 
bool operator!= (const CRU &other) const
 
bool operator< (const CRU &other) const
 
bool operator++ ()
 
unsigned short number () const
 
const ROC roc () const
 
Side side () const
 
unsigned char partition () const
 
unsigned char region () const
 
const Sector sector () const
 
RocType rocType () const
 
bool isIROC () const
 
bool isOROC () const
 
GEMstack gemStack () const
 
 operator int () const
 
bool looped () const
 

Detailed Description

Definition at line 25 of file CRU.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
CRUperPartition 
CRUperIROC 
CRUperSector 
MaxCRU 

Definition at line 28 of file CRU.h.

Constructor & Destructor Documentation

◆ CRU() [1/4]

o2::tpc::CRU::CRU ( )
default

◆ CRU() [2/4]

o2::tpc::CRU::CRU ( unsigned short  cru)
inline

Definition at line 33 of file CRU.h.

◆ CRU() [3/4]

o2::tpc::CRU::CRU ( const CRU cru)
inline

Definition at line 34 of file CRU.h.

◆ CRU() [4/4]

o2::tpc::CRU::CRU ( const Sector sec,
const unsigned char  regionNum 
)
inline

Definition at line 35 of file CRU.h.

Member Function Documentation

◆ gemStack()

GEMstack o2::tpc::CRU::gemStack ( ) const
inline

Definition at line 82 of file CRU.h.

◆ isIROC()

bool o2::tpc::CRU::isIROC ( ) const
inline

Definition at line 67 of file CRU.h.

◆ isOROC()

bool o2::tpc::CRU::isOROC ( ) const
inline

Definition at line 68 of file CRU.h.

◆ looped()

bool o2::tpc::CRU::looped ( ) const
inline

Definition at line 75 of file CRU.h.

◆ number()

unsigned short o2::tpc::CRU::number ( ) const
inline

Definition at line 60 of file CRU.h.

◆ operator int()

o2::tpc::CRU::operator int ( ) const
inline

int return operator to use similar as integer

Returns
cru number

Definition at line 73 of file CRU.h.

◆ operator!=()

bool o2::tpc::CRU::operator!= ( const CRU other) const
inline

Definition at line 51 of file CRU.h.

◆ operator++()

bool o2::tpc::CRU::operator++ ( )
inline

Definition at line 53 of file CRU.h.

◆ operator<()

bool o2::tpc::CRU::operator< ( const CRU other) const
inline

Definition at line 52 of file CRU.h.

◆ operator=() [1/2]

CRU & o2::tpc::CRU::operator= ( const CRU other)
inline

Definition at line 39 of file CRU.h.

◆ operator=() [2/2]

CRU & o2::tpc::CRU::operator= ( const unsigned short  cru)
inline

Definition at line 44 of file CRU.h.

◆ operator==()

bool o2::tpc::CRU::operator== ( const CRU other) const
inline

Definition at line 50 of file CRU.h.

◆ partition()

unsigned char o2::tpc::CRU::partition ( ) const
inline

Definition at line 63 of file CRU.h.

◆ region()

unsigned char o2::tpc::CRU::region ( ) const
inline

Definition at line 64 of file CRU.h.

◆ roc()

const ROC o2::tpc::CRU::roc ( ) const
inline

Definition at line 61 of file CRU.h.

◆ rocType()

RocType o2::tpc::CRU::rocType ( ) const
inline

Definition at line 66 of file CRU.h.

◆ sector()

const Sector o2::tpc::CRU::sector ( ) const
inline

Definition at line 65 of file CRU.h.

◆ side()

Side o2::tpc::CRU::side ( ) const
inline

Definition at line 62 of file CRU.h.


The documentation for this class was generated from the following file: