4#include "DstEvent/DstTofTrack.h"
20 unsigned int value()
const {
return m_status; }
22 bool is_raw()
const {
return m_raw; }
28 unsigned int layer()
const {
return m_layer; }
31 unsigned int ncounter()
const {
return m_ncounter; }
32 unsigned int neast()
const {
return m_neast; }
33 unsigned int nwest()
const {
return m_nwest; }
35 static bool is_raw(
unsigned int status );
39 static bool is_barrel(
unsigned int status );
40 static bool is_east(
unsigned int status );
41 static unsigned int layer(
unsigned int status );
44 static unsigned int ncounter(
unsigned int status );
45 static unsigned int neast(
unsigned int status );
46 static unsigned int nwest(
unsigned int status );
47 static unsigned int part(
unsigned int status );
75 unsigned int m_status;
85 unsigned int m_ncounter;
89 static const unsigned int Raw_Index = 0;
90 static const unsigned int Raw_Mask = 0x00000001;
91 static const unsigned int Readout_Index = 1;
92 static const unsigned int Readout_Mask = 0x00000002;
93 static const unsigned int Counter_Index = 2;
94 static const unsigned int Counter_Mask = 0x00000004;
95 static const unsigned int Cluster_Index = 3;
96 static const unsigned int Cluster_Mask = 0x00000008;
97 static const unsigned int Barrel_Index = 4;
98 static const unsigned int Barrel_Mask = 0x00000010;
99 static const unsigned int East_Index = 5;
100 static const unsigned int East_Mask = 0x00000020;
101 static const unsigned int Layer_Index = 6;
102 static const unsigned int Layer_Mask = 0x000000C0;
103 static const unsigned int Overflow_Index = 8;
104 static const unsigned int Overflow_Mask = 0x00000100;
105 static const unsigned int Multihit_Index = 9;
106 static const unsigned int Multihit_Mask = 0x00000200;
107 static const unsigned int Ncounter_Index = 12;
108 static const unsigned int Ncounter_Mask = 0x0000F000;
109 static const unsigned int Neast_Index = 16;
110 static const unsigned int Neast_Mask = 0x000F0000;
111 static const unsigned int Nwest_Index = 20;
112 static const unsigned int Nwest_Mask = 0x00F00000;
113 static const unsigned int N_Mask = 0x0000000F;
unsigned int ncounter() const
unsigned int layer() const
unsigned int value() const
static unsigned int part(unsigned int status)
void setBarrelReadout(unsigned int layer, bool east)
void setStatus(unsigned int status)
void setNWest(unsigned int nwest)
void setLayer(unsigned int layer)
void setCounter(bool counter)
void setMultihit(bool multihit)
void setBarrel(bool barrel)
unsigned int nwest() const
void setBarrelRaw(unsigned int layer, bool east)
void setCluster(bool cluster)
void setOverflow(bool overflow)
unsigned int neast() const
void setNCounter(unsigned int ncounter)
void setEndcapRaw(bool east)
void setEndcapCluster(bool east)
void setNEast(unsigned int neast)
void setBarrelCounter(unsigned int layer)
TofHitStatus & operator=(const DstTofTrack &source)
void setBarrelCluster(unsigned int layer)
void setReadout(bool readout)