Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:18:08

0001 AUTOMAKE_OPTIONS = foreign
0002 
0003 AM_CXXFLAGS = `geant4-config --cflags | sed 's/-I/-isystem/g'`
0004 
0005 # set in configure.in to check if gcc version >= 4.8
0006 #if GCC_GE_48
0007 #  AM_CXXFLAGS += -std=c++11
0008 #endif
0009 
0010 # List of shared libraries to produce
0011 lib_LTLIBRARIES = \
0012   libphg4hit.la \
0013   libg4testbench.la
0014 
0015 AM_CPPFLAGS = \
0016   -I$(includedir) \
0017   -isystem$(OFFLINE_MAIN)/include \
0018   -isystem$(ROOTSYS)/include \
0019   -isystem$(XERCESCROOT)/include \
0020   -isystem$(OPT_SPHENIX)/include
0021 
0022 libphg4hit_la_LDFLAGS = \
0023   -L$(libdir) \
0024   -L$(OFFLINE_MAIN)/lib \
0025   -L$(OFFLINE_MAIN)/lib64
0026 
0027 
0028 libphg4hit_la_LIBADD = \
0029   -lphool
0030 
0031 libg4testbench_la_LDFLAGS = \
0032   -L$(libdir) \
0033   -L$(OFFLINE_MAIN)/lib \
0034   -L$(OFFLINE_MAIN)/lib64 \
0035   `geant4-config --libs`
0036 
0037 libg4testbench_la_LIBADD = \
0038   libphg4hit.la \
0039   -lboost_filesystem \
0040   -lffamodules \
0041   -lfun4all \
0042   -lg4decayer \
0043   -lgsl \
0044   -lgslcblas \
0045   -lHepMC \
0046   -lphfield \
0047   -lphgeom \
0048   -lphg4gdml \
0049   -lphhepmc \
0050   -lphparameter
0051 
0052 # I/O dictionaries have to exist for root5 and root6. For ROOT6 we need
0053 # pcm files in addition. If someone can figure out how to make a list
0054 # so this list of dictionaries is transformed into a list of pcm files
0055 # following a simple naming convention, please change this accordingly and
0056 # let me know
0057 ROOTHITDICTS = \
0058   EicEventHeader_Dict.cc \
0059   EicEventHeaderv1_Dict.cc \
0060   PHG4EventHeader_Dict.cc \
0061   PHG4EventHeaderv1_Dict.cc \
0062   PHG4Hit_Dict.cc \
0063   PHG4Hitv1_Dict.cc \
0064   PHG4HitEval_Dict.cc \
0065   PHG4HitContainer_Dict.cc \
0066   PHG4InEvent_Dict.cc \
0067   PHG4Particle_Dict.cc \
0068   PHG4Particlev1_Dict.cc \
0069   PHG4Particlev2_Dict.cc \
0070   PHG4Particlev3_Dict.cc \
0071   PHG4Shower_Dict.cc \
0072   PHG4Showerv1_Dict.cc \
0073   PHG4VtxPoint_Dict.cc \
0074   PHG4VtxPointv1_Dict.cc \
0075   PHG4VtxPointv2_Dict.cc \
0076   PHG4TruthInfoContainer_Dict.cc
0077 
0078 # this is a tweak to install files in $(libdir), automake refuses
0079 # to install other files in libdir, this construct gets around this
0080 pcmdir = $(libdir)
0081 nobase_dist_pcm_DATA = $(ROOTHITDICTS:.cc=_rdict.pcm)
0082 
0083 libphg4hit_la_SOURCES = \
0084   $(ROOTHITDICTS) \
0085   EicEventHeader.cc \
0086   EicEventHeaderv1.cc \
0087   PHG4EventHeaderv1.cc \
0088   PHG4Hit.cc \
0089   PHG4Hitv1.cc \
0090   PHG4HitContainer.cc \
0091   PHG4HitDefs.cc \
0092   PHG4HitEval.cc \
0093   PHG4InEvent.cc \
0094   PHG4Particle.cc \
0095   PHG4Particlev1.cc \
0096   PHG4Particlev2.cc \
0097   PHG4Particlev3.cc \
0098   PHG4Shower.cc \
0099   PHG4Showerv1.cc \
0100   PHG4TruthInfoContainer.cc \
0101   PHG4VtxPoint.cc \
0102   PHG4VtxPointv1.cc \
0103   PHG4VtxPointv2.cc
0104 
0105 libg4testbench_la_SOURCES = \
0106   Fun4AllMessenger.cc \
0107   G4TBMagneticFieldSetup.cc \
0108   G4TBFieldMessenger.cc \
0109   Fun4AllDstPileupInputManager.cc \
0110   Fun4AllDstPileupMerger.cc \
0111   Fun4AllSingleDstPileupInputManager.cc \
0112   HepMCNodeReader.cc \
0113   PHG4ConsistencyCheck.cc \
0114   PHG4DisplayAction.cc \
0115   PHG4Detector.cc \
0116   PHG4HitReadBack.cc \
0117   PHG4EtaParameterization.cc \
0118   PHG4EtaPhiParameterization.cc \
0119   PHG4HeadReco.cc \
0120   PHG4InputFilter.cc \
0121   PHG4IonGun.cc \
0122   PHG4MagneticField.cc \
0123   PHG4ParticleGeneratorBase.cc \
0124   PHG4ParticleGenerator.cc \
0125   PHG4ParticleGeneratorVectorMeson.cc \
0126   PHG4ParticleGeneratorD0.cc \
0127   PHG4ParticleGun.cc \
0128   PHG4PhenixDetector.cc \
0129   PHG4PhenixDisplayAction.cc \
0130   PHG4PhenixEventAction.cc \
0131   PHG4PhenixStackingAction.cc \
0132   PHG4PhenixSteppingAction.cc \
0133   PHG4PhenixTrackingAction.cc \
0134   PHG4PileupGenerator.cc \
0135   PHG4PrimaryGeneratorAction.cc \
0136   PHG4ProcessMap.cc \
0137   PHG4ProcessMapPhysics.cc \
0138   PHG4Reco.cc \
0139   PHG4RegionInformation.cc \
0140   PHG4ScoringManager.cc \
0141   PHG4SimpleEventGenerator.cc \
0142   PHG4StackingAction.cc \
0143   PHG4SteppingAction.cc \
0144   PHG4Subsystem.cc \
0145   PHG4TrackUserInfoV1.cc \
0146   PHG4TruthEventAction.cc \
0147   PHG4TruthSubsystem.cc \
0148   PHG4TruthTrackingAction.cc \
0149   PHG4UIsession.cc \
0150   PHG4Utils.cc \
0151   PHG4VertexSelection.cc \
0152   CosmicSpray.cc
0153 
0154 
0155 ##############################################
0156 # please add new classes in alphabetical order
0157 
0158 pkginclude_HEADERS = \
0159   EicEventHeader.h \
0160   Fun4AllDstPileupInputManager.h \
0161   Fun4AllDstPileupMerger.h \
0162   Fun4AllSingleDstPileupInputManager.h \
0163   HepMCNodeReader.h \
0164   PHBBox.h \
0165   PHG4ColorDefs.h \
0166   PHG4Detector.h \
0167   PHG4DisplayAction.h \
0168   PHG4EventAction.h \
0169   PHG4EventHeader.h \
0170   PHG4HitDefs.h \
0171   PHG4Hit.h \
0172   PHG4Hitv1.h \
0173   PHG4HitEval.h \
0174   PHG4HitContainer.h \
0175   PHG4InEvent.h \
0176   PHG4IonGun.h \
0177   PHG4MCProcessDefs.h \
0178   PHG4Particle.h \
0179   PHG4Particlev1.h \
0180   PHG4Particlev2.h \
0181   PHG4Particlev3.h \
0182   PHG4MagneticField.h \
0183   PHG4ParticleGenerator.h \
0184   PHG4ParticleGeneratorBase.h \
0185   PHG4ParticleGeneratorD0.h \
0186   PHG4ParticleGeneratorVectorMeson.h \
0187   PHG4ParticleGun.h \
0188   PHG4PhenixDetector.h \
0189   PHG4PileupGenerator.h \
0190   PHG4PrimaryGeneratorAction.h \
0191   PHG4ProcessMap.h \
0192   PHG4ProcessMapPhysics.h \
0193   PHG4Reco.h \
0194   PHG4RegionInformation.h \
0195   PHG4ScoringManager.h \
0196   PHG4SimpleEventGenerator.h \
0197   PHG4Shower.h \
0198   PHG4Showerv1.h \
0199   PHG4StackingAction.h \
0200   PHG4SteppingAction.h \
0201   PHG4Subsystem.h \
0202   PHG4TrackingAction.h \
0203   PHG4TrackUserInfoV1.h \
0204   PHG4TruthInfoContainer.h \
0205   PHG4TruthSubsystem.h \
0206   PHG4Units.h \
0207   PHG4Utils.h \
0208   PHG4VertexSelection.h \
0209   PHG4VtxPoint.h \
0210   PHG4VtxPointv1.h \
0211   PHG4VtxPointv2.h \
0212   ReadEICFiles.h \
0213   CosmicSpray.h \
0214   EcoMug.h
0215 
0216 ################################################
0217 # linking tests
0218 
0219 noinst_PROGRAMS = \
0220   testexternals_g4hits \
0221   testexternals_g4tb
0222 
0223 BUILT_SOURCES = testexternals.cc
0224 
0225 testexternals_g4hits_SOURCES = testexternals.cc
0226 testexternals_g4hits_LDADD = libphg4hit.la
0227 
0228 testexternals_g4tb_SOURCES = testexternals.cc
0229 testexternals_g4tb_LDADD = libg4testbench.la
0230 
0231 testexternals.cc:
0232         echo "//*** this is a generated file. Do not commit, do not edit" > $@
0233         echo "int main()" >> $@
0234         echo "{" >> $@
0235         echo "  return 0;" >> $@
0236         echo "}" >> $@
0237 
0238 %_Dict.cc: %.h %LinkDef.h
0239         rootcint -f $@ @CINTDEFS@ $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
0240 
0241 #just to get the dependency
0242 %_Dict_rdict.pcm: %_Dict.cc ;
0243 
0244 
0245 clean-local:
0246         rm -f *Dict* $(BUILT_SOURCES) *.pcm