]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFTDCPackedHit.h
Coverity fixes
[u/mrichter/AliRoot.git] / TOF / AliTOFTDCPackedHit.h
index 462b5a9f039e11e961c7cb728c3c66639c0fae7b..8215b373e068a1b66f3ce73f745097fce5af7600 100644 (file)
 class AliTOFTDCPackedHit
 {
  public:
-  UInt_t GetHitTime() {return fHitTime;};
-  UInt_t GetTOTWidth() {return fTOTWidth;};
-  UInt_t GetChan() {return fChan;};
-  UInt_t GetTDCID() {return fTDCID;};
-  UInt_t GetEBit() {return fEBit;};
-  UInt_t GetPSBits() {return fPSBits;};
-  UInt_t GetMBO() {return fMBO;};
+  UInt_t GetHitTime() const {return fHitTime;};
+  UInt_t GetTOTWidth() const {return fTOTWidth;};
+  UInt_t GetChan() const {return fChan;};
+  UInt_t GetTDCID() const {return fTDCID;};
+  UInt_t GetEBit() const {return fEBit;};
+  UInt_t GetPSBits() const {return fPSBits;};
+  UInt_t GetMBO() const {return fMBO;};
  private:
-  UInt_t fHitTime:  13;
-  UInt_t fTOTWidth: 8;
-  UInt_t fChan:     3;
-  UInt_t fTDCID:    4;
-  UInt_t fEBit:     1;
-  UInt_t fPSBits:   2;
-  UInt_t fMBO:      1;
+  UInt_t fHitTime:  13; // time-of-flight measurement
+  UInt_t fTOTWidth:  8; // time-over-threshold measurement
+  UInt_t fChan:      3; // TDC channel number
+  UInt_t fTDCID:     4; // TDC ID
+  UInt_t fEBit:      1; // E bit
+  UInt_t fPSBits:    2; // PS bits
+  UInt_t fMBO:       1; // must-be-zero bits
 };
 
 #endif