CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
PTrajectoryStateOnDet::Pack Union Reference

Public Member Functions

unsigned int id () const
 
 Pack ()
 
 Pack (unsigned int pack)
 
 Pack (unsigned int id, int surfaceSide)
 
int side () const
 

Public Attributes

Packing bytes
 
DetPack det
 
unsigned int packed
 

Detailed Description

Definition at line 26 of file PTrajectoryStateOnDet.h.

Constructor & Destructor Documentation

◆ Pack() [1/3]

PTrajectoryStateOnDet::Pack::Pack ( )
inline

Definition at line 27 of file PTrajectoryStateOnDet.h.

27 {}

◆ Pack() [2/3]

PTrajectoryStateOnDet::Pack::Pack ( unsigned int  pack)
inline

Definition at line 28 of file PTrajectoryStateOnDet.h.

28 : packed(pack) {}
def pack(high, low)

◆ Pack() [3/3]

PTrajectoryStateOnDet::Pack::Pack ( unsigned int  id,
int  surfaceSide 
)
inline

Member Function Documentation

◆ id()

unsigned int PTrajectoryStateOnDet::Pack::id ( ) const
inline

Definition at line 35 of file PTrajectoryStateOnDet.h.

References PTrajectoryStateOnDet::idMask, and packed.

35 { return packed & idMask; }
static const unsigned int idMask

◆ side()

int PTrajectoryStateOnDet::Pack::side ( ) const
inline

Member Data Documentation

◆ bytes

Packing PTrajectoryStateOnDet::Pack::bytes

Definition at line 37 of file PTrajectoryStateOnDet.h.

Referenced by Pack(), and side().

◆ det

DetPack PTrajectoryStateOnDet::Pack::det

Definition at line 38 of file PTrajectoryStateOnDet.h.

◆ packed

unsigned int PTrajectoryStateOnDet::Pack::packed

Definition at line 36 of file PTrajectoryStateOnDet.h.

Referenced by id().