/[PAMELA software]/chewbacca/event/mcmd/McmdEvent.cpp
ViewVC logotype

Contents of /chewbacca/event/mcmd/McmdEvent.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Sep 30 12:21:43 2009 UTC (15 years, 2 months ago) by mocchiut
Branch: MAIN
CVS Tags: v10RED, v9r00, v9r01, HEAD
Changes since 1.1: +6 -5 lines
Bug in MCMDs unpacking fixed (now CRC flags are meaningfull and MCMDs are unpacked even in case of CRC errors)

1 /** @file
2 * $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/event/mcmd/McmdEvent.cpp,v $
3 * $Id: McmdEvent.cpp,v 1.1.1.1 2008/09/23 07:20:03 mocchiut Exp $
4 * $Author: mocchiut $
5 *
6 * Implementation of the McmdEvent class.
7 */
8 #include "McmdEvent.h"
9
10 using namespace pamela;
11 TClonesArray *McmdEvent::fgRecords = 0;
12
13 McmdEvent::McmdEvent(void): SubPacket("Mcmd", PacketType::Mcmd) {
14 if (!fgRecords) fgRecords = new TClonesArray("pamela::McmdRecord", 10);
15 Records = fgRecords;
16 Mcmd_crc_ok = 0;
17 }
18
19 McmdEvent::~McmdEvent(void) {
20 }
21 ClassImp(McmdEvent)

  ViewVC Help
Powered by ViewVC 1.1.23