1 |
kusanagi |
1.1 |
/** @file |
2 |
|
|
* $Source: /home/cvspamela/yoda/event/Algorithm.cpp,v $ |
3 |
|
|
* $Id: Algorithm.cpp,v 1.7 2004/04/28 09:01:27 nagni Exp $ |
4 |
|
|
* $Author: nagni $ |
5 |
|
|
* |
6 |
|
|
* Implementation of the default functions of the Algorithm class. |
7 |
|
|
*/ |
8 |
|
|
|
9 |
|
|
#include <log4cpp/Category.hh> |
10 |
|
|
#include "Algorithm.h" |
11 |
|
|
|
12 |
|
|
using namespace pamela; |
13 |
|
|
|
14 |
|
|
static log4cpp::Category& cat = log4cpp::Category::getInstance("pamela.Algorithm"); |
15 |
|
|
|
16 |
|
|
/** |
17 |
|
|
* Constructor. Builds an algorithm that processes the events of a certain |
18 |
|
|
* type. |
19 |
|
|
*/ |
20 |
|
|
Algorithm::Algorithm(const PacketType* t, std::string name): |
21 |
|
|
type(t), AlgorithmName(name) { |
22 |
|
|
cat << log4cpp::Priority::DEBUG << "Constructor" |
23 |
|
|
<< "\n " << log4cpp::CategoryStream::ENDLINE; |
24 |
|
|
} |
25 |
|
|
|
26 |
|
|
ClassImp(Algorithm) |