Code: Difference between revisions
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
</pre> | </pre> | ||
* Basic recipe for setup, checkout and build | * Basic recipe for setup, full checkout and build | ||
<pre> | <pre> | ||
source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups | source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups | ||
Line 32: | Line 32: | ||
* [[scons]] code building tool | * [[scons]] code building tool | ||
* [[SatelliteRelease|Satellite Releases]] for building only the part of the code base you need | * [[SatelliteRelease|Satellite Releases]] for building only the part of the code base you need | ||
* [[CVS]] - a few pieces of code are still in the CVS repository | |||
== Modules, Products, and Services == | == Modules, Products, and Services == |
Revision as of 16:02, 30 March 2017
example page for git documentation
Building code
- Basic recipe for creating a satellite release
source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups setup mu2e /cvmfs/mu2e.opensciencegrid.org/Offline/v6_0_0/SLF6/prof/Offline/bin/createSatelliteRelease cd Offline source setup.sh [add content] scons -j 4
- Basic recipe for setup, full checkout and build
source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups setup mu2e git clone http://cdcvs.fnal.gov/projects/mu2eofflinesoftwaremu2eoffline/Offline.git - or - git clone ssh://p-mu2eofflinesoftwaremu2eoffline@cdcvs.fnal.gov/cvs/projects/mu2eofflinesoftwaremu2eoffline/Offline.git cd Offline git checkout -b work source setup.sh scons -j 4
- UPS
- git code repository management
- scons code building tool
- Satellite Releases for building only the part of the code base you need
- CVS - a few pieces of code are still in the CVS repository
Modules, Products, and Services
- Modules
- Products
- Reading products
- Listing and printing
- Making data products
- Handles
- PhysicalVolumeInfoCollection (needs update)
- Provenance (needs update)
- cet::map_vector
- Mu2e Geometry: The Big Picture (convert to wiki)
- Notes on the geometry files
- Units and Coordinate Systems
- Random numbers:
- Magnetic Field Maps
- Conditions Data
- Services
- Exceptions
- SimpleConfig
- Message logger
Configuring executables
Code Management
- mu2e git
- Jenkins - a central build platform
- Cvmfs
- Download - pull a local copy to remote institutions or laptops
- BTrk - the KalMan fitter code is in this non-standard product
- CVS?
Standards and Practices
- Magic numbers
- Editors, policy of not using tab characters.
- CMS code references:
- FAQs
External Packages
- UPS (needs updating) manual
- Mu2e code LXR
- art doc redmine browser art-users
- CMS Framework LXR
- root docs
- geant at Fermilab DOxygen(v9.4.p01) LXR
- G4Beamline mu2e manual
- CLHEP CLHEP(v.2.2.0.4)
- HepPDT
- fhicl-cpp
- cetlib browser
- Message Facility browser
- cpp0x browser
- boost browser
- BTrk browser
- LXR browsers for many Fermilab projects
- scons
- MARS (password protected)