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; }
36 static bool is_raw(
unsigned int status );
40 static bool is_barrel(
unsigned int status );
41 static bool is_east(
unsigned int status );
42 static unsigned int layer(
unsigned int status );
45 static unsigned int ncounter(
unsigned int status );
46 static unsigned int neast(
unsigned int status );
47 static unsigned int nwest(
unsigned int status );
48 static unsigned int part(
unsigned int status );
49 static bool is_mrpc(
unsigned int status );
80 unsigned int m_status;
90 unsigned int m_ncounter;
95 static const unsigned int Raw_Index = 0;
96 static const unsigned int Raw_Mask = 0x00000001;
97 static const unsigned int Readout_Index = 1;
98 static const unsigned int Readout_Mask = 0x00000002;
99 static const unsigned int Counter_Index = 2;
100 static const unsigned int Counter_Mask = 0x00000004;
101 static const unsigned int Cluster_Index = 3;
102 static const unsigned int Cluster_Mask = 0x00000008;
103 static const unsigned int Barrel_Index = 4;
104 static const unsigned int Barrel_Mask = 0x00000010;
105 static const unsigned int East_Index = 5;
106 static const unsigned int East_Mask = 0x00000020;
107 static const unsigned int Layer_Index = 6;
108 static const unsigned int Layer_Mask = 0x000000C0;
109 static const unsigned int Overflow_Index = 8;
110 static const unsigned int Overflow_Mask = 0x00000100;
111 static const unsigned int Multihit_Index = 9;
112 static const unsigned int Multihit_Mask = 0x00000200;
113 static const unsigned int Ncounter_Index = 12;
114 static const unsigned int Ncounter_Mask = 0x0000F000;
115 static const unsigned int Neast_Index = 16;
116 static const unsigned int Neast_Mask = 0x000F0000;
117 static const unsigned int Nwest_Index = 20;
118 static const unsigned int Nwest_Mask = 0x00F00000;
119 static const unsigned int N_Mask = 0x0000000F;
120 static const unsigned int MRPC_Index = 24;
121 static const unsigned int MRPC_Mask = 0x01000000;
122 static const unsigned int N_MRPC = 0x00000001;
void setMRPCReadout(bool east)
unsigned int ncounter() const
unsigned int layer() const
unsigned int value() const
static unsigned int part(unsigned int status)
void setMRPCCluster(bool cluster, bool east)
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)