This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[name="alpha::calo_association" type="snemo::cut::particle_track_cut"] | |
#@description Cut description | |
cut.description : string = "Check if track has associated calorimeter hits" | |
#@description Logging priority | |
logging.priority : string = "warning" | |
#@description The running mode of this cut instance | |
mode.has_associated_calorimeter_hits : boolean = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get the 'calibrated_data' entry from the data model : | |
const snemo::datamodel::calibrated_data & the_calibrated_data | |
= data_record_.get<snemo::datamodel::calibrated_data>("CD"); | |
const snemo::datamodel::calibrated_data::calorimeter_hit_collection_type & chits | |
= calibrated_data_.calibrated_calorimeter_hits(); | |
for (snemo::datamodel::calibrated_data::calorimeter_hit_collection_type::const_iterator | |
icalo = chits.begin(); icalo != chits.end(); | |
++icalo) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[name="multi_particles" type="genbb::combined_particle_generator"] | |
#@config A model that generates several particles at the same time | |
#@description Logging priority | |
logging.priority : string = "warning" | |
#@description The mode ("timing", "plain_probability" or "activity") | |
mode : string = "time" | |
#@description The list of particle generators that compose the combo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- boost/atomic/detail/cas128strong.hpp | |
+++ boost/atomic/detail/cas128strong.hpp | |
@@ -196,15 +196,17 @@ class base_atomic<T, void, 16, Sign> | |
public: | |
BOOST_DEFAULTED_FUNCTION(base_atomic(void), {}) | |
- explicit base_atomic(value_type const& v) BOOST_NOEXCEPT : v_(0) | |
+ explicit base_atomic(value_type const& v) BOOST_NOEXCEPT | |
{ | |
+ memset(&v_, 0, sizeof(v_)); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACLOCAL_AMFLAGS = -I m4 | |
lib_LTLIBRARIES = libhealpix_cxx.la | |
src_c_utils = \ | |
c_utils/c_utils.c \ | |
c_utils/c_utils.h \ | |
c_utils/walltime_c.c \ | |
c_utils/walltime_c.h \ | |
c_utils/trig_utils.c \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib as mpl | |
import matplotlib.pyplot as plt | |
import cobaya | |
import camb | |
print(" Numpy :", np.__version__) | |
print("Matplotlib :", mpl.__version__) | |
print(" CAMB :", camb.__version__) | |
print(" Cobaya :", cobaya.__version__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "hotspots.h" | |
void hotspots(const Healpix_Map<double> & inmap, | |
Healpix_Map<double> & outmap, | |
std::vector<int> & min_pixels, | |
std::vector<int> & max_pixels) | |
{ | |
outmap.Set(inmap.Order(),inmap.Scheme()); | |
const int npix = inmap.Npix(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(yapfify jupyter org-msg forge cython-mode pyvenv yaml-mode | |
magit-svn dockerfile-mode csv-mode counsel projectile paradox | |
firestarter xml-rpc multi-term dired-k direx popwin dired-subtree | |
dired-details ob-ipython htmlize org-bullets gist git-gutter | |
magit gnuplot go-mode cmake-mode yasnippet multi-web-mode | |
markdown-mode key-chord hydra auto-complete wgrep-ag wgrep ag | |
ack-and-a-half golden-ratio flex-isearch fold-this lorem-ipsum | |
expand-region browse-kill-ring wrap-region undo-tree smartparens | |
fill-column-indicator swiper hideshowvis rainbow-mode | |
highlight-parentheses idle-highlight-mode ido-at-point |
OlderNewer