Code: Difference between revisions

From Mu2eWiki
Jump to navigation Jump to search
No edit summary
Line 37: Line 37:
* [[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
* [[CVS]] - a few pieces of code are still in the CVS repository
* [https://fermicloud.sharepoint.com/sites/Stntuple Stntuple] [ssh://p-mu2eofflinesoftwarestntuple@cdcvs.fnal.gov/cvs/projects/mu2eofflinesoftwarestntuple/Stntuple.git git url] - one choice of user ntuple
 
 
== Configuring executables ==
* fcl
**  [[FclIntro|Introduction]]
** [[FclPaths|paths]] - which modules and what order
** [[FclIOModules|I/O modules]]
** [[MessageLogger|Message logger]]
* [[SearchPaths|Search paths]] - how data, fcl, and other control files are found
* [[SimpleConfig|SimpleConfig]] - another way to input parameters to an executable
* Simulation
** [[Simulation|Introduction]] - an overview
** [[Generators]] - generating the first particle
** [[Staging|Staging]] - how and why of running the simulation in stages
** [[TimeSim|Time simulation]] - adding lifetimes
** [[BunchIntensity|Bunch intensity]] - simulating bunch-to-bunch variations
** [[Mixing|Mixing]] - mixing background and signal simulation
* Other applications
** [[EventDisplays]]
** [https://fermicloud.sharepoint.com/sites/Stntuple Stntuple] [ssh://p-mu2eofflinesoftwarestntuple@cdcvs.fnal.gov/cvs/projects/mu2eofflinesoftwarestntuple/Stntuple.git git url] - one choice of user ntuple
 


== Modules, Products, and Services ==
== Modules, Products, and Services ==
Line 65: Line 85:
* [[SimpleConfig|SimpleConfig]]
* [[SimpleConfig|SimpleConfig]]
* [[MessageLogger|Message logger]]
* [[MessageLogger|Message logger]]
== Configuring executables ==
* fcl
**  [[FclIntro|Introduction]]
** [[FclPaths|paths]] - which modules and what order
** [[FclIOModules|I/O modules]]
** [[MessageLogger|Message logger]]
* [[SearchPaths|Search paths]] - how data, fcl, and other control files are found
* [[SimpleConfig|SimpleConfig]] - another way to input parameters to an executable
* Simulation
** [[Simulation|Introduction]] - an overview
** [[Generators]] - generating the first particle
** [[Staging|Staging]] - how and why of running the simulation in stages
** [[TimeSim|Time simulation]] - adding lifetimes
** [[BunchIntensity|Bunch intensity]] - simulating bunch-to-bunch variations
** [[Mixing|Mixing]] - mixing background and signal simulation


== Code Management ==
== Code Management ==

Revision as of 20:54, 23 October 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
mkdir Satellite
cd Satellite
/cvmfs/mu2e.opensciencegrid.org/Offline/v6_0_0/SLF6/prof/Offline/bin/createSatelliteRelease
[./buildopts --build=debug]
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 


Configuring executables


Modules, Products, and Services

Code Management

Standards and Practices

External Packages