/[PAMELA software]/yoda/event/SubPacket.cpp
ViewVC logotype

Contents of /yoda/event/SubPacket.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5.0 - (show annotations) (download)
Mon Aug 29 09:45:48 2005 UTC (19 years, 3 months ago) by kusanagi
Branch: MAIN
CVS Tags: YODA5_0/00, YODA5_0/01, YODA5_0/02
Changes since 4.4: +1 -1 lines
Starting form this version:
1) includes are defined with relative (not absolute) path respect to the YODA aplication
2) RegistryEvent class is foreseen to contain post-unpack data.

1 /** @file
2 * $Author: kusanagi $
3 * $Date: 2005/05/28 10:44:09 $
4 * $Version: 1.1 $
5 *
6 * Header file for the SubPacket class.
7 */
8
9 #include <log4cxx/logger.h>
10
11 #include "SubPacket.h"
12
13 static log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(_T("pamela.techmodel.EventCounter"));
14
15 using namespace pamela;
16
17 /**
18 * Constructor for the SubPacket.
19 * @param name Name of the SubPacket.
20 * @param type Packet type.
21 * @param detector SubDetector, if the SubPacket is detector specific.
22 */
23 SubPacket::SubPacket(std::string name, const PacketType* type,
24 const SubDetector* detector):
25 SubPacketName(name), Type(type), Detector(detector) {
26 }
27
28 /**
29 * Default constructor. Note that this should never be used; it is here
30 * just for some thumb requirements of ROOT.
31 */
32 SubPacket::SubPacket(void): SubPacketName("ERROR"), Type(0), Detector(0) {
33 }
34
35 ClassImp(SubPacket)

  ViewVC Help
Powered by ViewVC 1.1.23