1 #ifndef PTrajectoryStateOnDet_H 2 #define PTrajectoryStateOnDet_H 18 unsigned int loc : 25;
19 unsigned char sub : 3;
20 unsigned char det : 4;
25 static const unsigned int idMask = 0x3fffffff;
31 assert(surfaceSide < 3);
32 assert((
id >> 28) < 4);
34 int side()
const {
return bytes.ss; }
35 unsigned int id()
const {
return packed &
idMask; }
46 Pack p(
id, surfaceSide);
54 Pack p(
id, surfaceSide);
56 for (
int i = 0;
i < 15;
i++)
Pack(unsigned int id, int surfaceSide)
PTrajectoryStateOnDet(const LocalTrajectoryParameters ¶m, float ipt, unsigned int id, int surfaceSide)
PTrajectoryStateOnDet(const LocalTrajectoryParameters ¶m, float ipt, float errmatrix[15], unsigned int id, int surfaceSide)
unsigned int detId() const
const LocalTrajectoryParameters & parameters() const
static const unsigned int idMask
LocalTrajectoryParameters theLocalParameters