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

Annotation of /chewbacca/event/SubPacket.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Jul 29 15:47:24 2009 UTC (15 years, 4 months ago) by mocchiut
Branch: MAIN
CVS Tags: v10RED, v9r00, v9r01, HEAD
Changes since 1.1: +4 -4 lines
Class rollback to previous version, compilation warnings ~fixed, some cleaning

1 mocchiut 1.1 /** @file
2 mocchiut 1.2 * $Author: mocchiut $
3     * $Date: 2008/09/23 07:19:54 $
4 mocchiut 1.1 * $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 mocchiut 1.2 Type(type), Detector(detector), SubPacketName(name) {
26 mocchiut 1.1 }
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 mocchiut 1.2 SubPacket::SubPacket(void): Type(0), Detector(0), SubPacketName("ERROR") {
33 mocchiut 1.1 }
34    
35     ClassImp(SubPacket)

  ViewVC Help
Powered by ViewVC 1.1.23