Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PHG4HitDefs Namespace Reference

Typedefs

typedef unsigned int keytype
 

Functions

int get_volume_id (const std::string &nodename)
 

Variables

static const unsigned int keybits = 16
 
static const unsigned int hit_idbits = sizeof(keytype)*8-keybits
 
static const keytype detid_mask = 0xffff0000
 
static const keytype hitid_mask = 0x0000ffff
 

Typedef Documentation

typedef unsigned int PHG4HitDefs::keytype

Definition at line 8 of file PHG4HitDefs.h.

Function Documentation

int PHG4HitDefs::get_volume_id ( const std::string &  nodename)

convert PHG4HitContainer node names in to ID number for the container. used in indexing volume ID in PHG4Shower

Definition at line 9 of file PHG4HitDefs.cc.

Variable Documentation

const keytype PHG4HitDefs::detid_mask = 0xffff0000
static

Definition at line 11 of file PHG4HitDefs.h.

Referenced by PHG4HitContainer::registerHitOnLayer().

const unsigned int PHG4HitDefs::hit_idbits = sizeof(keytype)*8-keybits
static
const keytype PHG4HitDefs::hitid_mask = 0x0000ffff
static

Definition at line 12 of file PHG4HitDefs.h.

Referenced by PHG4HitContainer::registerHitOnLayer().

const unsigned int PHG4HitDefs::keybits = 16
static

Definition at line 9 of file PHG4HitDefs.h.

Referenced by PHG4HitContainer::genkey(), and PHG4HitContainer::getHits().