-
Notifications
You must be signed in to change notification settings - Fork 3
Coding Convention
-
Please use ROOT data type like
- Int_t, Double_t, etc.
not the native C type like int, double, etc.
Currently we're working on the same system. But for the future we might use each other's machine. At that time, this is a very rare case, the result might change because types are handled in different way in each system. In order to prevent this from happening, therefore, please use all the data types defined in ROOT.
-
All the newly added classes in SpiRITROOT framework must start with ST.
- ex) STDecoderTask.cc, STPSATask.cc
-
All the newly added source files must have cc for their extension.
- ex) STDecoderTask.cc, STPSATask.cc
-
All the newly added header files must have hh for their extension.
- ex) STDecoderTask.hh, STPSATask.hh
-
Please leave comments in the code following Doxygen rules so that it can be shown in the class reference.
- Just reading the page below will be enough for start.
- http://www.stack.nl/~dimitri/doxygen/manual/docblocks.html
-
Let's use Taligent's conventions for naming member variables and member functions.
-
If you need some more, please add here.
- How to
- Use GitHub
- Add new classes
- Install packages
- Use quickViewer
- Use gainCalibrationMacro
- Use pedestalMacro
- [Online Viewer](Procedures for Commissioning Run)
- Reconstruction
- Analysis
- Reconstruction Macro
- Reading Reco File
- STRecoTrack
- STTrack (use no more)
- MC Truth
- General
- MC Generation
- Digitization
- Event Display
- Before Current Version
- Physics Analysis Macros