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

Diff of /yoda/event/Algorithm.cpp

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

revision 1.1 by kusanagi, Tue Jul 6 12:20:23 2004 UTC revision 4.4 by kusanagi, Sat May 28 10:44:08 2005 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvspamela/yoda/event/Algorithm.cpp,v $   * $Source: /home/cvsmanager/yoda/event/Algorithm.cpp,v $
3   * $Id: Algorithm.cpp,v 1.7 2004/04/28 09:01:27 nagni Exp $   * $Id: Algorithm.cpp,v 4.0 2005/03/06 04:33:01 kusanagi Exp $
4   * $Author: nagni $   * $Author: kusanagi $
5   *   *
6   * Implementation of the default functions of the Algorithm class.   * Implementation of the default functions of the Algorithm class.
7   */   */
8    
 #include <log4cpp/Category.hh>  
9  #include "Algorithm.h"  #include "Algorithm.h"
10    #include <log4cxx/logger.h>
11  using namespace pamela;  using namespace pamela;
12    
13  static log4cpp::Category& cat = log4cpp::Category::getInstance("pamela.Algorithm");  static log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(_T("pamela.Algorithm"));
14    
15  /**  /**
16   * Constructor. Builds an algorithm that processes the events of a certain   * Constructor. Builds an algorithm that processes the events of a certain
# Line 19  static log4cpp::Category& cat = log4cpp: Line 18  static log4cpp::Category& cat = log4cpp:
18   */   */
19  Algorithm::Algorithm(const PacketType* t, std::string name):  Algorithm::Algorithm(const PacketType* t, std::string name):
20    type(t), AlgorithmName(name) {    type(t), AlgorithmName(name) {
21    cat <<  log4cpp::Priority::DEBUG <<  "Constructor"    logger->debug(_T("Constructor"));
           <<  "\n " << log4cpp::CategoryStream::ENDLINE;  
22  }  }
23    
24  ClassImp(Algorithm)  ClassImp(Algorithm)

Legend:
Removed from v.1.1  
changed lines
  Added in v.4.4

  ViewVC Help
Powered by ViewVC 1.1.23