/** @file * $Source: /home/cvspamela/yoda/event/physics/calorimeter/CalorimeterEvent.h,v $ * $Id: CalorimeterEvent.h,v 1.6 2004/03/16 10:18:28 nagni Exp $ * $Author: nagni $ * * Header file for the raw calorimeter events */ #ifndef CALORIMETER_EVENT_H #define CALORIMETER_EVENT_H #include #include #include "event/SubPacket.h" namespace pamela { /** * Namespace for all calorimeter related code. */ namespace calorimeter { /** * Raw calorimeter data. */ class CalorimeterEvent: public pamela::SubPacket { private: Short_t SelfTrig[6]; Short_t Coincidence; Int_t NValue; Short_t* Value; //[NValue] public: CalorimeterEvent(void); ~CalorimeterEvent(void); const short* GetSelfTrig(void) const { return SelfTrig; } short GetCoincidence(void) const { return Coincidence; } int GetNValue(void) const { return NValue; } const short* GetValue(void) const { return Value; } void Set(int nvalue, short* value); // ... and the setters ... ClassDef(CalorimeterEvent, 1) }; } } #endif /* CALORIMETER_EVENT_H */