Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cbourjau/alice-rs
/ functions
Functions
210 in github.com/cbourjau/alice-rs
⨍
Functions
210
◇
Types & classes
43
↓ 17 callers
Method
items
Slice of the items contained in this file
root-io/src/core/file.rs:203
↓ 16 callers
Method
add_equal_width_axis
(mut self, nbins: usize, min: f64, max: f64)
histogram/src/lib.rs:144
↓ 15 callers
Method
as_tree
Parse this `FileItem` as a `Tree`
root-io/src/core/file_item.rs:60
↓ 12 callers
Function
string
Read ROOT's version of short and long strings (preceeded by u8). Does not read null terminated!
root-io/src/core/parsers.rs:49
↓ 11 callers
Function
all_files_10h
()
alice-open-data/src/lib.rs:82
↓ 10 callers
Method
build
Create a new n-dimensional histogram
histogram/src/lib.rs:129
↓ 10 callers
Method
fetch
(&self, start: u64, len: u64)
root-io/src/core/data_source.rs:36
↓ 9 callers
Method
tracks
Iterator over **all** `Track`s in this event
malice/src/event.rs:65
↓ 8 callers
Method
values
(&self)
histogram/src/lib.rs:54
↓ 7 callers
Method
fill
(&mut self, values: &[f64])
histogram/src/lib.rs:38
↓ 7 callers
Function
test_file
()
alice-open-data/src/lib.rs:74
↓ 6 callers
Function
tobjarray
Parse a `TObjArray`
root-io/src/core/parsers.rs:97
↓ 6 callers
Function
type_is_core
Return true if the given type name represents a core type. Core types are differently implemented even if they are described in the `TStreamer`. Gotta
root-io/src/code_gen/utils.rs:4
↓ 5 callers
Method
branch_by_name
(&self, name: &str)
root-io/src/tree_reader/tree.rs:110
↓ 5 callers
Function
classinfo
Figure out the class we are looking at. The data might not be saved locally but rather in a reference to some other place in the buffer.This is modele
root-io/src/core/parsers.rs:199
↓ 5 callers
Method
elem
(&self)
root-io/src/core/tstreamer.rs:256
↓ 5 callers
Function
get_file_list
(run: u32)
alice-open-data/src/lib.rs:92
↓ 5 callers
Function
parse_custom_mantissa
Some Double_* values are saved with a custom mantissa... The number of bytes can be found in the comment string of the generated YAML code (for ALICE
root-io/src/core/parsers.rs:316
↓ 4 callers
Method
as_fixed_size_iterator
Create an iterator over the data of a column (`TBranch`) with a constant number of element per entry (or at least not a variable number of entries whi
root-io/src/tree_reader/branch.rs:121
↓ 4 callers
Method
centers
The center position of each bin along axis
histogram/src/lib.rs:45
↓ 4 callers
Function
default_track_filter
Applies a reasonable set of default track cuts returning `true` if the `track` is valid
malice/src/utils.rs:24
↓ 4 callers
Method
parse
(i: &'s [u8], context: &'s Context, c_name: &str)
root-io/src/tree_reader/leafs.rs:27
↓ 4 callers
Method
primary_vertex
The primary vertex of this event, if it exists. Else `None`
malice/src/event.rs:108
↓ 4 callers
Function
raw
Parse a `Raw` chunk from the given input buffer. This is usefull when one does not know the exact type at the time of parsing
root-io/src/core/parsers.rs:269
↓ 4 callers
Method
streamer_info_as_yaml
Translate the streamer info of this file to a YAML file
root-io/src/core/file.rs:217
↓ 4 callers
Method
sum_axis
Sum all bins along `axis` returning a new histogram with reduced dimensionality. Panics if `axis` is out of bounds.
histogram/src/lib.rs:62
↓ 4 callers
Function
tobject
Parser for the most basic of ROOT types
root-io/src/core/parsers.rs:59
↓ 3 callers
Function
data_dir
()
alice-open-data/src/lib.rs:65
↓ 3 callers
Function
decompress
Decompress the given buffer. Figures out the compression algorithm from the preceeding \"magic\" bytes
root-io/src/core/parsers.rs:181
↓ 3 callers
Method
eta
Direction of a track in pseudorapidity `eta`
malice/src/track.rs:124
↓ 3 callers
Function
file_header
Parse opening part of a root file
root-io/src/core/file.rs:66
↓ 3 callers
Method
pxpypz
Three-momentum (px, py, pz). Results for straight tracks are meaningless.
malice/src/track.rs:145
↓ 3 callers
Method
streamer_info_as_rust
Generate Rust code from the streamer info of this file
root-io/src/core/file.rs:225
↓ 3 callers
Function
tkey
Parse a full TKey including its payload
root-io/src/core/tkey.rs:74
↓ 3 callers
Function
tlist
Parse a `TList`
root-io/src/core/parsers.rs:71
↓ 3 callers
Function
version_dep_int
(i: &[u8], is_64_bit: bool)
root-io/src/core/file.rs:67
↓ 3 callers
Function
versioned_pointer
Parse a file-pointer based on the version of the file
root-io/src/core/file.rs:114
↓ 2 callers
Function
be_bool
Parse a bool from a big endian u8
root-io/src/tree_reader/leafs.rs:15
↓ 2 callers
Method
branches
Get all branches of a tree (including nested ones)
root-io/src/tree_reader/tree.rs:94
↓ 2 callers
Function
c_string
Parse a null terminated string
root-io/src/core/parsers.rs:188
↓ 2 callers
Function
checked_byte_count
Return the size in bytes of the following object in the input. The count is the remainder of this object minus the size of the count.
root-io/src/core/parsers.rs:36
↓ 2 callers
Function
class_name_and_buffer
Figure out the class we are looking at. This parser immediately resolves possible references returning the name of the object in this buffer and the a
root-io/src/core/parsers.rs:229
↓ 2 callers
Method
containers
Access to the `Containers` containing the data of this branch
root-io/src/tree_reader/branch.rs:69
↓ 2 callers
Function
directory
Directory within a root file; exists on ever file
root-io/src/core/file.rs:123
↓ 2 callers
Function
directory_test
(source: Source)
root-io/src/core/file.rs:327
↓ 2 callers
Method
dump_to_file
Dump histogram (without edges) to a file of `name`. The binary layout is: `(array_version: u8, ndim: u64, shape: [ndim; u64], a_size: u64, a: [a_size;
histogram/src/lib.rs:107
↓ 2 callers
Function
evaluate_range_element
Very primitve logic for evaluating comment ranges
root-io/src/core/typeid.rs:257
↓ 2 callers
Function
event_iterator_from_files
(sources: I)
malice/src/lib.rs:97
↓ 2 callers
Function
event_stream_from_tree
(t: &Tree)
malice/src/event.rs:138
↓ 2 callers
Function
file_header_test
(source: Source)
root-io/src/core/file.rs:286
↓ 2 callers
Method
member_name
The name of the member/field to be used in the generated struct
root-io/src/core/tstreamer.rs:280
↓ 2 callers
Method
mul
(self, factor: f64)
histogram/src/lib.rs:83
↓ 2 callers
Method
name
(&self)
root-io/src/core/file_item.rs:27
↓ 2 callers
Function
parse_sized_object
Parse a sized object and check that it used all its bytes.
root-io/src/core/parsers.rs:328
↓ 2 callers
Method
phi
Azimuthal direction of the `Track`
malice/src/track.rs:129
↓ 2 callers
Method
pt
Transverse momentum of the `Track`
malice/src/track.rs:140
↓ 2 callers
Method
raw_data
Return the number of entries and the data; reading it from disk if necessary
root-io/src/tree_reader/container.rs:18
↓ 2 callers
Function
read_simple
(f: RootFile)
root-io/tests/read_simple.rs:33
↓ 2 callers
Function
root_url
()
alice-open-data/src/lib.rs:14
↓ 2 callers
Function
seek_point
Parse a file-pointer based on the version of the file
root-io/src/core/tkey.rs:65
↓ 2 callers
Method
streamer_infos
Translate the streamer info of this file to a YAML file
root-io/src/core/file.rs:208
↓ 2 callers
Function
streamerinfo_test
(source: Source)
root-io/src/core/file.rs:375
↓ 2 callers
Function
tarray
Parse a so-called `TArray`. Note that ROOT's `TArray`s are actually not fixed size. Example usage for TArrayI: `tarray(nom::complete::be_i32, input_sl
root-io/src/core/parsers.rs:149
↓ 2 callers
Function
tbranch
(i: &'s [u8], context: &'s Context)
root-io/src/tree_reader/branch.rs:187
↓ 2 callers
Function
test_branch_iterators
(tree: &Tree)
root-io/tests/read_esd.rs:157
↓ 2 callers
Function
tkey_header
Header of a TKey Usually, TKeys are followed up by their content, but there is one "index" in ever root file where only the TKey headers are stored fo
root-io/src/core/tkey.rs:34
↓ 2 callers
Method
type_name
(&self)
root-io/src/core/tstreamerinfo.rs:129
↓ 2 callers
Method
verbose_info
Information about this file item in Human readable form
root-io/src/core/file_item.rs:24
↓ 2 callers
Method
width
(&self)
histogram/src/lib.rs:167
↓ 2 callers
Method
widths
The width of each bin along `axis`
histogram/src/lib.rs:50
↓ 1 callers
Function
alias_or_lifetime
If necessary, annotate the given type name with a life time or replace with an alias
root-io/src/code_gen/utils.rs:12
↓ 1 callers
Function
arrayfy_maybe
If we have more than one element make this
root-io/src/tree_reader/leafs.rs:203
↓ 1 callers
Method
as_var_size_iterator
Iterator over the data of a column (`TBranch`) with a variable number of elements per entry. See the file [`read_esd.rs`](https://github.com/cbourjau
root-io/src/tree_reader/branch.rs:143
↓ 1 callers
Method
bin_mut
Get a mutable reference to the bin including `values`. Panics if `values` dimensionality is incompatible with that of the histogram.
histogram/src/lib.rs:96
↓ 1 callers
Method
branch_names_and_types
Get all the branch names and types (including nested ones) of this tree The first element is the name, the second one is the type
root-io/src/tree_reader/tree.rs:102
↓ 1 callers
Method
center
(&self)
histogram/src/lib.rs:170
↓ 1 callers
Method
cmp_with
Compute if a given `value` is below, within or above the given binary A bins interval is half open on [low, high)
histogram/src/lib.rs:175
↓ 1 callers
Method
compute_centrality_edges
Compute the centrality edges based on the N_ch/Event distribution
examples/simple-analysis/src/distribution.rs:155
↓ 1 callers
Method
dca_to_point_xy
Estimate the distance of closest approach of this track to a given point neglecting the track curvature. This returns the closest approach in the xy p
malice/src/track.rs:169
↓ 1 callers
Method
dca_to_point_z
Distance of closes approch of this track in z
malice/src/track.rs:179
↓ 1 callers
Function
decode_reader
(bytes: &'s [u8], magic: &[u8])
root-io/src/core/parsers.rs:158
↓ 1 callers
Function
default_event_filter
A simple but reasonable default event selection Returns true if the given event passes the recommended selection criterion
malice/src/utils.rs:7
↓ 1 callers
Function
do_thing
()
alice-download/src/main.rs:17
↓ 1 callers
Function
download
(base_dir: PathBuf, url: Url)
alice-open-data/src/lib.rs:25
↓ 1 callers
Function
edges_to_bins
Turn a vector of edges to a vector of `BinEdges`
histogram/src/lib.rs:187
↓ 1 callers
Method
element_types
The type(s) of the elements in this branch For some reason, there may be situations where a branch has several leaves and thus types.
root-io/src/tree_reader/branch.rs:80
↓ 1 callers
Method
find_bin_index_axis
Find the bin index containing `value` on `axis` Return None if the the value is not in range
histogram/src/lib.rs:26
↓ 1 callers
Method
find_bin_indices
Find indices of bins along each axis
histogram/src/lib.rs:32
↓ 1 callers
Method
get_buffer
(&self)
root-io/src/core/file_item.rs:34
↓ 1 callers
Method
get_context
(&self)
root-io/src/core/file_item.rs:49
↓ 1 callers
Method
get_streamer_context
(&self)
root-io/src/core/file.rs:186
↓ 1 callers
Function
inspect_file
(f: &RootFile, sub_matches: &ArgMatches<'_>)
root-ls/src/main.rs:53
↓ 1 callers
Function
is_byte_count
(v: &u32)
root-io/src/core/parsers.rs:30
↓ 1 callers
Method
its_chi2_per_cluster
Chi<sup>2</sup> normalized to the number of clusters. This is a measure of how well the reconstruction fit the observed clusters
malice/src/track.rs:191
↓ 1 callers
Function
local_paths
()
root-io/tests/high_level_io.rs:52
↓ 1 callers
Method
member_comment
Get the comment associated with this particular member
root-io/src/core/tstreamer.rs:275
↓ 1 callers
Method
multiplicity
Return the number of reconstructed tracks. Not very sophisticated, and probably not what what you want! Should rather be the number of **valid** track
malice/src/event.rs:54
↓ 1 callers
Method
name
The name of this branch
root-io/src/tree_reader/branch.rs:74
↓ 1 callers
Method
parser_name
(&self)
root-io/src/core/tstreamerinfo.rs:80
↓ 1 callers
Method
process_event
(&mut self, event: &Event)
examples/simple-analysis/src/distribution.rs:47
next →
1–100 of 210, ranked by callers