Parent Directory | Revision Log
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 |