Code: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 118: | Line 118: | ||
* [https://root.cern.ch/root/ root] [https://root.cern.ch/guides/reference-guide docs] | * [https://root.cern.ch/root/ root] [https://root.cern.ch/guides/reference-guide docs] | ||
* [http://geant4.web.cern.ch/geant4/ geant] [https://web.fnal.gov/project/Geant4/SitePages/Home.aspx at Fermilab] [http://www-geant4.kek.jp/Reference/9.4.p01/Geant4 DOxygen(v9.4.p01)] [http://www-geant4.kek.jp/LXR/ LXR] | * [http://geant4.web.cern.ch/geant4/ geant] [https://web.fnal.gov/project/Geant4/SitePages/Home.aspx at Fermilab] [http://www-geant4.kek.jp/Reference/9.4.p01/Geant4 DOxygen(v9.4.p01)] [http://www-geant4.kek.jp/LXR/ LXR] | ||
* [http://public.muonsinc.com/Projects/G4beamline.aspx G4Beamline] [http://mu2e-docdb.fnal.gov:8080/cgi-bin/ShowDocument?docid=1490 | * [http://public.muonsinc.com/Projects/G4beamline.aspx G4Beamline] [http://mu2e-docdb.fnal.gov:8080/cgi-bin/ShowDocument?docid=1490 Mu2e manual] | ||
* [http://proj-clhep.web.cern.ch/proj-clhep/ CLHEP] [http://proj-clhep.web.cern.ch/proj-clhep/doc/CLHEP_2_2_0_4/html/ CLHEP(v.2.2.0.4)] | * [http://proj-clhep.web.cern.ch/proj-clhep/ CLHEP] [http://proj-clhep.web.cern.ch/proj-clhep/doc/CLHEP_2_2_0_4/html/ CLHEP(v.2.2.0.4)] | ||
* [http://lcgapp.cern.ch/project/simu/HepPDT/ HepPDT] | * [http://lcgapp.cern.ch/project/simu/HepPDT/ HepPDT] |
Revision as of 20:05, 9 February 2018
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 Satellite 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 [./buildopts --build=debug] source setup.sh scons -j 4
- ReleaseList
- 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
Configuring executables
- fcl
- Introduction
- paths - which modules and what order
- I/O modules
- Message logger
- Search paths - how data, fcl, and other control files are found
- SimpleConfig - another way to input parameters to an executable
- Simulation
- Introduction - an overview
- Generators - generating the first particle
- Staging - how and why of running the simulation in stages
- Time simulation - adding lifetimes
- Bunch intensity - simulating bunch-to-bunch variations
- Mixing - mixing background and signal simulation
- Other applications
- EventDisplays
- Stntuple git url - one choice of user ntuple
Modules, Products, and Services
- Modules
- Products
- Geometry
- Random numbers:
- Magnetic Field Maps
- Conditions Data
- Services
- Exceptions
- SimpleConfig
- Message logger
Code Management
- ReleaseList
- git - overview and pointers to detailed and mu2e-specific instructions
- Validation - automatic and occasional procedures for validation
- Jenkins - a central build platform
- CVMFS
- Download - pull a local copy to remote institutions or laptops
- scisoft - server for product manifests
- BTrk - the KalMan fitter code is in this non-standard product
- CVS
- DAQ DAQ redmine
Standards and Practices
- CodingStandards - an overview of code issues
- Magic numbers - where to get value of pi, etc.
- Editors - tips on editors and 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 product flags
- Paterno memory profiling instructions
- 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)