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

Annotation of /yoda/event/SubPacket.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4.0 - (hide annotations) (download)
Sun Mar 6 04:33:01 2005 UTC (19 years, 9 months ago) by kusanagi
Branch: MAIN
CVS Tags: yodaPreTermistors2_1/00, YODA4_1/00, YODA4_0/04, YODA4_0/03, YODA4_0/02, YODA4_0/01, YODA4_3/02, YODA4_3/00, YODA4_3/01, YODA4_2/01, YODA4_2/00, YODA4_2/03, yodaPreTermistores2_0/00
Branch point for: PreThermistores2
Changes since 3.0: +1 -1 lines
Stable version 4.0 - 6 March 2005 - Maurizio Nagni

1 kusanagi 1.1 /** @file
2 kusanagi 1.2 * $Author: kusanagi $
3 kusanagi 4.0 * $Date: 2005/03/04 15:54:11 $
4 kusanagi 1.1 * $Version: 1.1 $
5     *
6     * Header file for the SubPacket class.
7     */
8    
9 kusanagi 1.2 #include <log4cxx/logger.h>
10 kusanagi 1.1
11     #include "SubPacket.h"
12    
13 kusanagi 1.2 static log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(_T("pamela.techmodel.EventCounter"));
14 kusanagi 1.1
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