/[PAMELA software]/yoda/event/physics/calorimeter/CalorimeterEvent.h
ViewVC logotype

Contents of /yoda/event/physics/calorimeter/CalorimeterEvent.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Tue Jul 6 12:20:23 2004 UTC (20 years, 8 months ago) by kusanagi
Changes since 1.1: +0 -0 lines
File MIME type: text/plain

1 /** @file
2 * $Source: /home/cvspamela/yoda/event/physics/calorimeter/CalorimeterEvent.h,v $
3 * $Id: CalorimeterEvent.h,v 1.6 2004/03/16 10:18:28 nagni Exp $
4 * $Author: nagni $
5 *
6 * Header file for the raw calorimeter events
7 */
8 #ifndef CALORIMETER_EVENT_H
9 #define CALORIMETER_EVENT_H
10
11 #include <exception>
12
13 #include <TObject.h>
14
15 #include "event/SubPacket.h"
16
17 namespace pamela {
18 /**
19 * Namespace for all calorimeter related code.
20 */
21 namespace calorimeter {
22 /**
23 * Raw calorimeter data.
24 */
25 class CalorimeterEvent: public pamela::SubPacket {
26 private:
27 Short_t SelfTrig[6];
28 Short_t Coincidence;
29 Int_t NValue;
30 Short_t* Value; //[NValue]
31 public:
32 CalorimeterEvent(void);
33 ~CalorimeterEvent(void);
34 const short* GetSelfTrig(void) const { return SelfTrig; }
35 short GetCoincidence(void) const { return Coincidence; }
36 int GetNValue(void) const { return NValue; }
37 const short* GetValue(void) const { return Value; }
38 void Set(int nvalue, short* value);
39 // ... and the setters ...
40 ClassDef(CalorimeterEvent, 1)
41 };
42 }
43 }
44 #endif /* CALORIMETER_EVENT_H */

  ViewVC Help
Powered by ViewVC 1.1.23