Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:18:53

0001 AUTOMAKE_OPTIONS = foreign
0002 
0003 # List of shared libraries to produce
0004 lib_LTLIBRARIES = \
0005   libg4detectors_io.la \
0006   libg4detectors.la
0007 
0008 AM_CXXFLAGS = `geant4-config --cflags`
0009 
0010 AM_CPPFLAGS = \
0011   -DCGAL_DISABLE_ROUNDING_MATH_CHECK \
0012   -I$(includedir) \
0013   -isystem$(OFFLINE_MAIN)/include \
0014   -isystem$(ROOTSYS)/include \
0015   -isystem$(XERCESROOT)/include \
0016   -isystem$(OPT_SPHENIX)/include
0017 
0018 # set in configure.in to check if gcc version >= 4.8
0019 #if GCC_GE_48
0020 #  AM_CXXFLAGS = -std=c++11
0021 #endif
0022 
0023 AM_LDFLAGS = \
0024   -L$(libdir) \
0025   -L$(OFFLINE_MAIN)/lib \
0026   -L$(OFFLINE_MAIN)/lib64
0027 
0028 libg4detectors_io_la_LIBADD = \
0029   -lphool \
0030   -lphparameter_io
0031 
0032 
0033 #libgmp comes in via CGAL which is now header only
0034 libg4detectors_la_LIBADD = \
0035   libg4detectors_io.la \
0036   -lffamodules \
0037   -lg4testbench \
0038   -lgmp \
0039   -lphg4gdml \
0040   -lphool  \
0041   -lcalo_io \
0042   -lSubsysReco
0043 
0044 pkginclude_HEADERS = \
0045   BeamLineMagnetSubsystem.h \
0046   LightCollectionModel.h \
0047   PHG4BbcSubsystem.h \
0048   PHG4BlockCellGeom.h \
0049   PHG4BlockCellGeomContainer.h \
0050   PHG4BlockGeom.h \
0051   PHG4BlockGeomContainer.h \
0052   PHG4BlockSubsystem.h \
0053   PHG4Cell.h \
0054   PHG4Cellv1.h \
0055   PHG4CellContainer.h \
0056   PHG4CellDefs.h \
0057   PHG4EventActionClearZeroEdep.h \
0058   PHG4ConeSubsystem.h \
0059   PHG4CylinderCell.h \
0060   PHG4CylinderCellv1.h \
0061   PHG4CylinderCellv2.h \
0062   PHG4CylinderCellv3.h \
0063   PHG4CylinderCellContainer.h \
0064   PHG4CylinderGeom.h \
0065   PHG4CylinderGeomv1.h \
0066   PHG4CylinderGeomv2.h \
0067   PHG4CylinderGeomv3.h \
0068   PHG4CylinderGeomv4.h \
0069   PHG4CylinderGeom_Spacalv1.h \
0070   PHG4CylinderGeom_Spacalv2.h \
0071   PHG4CylinderGeom_Spacalv3.h \
0072   PHG4CylinderGeomContainer.h \
0073   PHG4CylinderCellDefs.h \
0074   PHG4CylinderCellGeom.h \
0075   PHG4CylinderCellGeom_Spacalv1.h \
0076   PHG4CylinderCellGeomContainer.h \
0077   PHG4CylinderCellReco.h \
0078   PHG4CylinderSubsystem.h \
0079   PHG4DetectorSubsystem.h \
0080   PHG4DetectorGroupSubsystem.h \
0081   PHG4FullProjSpacalCellReco.h \
0082   PHG4GDMLSubsystem.h \
0083   PHG4HcalDefs.h \
0084   PHG4HcalCellReco.h \
0085   PHG4HcalSubsystem.h \
0086   PHG4InnerHcalSubsystem.h \
0087   PHG4OuterHcalSubsystem.h \
0088   PHG4PSTOFSubsystem.h \
0089   PHG4ScintillatorSlat.h \
0090   PHG4ScintillatorSlatv1.h \
0091   PHG4ScintillatorSlatContainer.h \
0092   PHG4ScintillatorSlatDefs.h \
0093   PHG4SectorConstructor.h \
0094   PHG4SectorSubsystem.h \
0095   PHG4SpacalSubsystem.h \
0096   PHG4SpacalSteppingAction.h \
0097   PHG4sPHENIXMagnetSubsystem.h \
0098   PHG4StepStatusDecode.h \
0099   PHG4TpcCylinderGeom.h \
0100   PHG4TpcCylinderGeomContainer.h \
0101   PHG4ZDCDefs.h \
0102   PHG4ZDCSubsystem.h
0103 
0104 ROOTDICTS = \
0105   PHG4BlockCellGeom_Dict.cc \
0106   PHG4BlockCellGeomContainer_Dict.cc \
0107   PHG4BlockGeom_Dict.cc \
0108   PHG4BlockGeomContainer_Dict.cc \
0109   PHG4BlockGeomv1_Dict.cc \
0110   PHG4Cell_Dict.cc \
0111   PHG4Cellv1_Dict.cc \
0112   PHG4CellContainer_Dict.cc \
0113   PHG4CylinderGeom_Dict.cc \
0114   PHG4CylinderGeomv1_Dict.cc \
0115   PHG4CylinderGeomv2_Dict.cc \
0116   PHG4CylinderGeomv3_Dict.cc \
0117   PHG4CylinderGeomv4_Dict.cc \
0118   PHG4CylinderGeom_Spacalv1_Dict.cc \
0119   PHG4CylinderGeom_Spacalv2_Dict.cc \
0120   PHG4CylinderGeom_Spacalv3_Dict.cc \
0121   PHG4CylinderGeomContainer_Dict.cc \
0122   PHG4CylinderCell_Dict.cc \
0123   PHG4CylinderCellv1_Dict.cc \
0124   PHG4CylinderCellv2_Dict.cc \
0125   PHG4CylinderCellv3_Dict.cc \
0126   PHG4CylinderCellContainer_Dict.cc \
0127   PHG4CylinderCellGeom_Dict.cc \
0128   PHG4CylinderCellGeom_Spacalv1_Dict.cc \
0129   PHG4CylinderCellGeomContainer_Dict.cc \
0130   PHG4ScintillatorSlat_Dict.cc \
0131   PHG4ScintillatorSlatv1_Dict.cc \
0132   PHG4ScintillatorSlatContainer_Dict.cc \
0133   PHG4TpcCylinderGeom_Dict.cc \
0134   PHG4TpcCylinderGeomContainer_Dict.cc 
0135 
0136 pcmdir = $(libdir)
0137 # more elegant way to create pcm files (without listing them)
0138 nobase_dist_pcm_DATA = $(ROOTDICTS:.cc=_rdict.pcm)
0139 
0140 libg4detectors_io_la_SOURCES = \
0141   $(ROOTDICTS) \
0142   PHG4BlockCellGeom.cc \
0143   PHG4BlockCellGeomContainer.cc \
0144   PHG4BlockGeom.cc \
0145   PHG4BlockGeomv1.cc \
0146   PHG4BlockGeomContainer.cc \
0147   PHG4Cell.cc \
0148   PHG4Cellv1.cc \
0149   PHG4CellContainer.cc \
0150   PHG4CellDefs.cc \
0151   PHG4CylinderGeom.cc \
0152   PHG4CylinderGeomv1.cc \
0153   PHG4CylinderGeomv2.cc \
0154   PHG4CylinderGeomv3.cc \
0155   PHG4CylinderGeomv4.cc \
0156   PHG4CylinderGeom_Spacalv1.cc \
0157   PHG4CylinderGeom_Spacalv2.cc \
0158   PHG4CylinderGeom_Spacalv3.cc \
0159   PHG4CylinderGeomContainer.cc \
0160   PHG4CylinderCellv1.cc \
0161   PHG4CylinderCellv2.cc \
0162   PHG4CylinderCellv3.cc \
0163   PHG4CylinderCellContainer.cc \
0164   PHG4CylinderCellGeom.cc \
0165   PHG4CylinderCellGeom_Spacalv1.cc \
0166   PHG4CylinderCellGeomContainer.cc \
0167   PHG4ScintillatorSlatDefs.cc \
0168   PHG4ScintillatorSlatv1.cc \
0169   PHG4ScintillatorSlatContainer.cc \
0170   PHG4TpcCylinderGeom.cc \
0171   PHG4TpcCylinderGeomContainer.cc 
0172 
0173 
0174 libg4detectors_la_SOURCES = \
0175   BeamLineMagnetDetector.cc \
0176   BeamLineMagnetDisplayAction.cc \
0177   BeamLineMagnetSubsystem.cc \
0178   BeamLineMagnetSteppingAction.cc \
0179   LightCollectionModel.cc \
0180   PHG4GDMLDetector.cc \
0181   PHG4GDMLSubsystem.cc \
0182   PHG4BbcDetector.cc \
0183   PHG4BbcDisplayAction.cc \
0184   PHG4BbcSteppingAction.cc \
0185   PHG4BbcSubsystem.cc \
0186   PHG4BeamlineMagnetDetector.cc \
0187   PHG4BeamlineMagnetSubsystem.cc \
0188   PHG4BlockCellReco.cc \
0189   PHG4BlockDetector.cc \
0190   PHG4BlockDisplayAction.cc \
0191   PHG4BlockSteppingAction.cc \
0192   PHG4BlockSubsystem.cc \
0193   PHG4CEmcTestBeamDetector.cc \
0194   PHG4CEmcTestBeamSteppingAction.cc \
0195   PHG4CEmcTestBeamSubsystem.cc \
0196   PHG4ConeDetector.cc \
0197   PHG4ConeDisplayAction.cc \
0198   PHG4ConeSteppingAction.cc \
0199   PHG4ConeSubsystem.cc \
0200   PHG4CylinderDetector.cc \
0201   PHG4CylinderDisplayAction.cc \
0202   PHG4CylinderSubsystem.cc \
0203   PHG4CylinderCellReco.cc \
0204   PHG4CylinderSteppingAction.cc \
0205   PHG4DetectorGroupSubsystem.cc \
0206   PHG4DetectorSubsystem.cc \
0207   PHG4EnvelopeDetector.cc \
0208   PHG4EnvelopeSteppingAction.cc \
0209   PHG4EnvelopeSubsystem.cc \
0210   PHG4EventActionClearZeroEdep.cc \
0211   PHG4FullProjSpacalDetector.cc \
0212   PHG4FullProjTiltedSpacalDetector.cc \
0213   PHG4FullProjSpacalCellReco.cc \
0214   PHG4GenHit.cc \
0215   PHG4HcalCellReco.cc \
0216   PHG4HcalDetector.cc \
0217   PHG4HcalSteppingAction.cc \
0218   PHG4HcalSubsystem.cc \
0219   PHG4InnerHcalDetector.cc \
0220   PHG4InnerHcalDisplayAction.cc \
0221   PHG4InnerHcalSteppingAction.cc \
0222   PHG4InnerHcalSubsystem.cc \
0223   PHG4OuterHcalDetector.cc \
0224   PHG4OuterHcalDisplayAction.cc \
0225   PHG4OuterHcalField.cc \
0226   PHG4OuterHcalFieldSetup.cc \
0227   PHG4OuterHcalSteppingAction.cc \
0228   PHG4OuterHcalSubsystem.cc \
0229   PHG4PSTOFDetector.cc \
0230   PHG4PSTOFSteppingAction.cc \
0231   PHG4PSTOFSubsystem.cc \
0232   PHG4SectorConstructor.cc \
0233   PHG4SectorDetector.cc \
0234   PHG4SectorDisplayAction.cc \
0235   PHG4SectorSteppingAction.cc \
0236   PHG4SectorSubsystem.cc \
0237   PHG4SpacalDetector.cc \
0238   PHG4SpacalDisplayAction.cc \
0239   PHG4SpacalSteppingAction.cc \
0240   PHG4SpacalSubsystem.cc \
0241   PHG4sPHENIXMagnetDetector.cc \
0242   PHG4sPHENIXMagnetDisplayAction.cc \
0243   PHG4sPHENIXMagnetSteppingAction.cc \
0244   PHG4sPHENIXMagnetSubsystem.cc \
0245   PHG4StepStatusDecode.cc \
0246   PHG4TrackStatusDecode.cc \
0247   PHG4ZDCDetector.cc \
0248   PHG4ZDCDisplayAction.cc \
0249   PHG4ZDCSteppingAction.cc \
0250   PHG4ZDCSubsystem.cc
0251 
0252 bin_SCRIPTS = \
0253   CreateG4Subsystem.pl
0254 
0255 # Rule for generating table CINT dictionaries.
0256 %_Dict.cc: %.h %LinkDef.h
0257         rootcint -f $@ @CINTDEFS@ $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $^
0258 
0259 #just to get the dependency
0260 %_Dict_rdict.pcm: %_Dict.cc ;
0261 
0262 ################################################
0263 # linking tests
0264 
0265 BUILT_SOURCES = testexternals.cc
0266 
0267 noinst_PROGRAMS = \
0268   testexternals_g4detectors \
0269   testexternals_g4detectors_io
0270 
0271 testexternals_g4detectors_SOURCES = testexternals.cc
0272 testexternals_g4detectors_LDADD = libg4detectors.la
0273 
0274 testexternals_g4detectors_io_SOURCES = testexternals.cc
0275 testexternals_g4detectors_io_LDADD = libg4detectors_io.la
0276 
0277 testexternals.cc:
0278         echo "//*** this is a generated file. Do not commit, do not edit" > $@
0279         echo "int main()" >> $@
0280         echo "{" >> $@
0281         echo "  return 0;" >> $@
0282         echo "}" >> $@
0283 
0284 clean-local:
0285         rm -f *Dict* $(BUILT_SOURCES) *.pcm