/[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.3 by kusanagi, Thu Dec 9 08:47:42 2004 UTC revision 2.4 by kusanagi, Thu Dec 16 17:32:46 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.2 2004/12/03 22:04:04 kusanagi Exp $   * $Id: EventCounter.cpp,v 2.3 2004/12/09 08:47:42 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Implementation of the EventCounter class.   * Implementation of the EventCounter class.
# Line 34  EventCounter::EventCounter(int run): Line 34  EventCounter::EventCounter(int run):
34    Calib_Tof(0),    Calib_Tof(0),
35    Calib_S4(0),    Calib_S4(0),
36    Calib_CalPed(0),    Calib_CalPed(0),
37    Calib_Ac(0),    Calib1_Ac1(0),
38      Calib1_Ac2(0),
39      Calib2_Ac1(0),
40      Calib2_Ac2(0),
41    Run_Header(0),    Run_Header(0),
42    Run_Trailer(0),    Run_Trailer(0),
43    CalibHeader(0),    CalibHeader(0),
# Line 51  EventCounter::EventCounter(int run): Line 54  EventCounter::EventCounter(int run):
54    Tmtc(0),    Tmtc(0),
55    Mcmd(0),    Mcmd(0),
56    ForcedFECmd(0),    ForcedFECmd(0),
57    AcInit(0),    Ac1Init(0),
58    CalInit(0),    CalInit(0),
59    TrkInit(0),    TrkInit(0),
60    TofInit(0),    TofInit(0),
61    TrgInit(0),    TrgInit(0),
62    NdInit(0),    NdInit(0),
63    S4Init(0),    S4Init(0),
64      Ac2Init(0),
65    CalAlarm(0),    CalAlarm(0),
66    AcAlarm(0),    AcAlarm(0),
67    TrkAlarm(0),    TrkAlarm(0),
# Line 77  EventCounter::EventCounter(int run): Line 81  EventCounter::EventCounter(int run):
81      CMap.insert(CounterMap::value_type(PacketType::CalibTof,        &Calib_Tof));      CMap.insert(CounterMap::value_type(PacketType::CalibTof,        &Calib_Tof));
82      CMap.insert(CounterMap::value_type(PacketType::CalibS4,         &Calib_S4));      CMap.insert(CounterMap::value_type(PacketType::CalibS4,         &Calib_S4));
83      CMap.insert(CounterMap::value_type(PacketType::CalibCalPed,     &Calib_CalPed));      CMap.insert(CounterMap::value_type(PacketType::CalibCalPed,     &Calib_CalPed));
84      CMap.insert(CounterMap::value_type(PacketType::CalibAc,         &Calib_Ac));      CMap.insert(CounterMap::value_type(PacketType::Calib1_Ac1,      &Calib1_Ac1));
85        CMap.insert(CounterMap::value_type(PacketType::Calib1_Ac2,      &Calib1_Ac2));
86        CMap.insert(CounterMap::value_type(PacketType::Calib2_Ac1,      &Calib2_Ac1));
87        CMap.insert(CounterMap::value_type(PacketType::Calib2_Ac2,      &Calib2_Ac2));
88      CMap.insert(CounterMap::value_type(PacketType::RunHeader,       &Run_Header));      CMap.insert(CounterMap::value_type(PacketType::RunHeader,       &Run_Header));
89      CMap.insert(CounterMap::value_type(PacketType::RunTrailer,      &Run_Trailer));      CMap.insert(CounterMap::value_type(PacketType::RunTrailer,      &Run_Trailer));
90      CMap.insert(CounterMap::value_type(PacketType::CalibHeader,     &CalibHeader));      CMap.insert(CounterMap::value_type(PacketType::CalibHeader,     &CalibHeader));
# Line 94  EventCounter::EventCounter(int run): Line 101  EventCounter::EventCounter(int run):
101      CMap.insert(CounterMap::value_type(PacketType::Tmtc,            &Tmtc));      CMap.insert(CounterMap::value_type(PacketType::Tmtc,            &Tmtc));
102      CMap.insert(CounterMap::value_type(PacketType::Mcmd,            &Mcmd));      CMap.insert(CounterMap::value_type(PacketType::Mcmd,            &Mcmd));
103      CMap.insert(CounterMap::value_type(PacketType::ForcedFECmd,     &ForcedFECmd));      CMap.insert(CounterMap::value_type(PacketType::ForcedFECmd,     &ForcedFECmd));
104      CMap.insert(CounterMap::value_type(PacketType::AcInit,          &AcInit));      CMap.insert(CounterMap::value_type(PacketType::Ac1Init,         &Ac1Init));
105      CMap.insert(CounterMap::value_type(PacketType::CalInit,         &CalInit));      CMap.insert(CounterMap::value_type(PacketType::CalInit,         &CalInit));
106      CMap.insert(CounterMap::value_type(PacketType::TrkInit,         &TrkInit));      CMap.insert(CounterMap::value_type(PacketType::TrkInit,         &TrkInit));
107      CMap.insert(CounterMap::value_type(PacketType::TofInit,         &TofInit));      CMap.insert(CounterMap::value_type(PacketType::TofInit,         &TofInit));
108      CMap.insert(CounterMap::value_type(PacketType::NdInit,          &NdInit));      CMap.insert(CounterMap::value_type(PacketType::NdInit,          &NdInit));
109      CMap.insert(CounterMap::value_type(PacketType::S4Init,          &S4Init));      CMap.insert(CounterMap::value_type(PacketType::S4Init,          &S4Init));
110        CMap.insert(CounterMap::value_type(PacketType::Ac2Init,         &Ac2Init));
111      CMap.insert(CounterMap::value_type(PacketType::CalAlarm,        &CalAlarm));      CMap.insert(CounterMap::value_type(PacketType::CalAlarm,        &CalAlarm));
112      CMap.insert(CounterMap::value_type(PacketType::AcAlarm,         &AcAlarm));      CMap.insert(CounterMap::value_type(PacketType::AcAlarm,         &AcAlarm));
113      CMap.insert(CounterMap::value_type(PacketType::TrkAlarm,        &TrkAlarm));      CMap.insert(CounterMap::value_type(PacketType::TrkAlarm,        &TrkAlarm));

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

  ViewVC Help
Powered by ViewVC 1.1.23