]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/CALO/AliHLTCaloCrazynessDefinitions.h
Bug fix: AliHLTTPCRawSpacePointContainer
[u/mrichter/AliRoot.git] / HLT / CALO / AliHLTCaloCrazynessDefinitions.h
1 #ifndef ALIHLTCALOCRAZYDEFINITIONS_H
2 #define ALIHLTCALOCRAZYDEFINITIONS_H
3
4 /**************************************************************************
5  * This file is property of and copyright by the ALICE HLT Project        *
6  * All rights reserved.                                                   *
7  *                                                                        *
8  * Primary Authors: Oystein Djuvsland                                     *
9  *                                                                        *
10  * Permission to use, copy, modify and distribute this software and its   *
11  * documentation strictly for non-commercial purposes is hereby granted   *
12  * without fee, provided that the above copyright notice appears in all   *
13  * copies and that both the copyright notice and this permission notice   *
14  * appear in the supporting documentation. The authors make no claims     *
15  * about the suitability of this software for any purpose. It is          *
16  * provided "as is" without express or implied warranty.                  *
17  **************************************************************************/
18
19 /**
20  * @file   AliHLTCaloCrazynessDefinitions.h
21  * @author Oystein Djuvsland
22  * @date
23  * @brief  Defines the crazyness variable
24  */
25
26 // see header file for class documentation
27 // or
28 // refer to README to build package
29 // or
30 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
31
32
33 #include "Rtypes.h"
34
35 class AliHLTCaloCrazynessDefinitions
36   {
37
38   public:
39
40     /** Always set if crazy */
41     static const Short_t fgkCrazyBit   = 0x0001;
42
43     /** Specifies if raw data is included */
44     static const Short_t fgkRawDataBit = 0x8000;
45
46     /**
47      * These bits are not taken at the moment,
48      * feel free to take one!
49      */
50     static const Short_t fkDummyBits  =
51       0x4000 |
52       0x2000 |
53       0x1000 |
54       0x0800 |
55       0x0400 |
56       0x0200 |
57       0x0100 |
58       0x0080 |
59       0x0040 |
60       0x0020 ;
61
62     /** If the channel is completely crazy */
63     static const Short_t fgkBadShitBit = 0x0010|fgkCrazyBit;
64
65     /** If the channel has been healed from crazyness */
66     static const Short_t fgkHealedBit  = 0x0008|fgkCrazyBit;
67
68     /** If the crazyness is due to a spike */
69     static const Short_t fgkSpikeBit   = 0x0004|fgkCrazyBit;
70
71     /** If the crazyness is due to a bad E/T estimate */
72     static const Short_t fgkBadEstBit  = 0x0002|fgkCrazyBit;
73
74
75   };
76
77 #endif