Print

Print


Commit in lcio/src/cpp/src/UTIL on MAIN
GNUmakefile+1-11.3 -> 1.4
LCTOOLS.cc+4-41.46 -> 1.47
+5-5
2 modified files
use now  #ifdef USE_CLHEP 

lcio/src/cpp/src/UTIL
GNUmakefile 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- GNUmakefile	29 Nov 2005 19:55:34 -0000	1.3
+++ GNUmakefile	24 Mar 2006 11:12:09 -0000	1.4
@@ -23,7 +23,7 @@
 CPPFLAGS = $(LCIOCPPFLAGS) $(INCLUDE)
 
 ifdef CLHEP
- CPPFLAGS += -DCLHEP=CLHEP -I$(CLHEP)/include
+ CPPFLAGS += -DUSE_CLHEP -I$(CLHEP)/include
 endif
 
 objects := $(patsubst %.cc,%.o,$(wildcard *.cc))

lcio/src/cpp/src/UTIL
LCTOOLS.cc 1.46 -> 1.47
diff -u -r1.46 -r1.47
--- LCTOOLS.cc	10 Mar 2006 16:23:19 -0000	1.46
+++ LCTOOLS.cc	24 Mar 2006 11:12:09 -0000	1.47
@@ -22,7 +22,7 @@
 #include "EVENT/LCRelation.h"
 #include "LCIOSTLTypes.h"
 
-#ifdef CLHEP
+#ifdef USE_CLHEP
 #include "UTIL/LCFourVector.h"
 #endif
 #include "UTIL/LCObjectHandle.h"
@@ -1315,7 +1315,7 @@
     
     for( int i=0 ; i< nPrint ; i++ ){
       
-#ifdef CLHEP
+#ifdef USE_CLHEP
       ReconstructedParticle4V recP( col->getElementAt( i ) ) ;
 #else
       ReconstructedParticle* recP = 
@@ -1513,7 +1513,7 @@
     for(  int index = 0 ; index < nParticles ; index++){
       
 
-#ifdef CLHEP
+#ifdef USE_CLHEP
       MCParticle4V part( col->getElementAt( index ) ) ;
 #else
       MCParticle* part =  dynamic_cast<MCParticle*>( col->getElementAt( index ) ) ;
@@ -1550,7 +1550,7 @@
       cout <<  part->getMass()         << " | " 
 	   <<  part->getCharge()       << " | " 
 	   <<  part->getEnergy()      
-#ifdef CLHEP
+#ifdef USE_CLHEP
 	//---- DEBUG
 	   << " m(4V) : " << part.m()
 	   << " e(4V) : " << part.e()
CVSspam 0.2.8