Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4ScintillatorSlatDefs Namespace Reference

Typedefs

typedef unsigned int keytype
 

Functions

keytype genkey (const short irow, const short icolumn)
 
std::pair< short, short > getrowcol (const keytype key)
 

Variables

static int columnbits = 16
 
static int rowbits = 32 - columnbits
 

Typedef Documentation

typedef unsigned int PHG4ScintillatorSlatDefs::keytype

Definition at line 10 of file PHG4ScintillatorSlatDefs.h.

View newest version in sPHENIX GitHub at line 10 of file PHG4ScintillatorSlatDefs.h

Function Documentation

PHG4ScintillatorSlatDefs::keytype PHG4ScintillatorSlatDefs::genkey ( const short  irow,
const short  icolumn 
)

Definition at line 4 of file PHG4ScintillatorSlatDefs.cc.

View newest version in sPHENIX GitHub at line 4 of file PHG4ScintillatorSlatDefs.cc

References columnbits.

Referenced by PHG4Prototype2HcalCellReco::process_event().

+ Here is the caller graph for this function:

std::pair< short, short > PHG4ScintillatorSlatDefs::getrowcol ( const keytype  key)

Definition at line 13 of file PHG4ScintillatorSlatDefs.cc.

View newest version in sPHENIX GitHub at line 13 of file PHG4ScintillatorSlatDefs.cc

References columnbits.

Variable Documentation

int PHG4ScintillatorSlatDefs::columnbits = 16
static

Definition at line 11 of file PHG4ScintillatorSlatDefs.h.

View newest version in sPHENIX GitHub at line 11 of file PHG4ScintillatorSlatDefs.h

Referenced by genkey(), getrowcol(), and PHG4ScintillatorSlatContainer::getScintillatorSlats().

int PHG4ScintillatorSlatDefs::rowbits = 32 - columnbits
static

Definition at line 14 of file PHG4ScintillatorSlatDefs.h.

View newest version in sPHENIX GitHub at line 14 of file PHG4ScintillatorSlatDefs.h