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

Pad and row inside a ROC. More...

#include <PadROCPos.h>

Public Member Functions

 PadROCPos ()=default
 default constructor
 
 PadROCPos (const int roc, const int rowInROC, const int padInRow)
 
 PadROCPos (const ROC &roc, const PadPos &padPosition)
 
const ROC & getROC () const
 
const Sector getSector () const
 
ROC & getROC ()
 
RocType getROCType () const
 
const PadPos & getPadPos () const
 
int getRow () const
 
int getPad () const
 
PadPos & getPadPos ()
 
bool isValid () const
 
bool operator== (const PadROCPos &other) const
 equal operator
 
bool operator< (const PadROCPos &other) const
 smaller operator
 

Detailed Description

Pad and row inside a ROC.

This class encapsulates the pad and row inside a ROC

See also
TPCBase/PadPos.h
TPCBase/ROC.h

origin: TPC

Author
Jens Wiechula, Jens..nosp@m.Wiec.nosp@m.hula@.nosp@m.ikf..nosp@m.uni-f.nosp@m.rank.nosp@m.furt..nosp@m.de

Definition at line 36 of file PadROCPos.h.

Constructor & Destructor Documentation

◆ PadROCPos() [1/3]

o2::tpc::PadROCPos::PadROCPos ( )
default

default constructor

◆ PadROCPos() [2/3]

o2::tpc::PadROCPos::PadROCPos ( const int  roc,
const int  rowInROC,
const int  padInRow 
)
inline

constructor from roc, row and pad

Parameters
rocROC number
rowInROCrow in the readout chamber
padInRowpad in row

Definition at line 46 of file PadROCPos.h.

◆ PadROCPos() [3/3]

o2::tpc::PadROCPos::PadROCPos ( const ROC &  roc,
const PadPos &  padPosition 
)
inline

constructor from ROC and PadPos types

Parameters
rocROC type
padPositionrow and pad

Definition at line 51 of file PadROCPos.h.

Member Function Documentation

◆ getPad()

int o2::tpc::PadROCPos::getPad ( ) const
inline

get the pad number

Returns
pad number

Definition at line 79 of file PadROCPos.h.

◆ getPadPos() [1/2]

PadPos & o2::tpc::PadROCPos::getPadPos ( )
inline

Definition at line 81 of file PadROCPos.h.

◆ getPadPos() [2/2]

const PadPos & o2::tpc::PadROCPos::getPadPos ( ) const
inline

get pad and row position

Returns
pad and row position

Definition at line 71 of file PadROCPos.h.

◆ getROC() [1/2]

ROC & o2::tpc::PadROCPos::getROC ( )
inline

get ROC

Returns
ROC

Definition at line 63 of file PadROCPos.h.

◆ getROC() [2/2]

const ROC & o2::tpc::PadROCPos::getROC ( ) const
inline

get ROC

Returns
ROC

Definition at line 55 of file PadROCPos.h.

◆ getROCType()

RocType o2::tpc::PadROCPos::getROCType ( ) const
inline

get ROC type

Returns
ROC type

Definition at line 67 of file PadROCPos.h.

◆ getRow()

int o2::tpc::PadROCPos::getRow ( ) const
inline

get the pad row

Returns
pad row

Definition at line 75 of file PadROCPos.h.

◆ getSector()

const Sector o2::tpc::PadROCPos::getSector ( ) const
inline

get the sector

Returns
sector

Definition at line 59 of file PadROCPos.h.

◆ isValid()

bool o2::tpc::PadROCPos::isValid ( ) const
inline

check if is valid

Returns
pad valid

Definition at line 85 of file PadROCPos.h.

◆ operator<()

bool o2::tpc::PadROCPos::operator< ( const PadROCPos &  other) const
inline

smaller operator

Definition at line 91 of file PadROCPos.h.

◆ operator==()

bool o2::tpc::PadROCPos::operator== ( const PadROCPos &  other) const
inline

equal operator

Definition at line 88 of file PadROCPos.h.


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