endif
ifeq ($(USEPACKAGE),ALIROOT)
-DEFSTR = -Duse_aliroot
+DEFSTR = -Duse_aliroot -Duse_root
ALICELIBS = -L$(ALICE_ROOT)/lib/tgt_Linux -lCONTAINERS -lTPC -lSTEER
#ALICELIBS := $(shell aliroot-config --libs)
INCLUDES += -I$(ROOTSYS)/include -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TPC -I$(ALICE_ROOT)/CONTAINERS -I$(ALICE_ROOT)/STEER
-/* $Id$
-Author: Constantin Loizides <mailto: loizides@ikf.physik.uni-frankfurt.de
-*/
+// $Id$
+
+// Author: Constantin Loizides <mailto: loizides@ikf.physik.uni-frankfurt.de
+
#include <stream.h>
#include <libgen.h>
#include "AliL3AltroMemHandler.h"
#include "AliL3DigitData.h"
#include "AliL3Transform.h"
+#include "AliL3Logging.h"
+#include "AliL3Logger.h"
/**
Example program how to open and read a raw datafile.
Bool_t altroout=kFALSE;
FILE *afile=0;
- //AliL3Logger l;
- //l.Set(AliL3Logger::kAll);
+ AliL3Logger l;
+ l.Set(AliL3Logger::kAll);
+ //l.UseStderr();
//l.UseStdout();
//l.UseStream();
if(argc<2)
{
cout<<"Usage: read datafile [slice] [patch] [altrodatfile]"<<endl;
- return -1;
+ exit(1);
}
if (argc>2) {
slice=atoi(argv[2]);
-/* $Id$
- Author: Constantin Loizides <loizides@ikf.physik.uni-frankfurt.de>
-*/
+// $Id$
+
+// Author: Constantin Loizides <loizides@ikf.physik.uni-frankfurt.de>
+
#include <stream.h>
#include <libgen.h>
+
#include "AliL3RootTypes.h"
#include "AliL3Transform.h"
#include "AliL3ClustFinderNew.h"
#include "AliL3MemHandler.h"
#include "AliL3SpacePointData.h"
+#include "AliL3Logging.h"
#include "AliL3Logger.h"
#define MAXCLUSTER 15000
+
/**
Example program how to run the "standalone" clusterfinder.
Int_t fm=4;
Int_t th=10;
- //AliL3Logger l;
- //l.Set(AliL3Logger::kAll);
+ AliL3Logger l;
+ l.Set(AliL3Logger::kAll);
+ l.UseStderr();
//l.UseStdout();
//l.UseStream();
-/* $Id$
- Author: Constantin Loizides <loizides@ikf.physik.uni-frankfurt.de>
-*/
+// $Id$
+
+// Author: Constantin Loizides <loizides@ikf.physik.uni-frankfurt.de>
+
#include <stream.h>
#include <libgen.h>
#include "AliL3Transform.h"
#include "AliL3VHDLClusterFinder.h"
#include "AliL3AltroMemHandler.h"
+#include "AliL3Logging.h"
#include "AliL3Logger.h"
/**
- Example program how to run the vhdl clusterfinder.
+Example program how to run the vhdl clusterfinder.
*/
int main(int argc,char **argv)
Int_t fm=4;
Int_t th=10;
- //AliL3Logger l;
- //l.Set(AliL3Logger::kAll);
+ AliL3Logger l;
+ l.Set(AliL3Logger::kAll);
+ l.UseStderr();
//l.UseStdout();
//l.UseStream();