CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 25 of file PTrajectoryStateOnDet.h.

Constructor & Destructor Documentation

PTrajectoryStateOnDet::Pack::Pack ( )
inline

Definition at line 26 of file PTrajectoryStateOnDet.h.

26 {}
PTrajectoryStateOnDet::Pack::Pack ( unsigned int  pack)
inline

Definition at line 27 of file PTrajectoryStateOnDet.h.

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

Member Function Documentation

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

Definition at line 34 of file PTrajectoryStateOnDet.h.

References PTrajectoryStateOnDet::idMask, and packed.

34 { return packed&idMask;}
static const unsigned int idMask
int PTrajectoryStateOnDet::Pack::side ( ) const
inline

Member Data Documentation

Packing PTrajectoryStateOnDet::Pack::bytes

Definition at line 36 of file PTrajectoryStateOnDet.h.

Referenced by Pack(), and side().

DetPack PTrajectoryStateOnDet::Pack::det

Definition at line 37 of file PTrajectoryStateOnDet.h.

unsigned int PTrajectoryStateOnDet::Pack::packed

Definition at line 35 of file PTrajectoryStateOnDet.h.

Referenced by id(), and PTrajectoryStateOnDet::PTrajectoryStateOnDet().