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

Annotation of /yoda/event/SubPacket.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Jul 6 12:20:23 2004 UTC (20 years, 5 months ago) by kusanagi
Branch: MAIN
Initial revision

1 kusanagi 1.1 /** @file
2     * $Author: nagni $
3     * $Date: 2004/03/16 10:18:28 $
4     * $Version: 1.1 $
5     *
6     * Header file for the SubPacket class.
7     */
8    
9     #include <log4cpp/Category.hh>
10    
11     #include "SubPacket.h"
12    
13     static log4cpp::Category& cat = log4cpp::Category::getInstance("pamela.SubPacket");
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