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

Diff of /yoda/event/EventCounter.cpp

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

revision 2.2 by kusanagi, Fri Dec 3 22:04:04 2004 UTC revision 2.3 by kusanagi, Thu Dec 9 08:47:42 2004 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/event/EventCounter.cpp,v $   * $Source: /home/cvsmanager/yoda/event/EventCounter.cpp,v $
3   * $Id: EventCounter.cpp,v 2.1 2004/09/24 11:57:32 kusanagi Exp $   * $Id: EventCounter.cpp,v 2.2 2004/12/03 22:04:04 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Implementation of the EventCounter class.   * Implementation of the EventCounter class.
# Line 57  EventCounter::EventCounter(int run): Line 57  EventCounter::EventCounter(int run):
57    TofInit(0),    TofInit(0),
58    TrgInit(0),    TrgInit(0),
59    NdInit(0),    NdInit(0),
60      S4Init(0),
61    CalAlarm(0),    CalAlarm(0),
62    AcAlarm(0),    AcAlarm(0),
63    TrkAlarm(0),    TrkAlarm(0),
64    TrgAlarm(0),    TrgAlarm(0),
65    TofAlarm(0),    TofAlarm(0),
66      S4Alarm(0),
67    RunNumber(run) {    RunNumber(run) {
68      CMap.insert(CounterMap::value_type(PacketType::Pscu,            &Pscu));      CMap.insert(CounterMap::value_type(PacketType::Pscu,            &Pscu));
69      CMap.insert(CounterMap::value_type(PacketType::PhysEndRun,      &PhysEndRun));      CMap.insert(CounterMap::value_type(PacketType::PhysEndRun,      &PhysEndRun));
# Line 96  EventCounter::EventCounter(int run): Line 98  EventCounter::EventCounter(int run):
98      CMap.insert(CounterMap::value_type(PacketType::CalInit,         &CalInit));      CMap.insert(CounterMap::value_type(PacketType::CalInit,         &CalInit));
99      CMap.insert(CounterMap::value_type(PacketType::TrkInit,         &TrkInit));      CMap.insert(CounterMap::value_type(PacketType::TrkInit,         &TrkInit));
100      CMap.insert(CounterMap::value_type(PacketType::TofInit,         &TofInit));      CMap.insert(CounterMap::value_type(PacketType::TofInit,         &TofInit));
101      CMap.insert(CounterMap::value_type(PacketType::TrgInit,         &TrgInit));      CMap.insert(CounterMap::value_type(PacketType::NdInit,          &NdInit));
102      CMap.insert(CounterMap::value_type(PacketType::TrgInit,         &NdInit));      CMap.insert(CounterMap::value_type(PacketType::S4Init,          &S4Init));
103      CMap.insert(CounterMap::value_type(PacketType::CalAlarm,        &CalAlarm));      CMap.insert(CounterMap::value_type(PacketType::CalAlarm,        &CalAlarm));
104      CMap.insert(CounterMap::value_type(PacketType::AcAlarm,         &AcAlarm));      CMap.insert(CounterMap::value_type(PacketType::AcAlarm,         &AcAlarm));
105      CMap.insert(CounterMap::value_type(PacketType::TrkAlarm,        &TrkAlarm));      CMap.insert(CounterMap::value_type(PacketType::TrkAlarm,        &TrkAlarm));
106      CMap.insert(CounterMap::value_type(PacketType::TrgAlarm,        &TrgAlarm));      CMap.insert(CounterMap::value_type(PacketType::TrgAlarm,        &TrgAlarm));
107      CMap.insert(CounterMap::value_type(PacketType::TofAlarm,        &TofAlarm));      CMap.insert(CounterMap::value_type(PacketType::TofAlarm,        &TofAlarm));
108        CMap.insert(CounterMap::value_type(PacketType::S4Alarm,         &S4Alarm));
109  }  }
110    
111  /**  /**

Legend:
Removed from v.2.2  
changed lines
  Added in v.2.3

  ViewVC Help
Powered by ViewVC 1.1.23