1 #ifndef PTrajectoryStateOnDet_H 2 #define PTrajectoryStateOnDet_H 18 unsigned int loc : 25;
19 unsigned char sub : 3;
20 unsigned char det : 4;
24 static const unsigned int idMask = 0x3fffffff;
30 assert(surfaceSide<3);
33 int side()
const {
return bytes.ss;}
34 unsigned int id()
const {
return packed&
idMask;}
50 Pack p(
id, surfaceSide);
56 float errmatrix[15],
unsigned int id,
60 Pack p(
id, surfaceSide);
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