/[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 5.0 by kusanagi, Mon Aug 29 09:45:48 2005 UTC revision 5.1 by kusanagi, Sat Feb 4 12:37:43 2006 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 4.4 2005/05/28 10:44:09 kusanagi Exp $   * $Id: EventCounter.cpp,v 5.0 2005/08/29 09:45:48 Maurizio Nagni Exp $
4   * $Author: kusanagi $   * $Author: Maurizio Nagni $
5   *   *
6   * Implementation of the EventCounter class.   * Implementation of the EventCounter class.
7   */   */
# Line 42  EventCounter::EventCounter(int run): Line 42  EventCounter::EventCounter(int run):
42    CalibTrailer(0),    CalibTrailer(0),
43    InitHeader(0),    InitHeader(0),
44    InitTrailer(0),    InitTrailer(0),
   EventTrk(0),  
   TestTrk(0),  
   TestTof(0),  
45    Log(0),    Log(0),
46    VarDump(0),    VarDump(0),
47    ArrDump(0),    ArrDump(0),
# Line 89  EventCounter::EventCounter(int run): Line 86  EventCounter::EventCounter(int run):
86      CMap.insert(CounterMap::value_type(PacketType::CalibTrailer,    &CalibTrailer));        CMap.insert(CounterMap::value_type(PacketType::CalibTrailer,    &CalibTrailer));  
87      CMap.insert(CounterMap::value_type(PacketType::InitHeader,      &InitHeader));      CMap.insert(CounterMap::value_type(PacketType::InitHeader,      &InitHeader));
88      CMap.insert(CounterMap::value_type(PacketType::InitTrailer,     &InitTrailer));        CMap.insert(CounterMap::value_type(PacketType::InitTrailer,     &InitTrailer));  
     CMap.insert(CounterMap::value_type(PacketType::EventTrk,        &EventTrk));    
     CMap.insert(CounterMap::value_type(PacketType::TestTrk,         &TestTrk));    
     CMap.insert(CounterMap::value_type(PacketType::TestTof,         &TestTof));    
89      CMap.insert(CounterMap::value_type(PacketType::Log,             &Log));      CMap.insert(CounterMap::value_type(PacketType::Log,             &Log));
90      CMap.insert(CounterMap::value_type(PacketType::VarDump,         &VarDump));      CMap.insert(CounterMap::value_type(PacketType::VarDump,         &VarDump));
91      CMap.insert(CounterMap::value_type(PacketType::ArrDump,         &ArrDump));      CMap.insert(CounterMap::value_type(PacketType::ArrDump,         &ArrDump));
# Line 182  void EventCounter::PrintCounters() const Line 176  void EventCounter::PrintCounters() const
176    logger->info(oss.str().c_str());    logger->info(oss.str().c_str());
177    }    }
178  }  }
179            

Legend:
Removed from v.5.0  
changed lines
  Added in v.5.1

  ViewVC Help
Powered by ViewVC 1.1.23