]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RAW/AliBitPacking.h
Add bkg subtraction (optional); change to LCH11h as default input set
[u/mrichter/AliRoot.git] / RAW / AliBitPacking.h
CommitLineData
3ea47630 1#ifndef ALIBITPACKING_H
2#define ALIBITPACKING_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8///////////////////////////////////////////////////////////////////////////////
9///
10/// This is a service class for packing and unpacking bits in a 32 bit word.
11///
12///////////////////////////////////////////////////////////////////////////////
13
14#include <TObject.h>
15
16
17class AliBitPacking: public TObject {
18 public :
19 static Bool_t PackWord(UInt_t data, UInt_t &word,
20 Int_t startBit, Int_t stopBit);
21 static UInt_t UnpackWord(UInt_t word, Int_t startBit, Int_t stopBit);
22
23 ClassDef(AliBitPacking, 0) // class for packing and unpacking bits
24};
25
26#endif