/[PAMELA software]/chewbacca/event/EventCounter.cpp
ViewVC logotype

Diff of /chewbacca/event/EventCounter.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mocchiut, Fri Jul 24 13:53:49 2009 UTC revision 1.3 by mocchiut, Wed Jul 29 15:47:19 2009 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/event/EventCounter.cpp,v $   * $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/event/EventCounter.cpp,v $
3   * $Id: EventCounter.cpp,v 1.1.1.1 2008/09/23 07:19:51 mocchiut Exp $   * $Id: EventCounter.cpp,v 1.2 2009/07/24 13:53:49 mocchiut Exp $
4   * $Author: mocchiut $   * $Author: mocchiut $
5   *   *
6   * Implementation of the EventCounter class.   * Implementation of the EventCounter class.
# Line 23  using namespace pamela; Line 23  using namespace pamela;
23   */   */
24  EventCounter::EventCounter(int run):  EventCounter::EventCounter(int run):
25          // New Packets.          // New Packets.
26      RunNumber(run),
27    Pscu(0),    Pscu(0),
28    PhysEndRun(0),    PhysEndRun(0),
29    CalibCalPulse1(0),    CalibCalPulse1(0),
# Line 69  EventCounter::EventCounter(int run): Line 70  EventCounter::EventCounter(int run):
70    S4Alarm(0),    S4Alarm(0),
71    Ac2Alarm(0),    Ac2Alarm(0),
72    TsbT(0),    TsbT(0),
73    TsbB(0),    TsbB(0) {
   RunNumber(run) {  
74      CMap.insert(CounterMap::value_type(PacketType::Pscu,            &Pscu));      CMap.insert(CounterMap::value_type(PacketType::Pscu,            &Pscu));
75      CMap.insert(CounterMap::value_type(PacketType::PhysEndRun,      &PhysEndRun));      CMap.insert(CounterMap::value_type(PacketType::PhysEndRun,      &PhysEndRun));
76      CMap.insert(CounterMap::value_type(PacketType::CalibCalPulse1,  &CalibCalPulse1));      CMap.insert(CounterMap::value_type(PacketType::CalibCalPulse1,  &CalibCalPulse1));

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23