Skip to content

Commit

Permalink
Clean up BuildFiles under DataFormats/
Browse files Browse the repository at this point in the history
Clean up BuildFile.xml filea with `xmllint --format`.
  • Loading branch information
fwyzard committed May 5, 2020
1 parent b5b4bf2 commit e0aa093
Show file tree
Hide file tree
Showing 151 changed files with 865 additions and 904 deletions.
11 changes: 5 additions & 6 deletions DataFormats/Alignment/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<use name="DataFormats/Common"/>
<use name="DataFormats/TrackingRecHit"/>
<use name="DataFormats/SiStripDetId"/>
<use name="FWCore/Utilities"/>

<use name="DataFormats/Common"/>
<use name="DataFormats/TrackingRecHit"/>
<use name="DataFormats/SiStripDetId"/>
<use name="FWCore/Utilities"/>
<export>
<lib name="1"/>
<lib name="1"/>
</export>
23 changes: 11 additions & 12 deletions DataFormats/BTauReco/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
<use name="DataFormats/Common"/>
<use name="DataFormats/JetReco"/>
<use name="DataFormats/Math"/>
<use name="DataFormats/ParticleFlowCandidate"/>
<use name="DataFormats/TrackReco"/>
<use name="DataFormats/VertexReco"/>
<use name="FWCore/Utilities"/>
<use name="boost"/>
<use name="clhep"/>
<use name="rootmath"/>

<use name="DataFormats/Common"/>
<use name="DataFormats/JetReco"/>
<use name="DataFormats/Math"/>
<use name="DataFormats/ParticleFlowCandidate"/>
<use name="DataFormats/TrackReco"/>
<use name="DataFormats/VertexReco"/>
<use name="FWCore/Utilities"/>
<use name="boost"/>
<use name="clhep"/>
<use name="rootmath"/>
<export>
<lib name="1"/>
<lib name="1"/>
</export>
13 changes: 6 additions & 7 deletions DataFormats/BeamSpot/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<use name="DataFormats/Common"/>
<use name="DataFormats/CLHEP"/>
<use name="rootcore"/>
<use name="rootsmatrix"/>
<use name="clhep"/>

<use name="DataFormats/Common"/>
<use name="DataFormats/CLHEP"/>
<use name="rootcore"/>
<use name="rootsmatrix"/>
<use name="clhep"/>
<export>
<lib name="1"/>
<lib name="1"/>
</export>
11 changes: 5 additions & 6 deletions DataFormats/CLHEP/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<use name="clhep"/>

<use name="rootmath"/>
<use name="DataFormats/Math"/>
<use name="clhep"/>
<use name="rootmath"/>
<use name="DataFormats/Math"/>
<export>
<lib name="1"/>
<use name="DataFormats/Math"/>
<lib name="1"/>
<use name="DataFormats/Math"/>
</export>
9 changes: 4 additions & 5 deletions DataFormats/CSCDigi/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<use name="DataFormats/Common"/>
<use name="DataFormats/MuonDetId"/>
<use name="DataFormats/GEMDigi"/>

<use name="DataFormats/Common"/>
<use name="DataFormats/MuonDetId"/>
<use name="DataFormats/GEMDigi"/>
<export>
<lib name="1"/>
<lib name="1"/>
</export>
12 changes: 6 additions & 6 deletions DataFormats/CSCDigi/test/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<use name="FWCore/Framework"/>
<use name="DataFormats/CSCDigi"/>
<use name="DataFormats/DetId"/>
<bin name="testCSCDigis" file="testCSCDigis.cpp">
<use name="cppunit"/>
<use name="DataFormats/FEDRawData"/>
<use name="FWCore/Framework"/>
<use name="DataFormats/CSCDigi"/>
<use name="DataFormats/DetId"/>
<bin name="testCSCDigis" file="testCSCDigis.cpp">
<use name="cppunit"/>
<use name="DataFormats/FEDRawData"/>
</bin>
11 changes: 5 additions & 6 deletions DataFormats/CSCRecHit/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<use name="DataFormats/Common"/>
<use name="DataFormats/MuonDetId"/>
<use name="DataFormats/GeometryVector"/>
<use name="DataFormats/TrackingRecHit"/>

<use name="DataFormats/Common"/>
<use name="DataFormats/MuonDetId"/>
<use name="DataFormats/GeometryVector"/>
<use name="DataFormats/TrackingRecHit"/>
<export>
<lib name="1"/>
<lib name="1"/>
</export>
26 changes: 13 additions & 13 deletions DataFormats/CSCRecHit/test/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<use name="FWCore/Framework"/>
<use name="FWCore/PluginManager"/>
<use name="FWCore/ParameterSet"/>
<use name="DataFormats/MuonReco"/>
<use name="DataFormats/CSCRecHit"/>
<use name="DataFormats/TrackReco"/>
<use name="DataFormats/TrackingRecHit"/>
<use name="CommonTools/UtilAlgos"/>
<use name="FWCore/ServiceRegistry"/>
<use name="root"/>
<use name="DataFormats/GeometryVector"/>
<library file="CSCSharesInputTest.cc" name="CSCSharesInputTest">
<flags EDM_PLUGIN="1"/>
<use name="FWCore/Framework"/>
<use name="FWCore/PluginManager"/>
<use name="FWCore/ParameterSet"/>
<use name="DataFormats/MuonReco"/>
<use name="DataFormats/CSCRecHit"/>
<use name="DataFormats/TrackReco"/>
<use name="DataFormats/TrackingRecHit"/>
<use name="CommonTools/UtilAlgos"/>
<use name="FWCore/ServiceRegistry"/>
<use name="root"/>
<use name="DataFormats/GeometryVector"/>
<library file="CSCSharesInputTest.cc" name="CSCSharesInputTest">
<flags EDM_PLUGIN="1"/>
</library>
3 changes: 1 addition & 2 deletions DataFormats/CTPPSDetId/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<use name="DataFormats/DetId"/>

<export>
<lib name="1"/>
<lib name="1"/>
</export>
5 changes: 2 additions & 3 deletions DataFormats/CTPPSDigi/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<use name="FWCore/Framework"/>
<use name="DataFormats/CTPPSDetId"/>

<use name="DataFormats/CTPPSDetId"/>
<export>
<lib name="1"/>
<lib name="1"/>
</export>
1 change: 0 additions & 1 deletion DataFormats/CTPPSReco/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<use name="rootsmatrix"/>
<use name="rootmath"/>
<use name="rootphysics"/>

<export>
<lib name="1"/>
</export>
11 changes: 5 additions & 6 deletions DataFormats/CaloRecHit/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<use name="DataFormats/Common"/>
<use name="DataFormats/Math"/>
<use name="DataFormats/DetId"/>
<use name="rootmath"/>

<use name="DataFormats/Common"/>
<use name="DataFormats/Math"/>
<use name="DataFormats/DetId"/>
<use name="rootmath"/>
<export>
<lib name="1"/>
<lib name="1"/>
</export>
15 changes: 8 additions & 7 deletions DataFormats/CaloRecHit/test/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<bin name="testCaloCluster" file="testRunner.cpp,testCaloCluster.cppunit.cc">

<use name="DataFormats/CaloRecHit"/>
<use name="DataFormats/Math"/>
<use name="cppunit"/>
<bin name="testCaloCluster" file="testRunner.cpp,testCaloCluster.cppunit.cc">
<use name="DataFormats/CaloRecHit"/>
<use name="DataFormats/Math"/>
<use name="cppunit"/>
</bin>

<iftool name="cuda-gcc-support">
<bin name="test_calo_rechit" file="test_calo_rechit.cu">
<bin name="test_calo_rechit" file="test_calo_rechit.cu">
<use name="DataFormats/CaloRecHit"/>
<use name="DataFormats/DetId"/>
<use name="cuda"/>
</bin>
</bin>

</iftool>
17 changes: 8 additions & 9 deletions DataFormats/CaloTowers/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<use name="DataFormats/Common"/>
<use name="DataFormats/DetId"/>
<use name="DataFormats/Math"/>
<use name="FWCore/Utilities"/>
<use name="DataFormats/Candidate"/>
<use name="DataFormats/HcalDetId"/>
<use name="DataFormats/GeometryVector"/>

<use name="DataFormats/Common"/>
<use name="DataFormats/DetId"/>
<use name="DataFormats/Math"/>
<use name="FWCore/Utilities"/>
<use name="DataFormats/Candidate"/>
<use name="DataFormats/HcalDetId"/>
<use name="DataFormats/GeometryVector"/>
<export>
<lib name="1"/>
<lib name="1"/>
</export>
10 changes: 5 additions & 5 deletions DataFormats/CaloTowers/test/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<use name="DataFormats/CaloTowers"/>
<use name="FWCore/Framework"/>
<use name="FWCore/ParameterSet"/>
<library file="CaloTowersDump.cc" name="CaloTowersDump">
<flags EDM_PLUGIN="1"/>
<use name="DataFormats/CaloTowers"/>
<use name="FWCore/Framework"/>
<use name="FWCore/ParameterSet"/>
<library file="CaloTowersDump.cc" name="CaloTowersDump">
<flags EDM_PLUGIN="1"/>
</library>
12 changes: 6 additions & 6 deletions DataFormats/Candidate/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<use name="DataFormats/Common"/>
<use Name="DataFormats/GeometryVector"/>
<use name="DataFormats/Math"/>
<use name="FWCore/Utilities"/>
<use name="rootmath"/>
<use name="DataFormats/Common"/>
<use Name="DataFormats/GeometryVector"/>
<use name="DataFormats/Math"/>
<use name="FWCore/Utilities"/>
<use name="rootmath"/>
<export>
<lib name="1"/>
<lib name="1"/>
</export>
6 changes: 3 additions & 3 deletions DataFormats/Candidate/test/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<bin name="testDataFormatsCandidate" file="testCompositeCandidate.cc,testCandidate.cc,testParticle.cc,testRunner.cpp">
<use name="DataFormats/Candidate"/>
<use name="cppunit"/>
<bin name="testDataFormatsCandidate" file="testCompositeCandidate.cc,testCandidate.cc,testParticle.cc,testRunner.cpp">
<use name="DataFormats/Candidate"/>
<use name="cppunit"/>
</bin>
9 changes: 4 additions & 5 deletions DataFormats/CastorReco/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<use name="DataFormats/Common"/>
<use name="DataFormats/Candidate"/>
<use name="DataFormats/HcalRecHit"/>

<use name="DataFormats/Common"/>
<use name="DataFormats/Candidate"/>
<use name="DataFormats/HcalRecHit"/>
<export>
<lib name="1"/>
<lib name="1"/>
</export>
12 changes: 6 additions & 6 deletions DataFormats/Common/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<use name="DataFormats/Provenance"/>
<use name="FWCore/MessageLogger"/>
<use name="FWCore/Utilities"/>
<use name="DataFormats/StdDictionaries"/>
<use name="boost"/>
<use name="DataFormats/Provenance"/>
<use name="FWCore/MessageLogger"/>
<use name="FWCore/Utilities"/>
<use name="DataFormats/StdDictionaries"/>
<use name="boost"/>
<export>
<lib name="1"/>
<lib name="1"/>
</export>
63 changes: 40 additions & 23 deletions DataFormats/Common/test/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,42 +1,59 @@
<use name="boost"/>
<use name="cppunit"/>
<use name="DataFormats/Common"/>
<bin name="testDataFormatsCommon" file="testRunner.cpp,testOwnVector.cc,testOneToOneAssociation.cc,testValueMap.cc,testOneToManyAssociation.cc,testAssociationVector.cc,testAssociationNew.cc,testValueMapNew.cc,testSortedCollection.cc,testRangeMap.cc,testIDVectorMap.cc,ref_t.cppunit.cc,DetSetRefVector_t.cppunit.cc,reftobase_t.cppunit.cc,reftobasevector_t.cppunit.cc,cloningptr_t.cppunit.cc,ptr_t.cppunit.cc,ptrvector_t.cppunit.cc,containermask_t.cppunit.cc,reftobaseprod_t.cppunit.cc,handle_t.cppunit.cc">
<use name="boost"/>
<use name="cppunit"/>
<use name="DataFormats/Common"/>
<bin name="testDataFormatsCommon" file="testRunner.cpp,testOwnVector.cc,testOneToOneAssociation.cc,testValueMap.cc,testOneToManyAssociation.cc,testAssociationVector.cc,testAssociationNew.cc,testValueMapNew.cc,testSortedCollection.cc,testRangeMap.cc,testIDVectorMap.cc,ref_t.cppunit.cc,DetSetRefVector_t.cppunit.cc,reftobase_t.cppunit.cc,reftobasevector_t.cppunit.cc,cloningptr_t.cppunit.cc,ptr_t.cppunit.cc,ptrvector_t.cppunit.cc,containermask_t.cppunit.cc,reftobaseprod_t.cppunit.cc,handle_t.cppunit.cc">
</bin>
<bin file="DetSetVector_t.cpp">

<bin file="DetSetVector_t.cpp">
</bin>
<bin file="OwnVector_t.cpp">

<bin file="OwnVector_t.cpp">
</bin>
<bin file="DictionaryTools_t.cpp">
<use name="DataFormats/StdDictionaries"/>
<use name="DataFormats/WrappedStdDictionaries"/>

<bin file="DictionaryTools_t.cpp">
<use name="DataFormats/StdDictionaries"/>
<use name="DataFormats/WrappedStdDictionaries"/>
</bin>
<bin file="Wrapper_t.cpp">

<bin file="Wrapper_t.cpp">
</bin>
<bin file="traits_t.cpp">

<bin file="traits_t.cpp">
</bin>
<bin file="RefCore_t.cpp">

<bin file="RefCore_t.cpp">
</bin>
<bin file="Ref_t.cpp">

<bin file="Ref_t.cpp">
</bin>
<bin file="RefVector_t.cpp">

<bin file="RefVector_t.cpp">
</bin>
<bin file="DataFrame_t.cpp">

<bin file="DataFrame_t.cpp">
</bin>
<bin file="DetSetNew_t.cpp">

<bin file="DetSetNew_t.cpp">
</bin>
<bin file="DetSetNewTS_t.cpp">

<bin file="DetSetNewTS_t.cpp">
<flags CXXFLAGS="-fopenmp"/>
</bin>
<bin file="MapOfVectors_t.cpp">

<bin file="MapOfVectors_t.cpp">
</bin>
<bin file="exDSTV.cpp">

<bin file="exDSTV.cpp">
</bin>
<bin file="Trie_t.cpp">

<bin file="Trie_t.cpp">
</bin>
<bin file="exTrie.cpp">

<bin file="exTrie.cpp">
</bin>
<bin file="testBoostRange.cpp">

<bin file="testBoostRange.cpp">
</bin>
<bin name="testMultiAssociation" file="testRunner.cpp,testMultiAssociation.cc">

<bin name="testMultiAssociation" file="testRunner.cpp,testMultiAssociation.cc">
</bin>
9 changes: 4 additions & 5 deletions DataFormats/DTDigi/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<use name="DataFormats/Common"/>
<use name="DataFormats/MuonDetId"/>
<use name="DataFormats/FEDRawData"/>

<use name="DataFormats/Common"/>
<use name="DataFormats/MuonDetId"/>
<use name="DataFormats/FEDRawData"/>
<export>
<lib name="1"/>
<lib name="1"/>
</export>
12 changes: 6 additions & 6 deletions DataFormats/DTDigi/test/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<use name="FWCore/Framework"/>
<use name="DataFormats/DTDigi"/>
<use name="DataFormats/DetId"/>
<bin name="testDTDigis" file="testDTDigis.cpp">
<use name="cppunit"/>
<use name="DataFormats/FEDRawData"/>
<use name="FWCore/Framework"/>
<use name="DataFormats/DTDigi"/>
<use name="DataFormats/DetId"/>
<bin name="testDTDigis" file="testDTDigis.cpp">
<use name="cppunit"/>
<use name="DataFormats/FEDRawData"/>
</bin>
Loading

0 comments on commit e0aa093

Please sign in to comment.