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

Contents of /chewbacca/event/SubPacket.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Tue Sep 23 07:19:54 2008 UTC (16 years, 2 months ago) by mocchiut
Branch: v0r00
CVS Tags: v1r02, v1r00, v1r01, start
Changes since 1.1: +0 -0 lines
Imported sources, 23/09/2008

1 /** @file
2 * $Author: messineo $
3 * $Date: 2008-01-11 17:14:21 $
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