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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide 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 mocchiut 1.1 /** @file
2 mocchiut 1.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 mocchiut 1.1 *
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 mocchiut 1.2 if (!fgRecords) fgRecords = new TClonesArray("pamela::McmdRecord", 10);
15     Records = fgRecords;
16     Mcmd_crc_ok = 0;
17 mocchiut 1.1 }
18    
19     McmdEvent::~McmdEvent(void) {
20     }
21     ClassImp(McmdEvent)

  ViewVC Help
Powered by ViewVC 1.1.23