1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvspamela/yoda/event/physics/calorimeter/CalorimeterEvent.h,v $ |
* $Source: /home/cvsmanager/yoda/event/physics/calorimeter/CalorimeterEvent.h,v $ |
3 |
* $Id: CalorimeterEvent.h,v 1.6 2004/03/16 10:18:28 nagni Exp $ |
* $Id: CalorimeterEvent.h,v 2.6 2005/01/17 08:58:57 kusanagi Exp $ |
4 |
* $Author: nagni $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Header file for the raw calorimeter events |
* Header file for the raw calorimeter events |
7 |
*/ |
*/ |
8 |
#ifndef CALORIMETER_EVENT_H |
#ifndef CALORIMETER_EVENT_H |
9 |
#define CALORIMETER_EVENT_H |
#define CALORIMETER_EVENT_H |
10 |
|
|
|
#include <exception> |
|
|
|
|
|
#include <TObject.h> |
|
|
|
|
11 |
#include "event/SubPacket.h" |
#include "event/SubPacket.h" |
12 |
|
|
13 |
namespace pamela { |
namespace pamela { |
16 |
*/ |
*/ |
17 |
namespace calorimeter { |
namespace calorimeter { |
18 |
/** |
/** |
19 |
* Raw calorimeter data. |
* Techmodel calorimeter data. |
20 |
*/ |
*/ |
21 |
class CalorimeterEvent: public pamela::SubPacket { |
class CalorimeterEvent: public pamela::SubPacket { |
22 |
private: |
private: |
23 |
Short_t SelfTrig[6]; |
|
|
Short_t Coincidence; |
|
|
Int_t NValue; |
|
|
Short_t* Value; //[NValue] |
|
24 |
public: |
public: |
25 |
CalorimeterEvent(void); |
CalorimeterEvent(void); |
26 |
~CalorimeterEvent(void); |
~CalorimeterEvent(void); |
27 |
const short* GetSelfTrig(void) const { return SelfTrig; } |
int iev; |
28 |
short GetCoincidence(void) const { return Coincidence; } |
int stwerr[4]; |
29 |
int GetNValue(void) const { return NValue; } |
float perror[4]; |
30 |
const short* GetValue(void) const { return Value; } |
float dexy[2][22][96]; |
31 |
void Set(int nvalue, short* value); |
float dexyc[2][22][96]; |
32 |
// ... and the setters ... |
float base[2][22][6]; |
33 |
ClassDef(CalorimeterEvent, 1) |
float calselftrig[4][7]; |
34 |
|
float calIItrig[4]; |
35 |
|
float calstriphit[4]; |
36 |
|
float calDSPtaberr[4]; |
37 |
|
float calevnum[4]; |
38 |
|
/* |
39 |
|
* unpackError = |
40 |
|
* |
41 |
|
*/ |
42 |
|
UINT8 unpackError; |
43 |
|
ClassDef(CalorimeterEvent, 2) |
44 |
}; |
}; |
45 |
} |
} |
46 |
} |
} |