MCPcopy Create free account

hub / github.com/cbourjau/alice-rs / functions

Functions210 in github.com/cbourjau/alice-rs

↓ 17 callersMethoditems
Slice of the items contained in this file
root-io/src/core/file.rs:203
↓ 16 callersMethodadd_equal_width_axis
(mut self, nbins: usize, min: f64, max: f64)
histogram/src/lib.rs:144
↓ 15 callersMethodas_tree
Parse this `FileItem` as a `Tree`
root-io/src/core/file_item.rs:60
↓ 12 callersFunctionstring
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 callersFunctionall_files_10h
()
alice-open-data/src/lib.rs:82
↓ 10 callersMethodbuild
Create a new n-dimensional histogram
histogram/src/lib.rs:129
↓ 10 callersMethodfetch
(&self, start: u64, len: u64)
root-io/src/core/data_source.rs:36
↓ 9 callersMethodtracks
Iterator over **all** `Track`s in this event
malice/src/event.rs:65
↓ 8 callersMethodvalues
(&self)
histogram/src/lib.rs:54
↓ 7 callersMethodfill
(&mut self, values: &[f64])
histogram/src/lib.rs:38
↓ 7 callersFunctiontest_file
()
alice-open-data/src/lib.rs:74
↓ 6 callersFunctiontobjarray
Parse a `TObjArray`
root-io/src/core/parsers.rs:97
↓ 6 callersFunctiontype_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 callersMethodbranch_by_name
(&self, name: &str)
root-io/src/tree_reader/tree.rs:110
↓ 5 callersFunctionclassinfo
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 callersMethodelem
(&self)
root-io/src/core/tstreamer.rs:256
↓ 5 callersFunctionget_file_list
(run: u32)
alice-open-data/src/lib.rs:92
↓ 5 callersFunctionparse_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 callersMethodas_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 callersMethodcenters
The center position of each bin along axis
histogram/src/lib.rs:45
↓ 4 callersFunctiondefault_track_filter
Applies a reasonable set of default track cuts returning `true` if the `track` is valid
malice/src/utils.rs:24
↓ 4 callersMethodparse
(i: &'s [u8], context: &'s Context, c_name: &str)
root-io/src/tree_reader/leafs.rs:27
↓ 4 callersMethodprimary_vertex
The primary vertex of this event, if it exists. Else `None`
malice/src/event.rs:108
↓ 4 callersFunctionraw
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 callersMethodstreamer_info_as_yaml
Translate the streamer info of this file to a YAML file
root-io/src/core/file.rs:217
↓ 4 callersMethodsum_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 callersFunctiontobject
Parser for the most basic of ROOT types
root-io/src/core/parsers.rs:59
↓ 3 callersFunctiondata_dir
()
alice-open-data/src/lib.rs:65
↓ 3 callersFunctiondecompress
Decompress the given buffer. Figures out the compression algorithm from the preceeding \"magic\" bytes
root-io/src/core/parsers.rs:181
↓ 3 callersMethodeta
Direction of a track in pseudorapidity `eta`
malice/src/track.rs:124
↓ 3 callersFunctionfile_header
Parse opening part of a root file
root-io/src/core/file.rs:66
↓ 3 callersMethodpxpypz
Three-momentum (px, py, pz). Results for straight tracks are meaningless.
malice/src/track.rs:145
↓ 3 callersMethodstreamer_info_as_rust
Generate Rust code from the streamer info of this file
root-io/src/core/file.rs:225
↓ 3 callersFunctiontkey
Parse a full TKey including its payload
root-io/src/core/tkey.rs:74
↓ 3 callersFunctiontlist
Parse a `TList`
root-io/src/core/parsers.rs:71
↓ 3 callersFunctionversion_dep_int
(i: &[u8], is_64_bit: bool)
root-io/src/core/file.rs:67
↓ 3 callersFunctionversioned_pointer
Parse a file-pointer based on the version of the file
root-io/src/core/file.rs:114
↓ 2 callersFunctionbe_bool
Parse a bool from a big endian u8
root-io/src/tree_reader/leafs.rs:15
↓ 2 callersMethodbranches
Get all branches of a tree (including nested ones)
root-io/src/tree_reader/tree.rs:94
↓ 2 callersFunctionc_string
Parse a null terminated string
root-io/src/core/parsers.rs:188
↓ 2 callersFunctionchecked_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 callersFunctionclass_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 callersMethodcontainers
Access to the `Containers` containing the data of this branch
root-io/src/tree_reader/branch.rs:69
↓ 2 callersFunctiondirectory
Directory within a root file; exists on ever file
root-io/src/core/file.rs:123
↓ 2 callersFunctiondirectory_test
(source: Source)
root-io/src/core/file.rs:327
↓ 2 callersMethoddump_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 callersFunctionevaluate_range_element
Very primitve logic for evaluating comment ranges
root-io/src/core/typeid.rs:257
↓ 2 callersFunctionevent_iterator_from_files
(sources: I)
malice/src/lib.rs:97
↓ 2 callersFunctionevent_stream_from_tree
(t: &Tree)
malice/src/event.rs:138
↓ 2 callersFunctionfile_header_test
(source: Source)
root-io/src/core/file.rs:286
↓ 2 callersMethodmember_name
The name of the member/field to be used in the generated struct
root-io/src/core/tstreamer.rs:280
↓ 2 callersMethodmul
(self, factor: f64)
histogram/src/lib.rs:83
↓ 2 callersMethodname
(&self)
root-io/src/core/file_item.rs:27
↓ 2 callersFunctionparse_sized_object
Parse a sized object and check that it used all its bytes.
root-io/src/core/parsers.rs:328
↓ 2 callersMethodphi
Azimuthal direction of the `Track`
malice/src/track.rs:129
↓ 2 callersMethodpt
Transverse momentum of the `Track`
malice/src/track.rs:140
↓ 2 callersMethodraw_data
Return the number of entries and the data; reading it from disk if necessary
root-io/src/tree_reader/container.rs:18
↓ 2 callersFunctionread_simple
(f: RootFile)
root-io/tests/read_simple.rs:33
↓ 2 callersFunctionroot_url
()
alice-open-data/src/lib.rs:14
↓ 2 callersFunctionseek_point
Parse a file-pointer based on the version of the file
root-io/src/core/tkey.rs:65
↓ 2 callersMethodstreamer_infos
Translate the streamer info of this file to a YAML file
root-io/src/core/file.rs:208
↓ 2 callersFunctionstreamerinfo_test
(source: Source)
root-io/src/core/file.rs:375
↓ 2 callersFunctiontarray
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 callersFunctiontbranch
(i: &'s [u8], context: &'s Context)
root-io/src/tree_reader/branch.rs:187
↓ 2 callersFunctiontest_branch_iterators
(tree: &Tree)
root-io/tests/read_esd.rs:157
↓ 2 callersFunctiontkey_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 callersMethodtype_name
(&self)
root-io/src/core/tstreamerinfo.rs:129
↓ 2 callersMethodverbose_info
Information about this file item in Human readable form
root-io/src/core/file_item.rs:24
↓ 2 callersMethodwidth
(&self)
histogram/src/lib.rs:167
↓ 2 callersMethodwidths
The width of each bin along `axis`
histogram/src/lib.rs:50
↓ 1 callersFunctionalias_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 callersFunctionarrayfy_maybe
If we have more than one element make this
root-io/src/tree_reader/leafs.rs:203
↓ 1 callersMethodas_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 callersMethodbin_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 callersMethodbranch_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 callersMethodcenter
(&self)
histogram/src/lib.rs:170
↓ 1 callersMethodcmp_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 callersMethodcompute_centrality_edges
Compute the centrality edges based on the N_ch/Event distribution
examples/simple-analysis/src/distribution.rs:155
↓ 1 callersMethoddca_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 callersMethoddca_to_point_z
Distance of closes approch of this track in z
malice/src/track.rs:179
↓ 1 callersFunctiondecode_reader
(bytes: &'s [u8], magic: &[u8])
root-io/src/core/parsers.rs:158
↓ 1 callersFunctiondefault_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 callersFunctiondo_thing
()
alice-download/src/main.rs:17
↓ 1 callersFunctiondownload
(base_dir: PathBuf, url: Url)
alice-open-data/src/lib.rs:25
↓ 1 callersFunctionedges_to_bins
Turn a vector of edges to a vector of `BinEdges`
histogram/src/lib.rs:187
↓ 1 callersMethodelement_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 callersMethodfind_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 callersMethodfind_bin_indices
Find indices of bins along each axis
histogram/src/lib.rs:32
↓ 1 callersMethodget_buffer
(&self)
root-io/src/core/file_item.rs:34
↓ 1 callersMethodget_context
(&self)
root-io/src/core/file_item.rs:49
↓ 1 callersMethodget_streamer_context
(&self)
root-io/src/core/file.rs:186
↓ 1 callersFunctioninspect_file
(f: &RootFile, sub_matches: &ArgMatches<'_>)
root-ls/src/main.rs:53
↓ 1 callersFunctionis_byte_count
(v: &u32)
root-io/src/core/parsers.rs:30
↓ 1 callersMethodits_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 callersFunctionlocal_paths
()
root-io/tests/high_level_io.rs:52
↓ 1 callersMethodmember_comment
Get the comment associated with this particular member
root-io/src/core/tstreamer.rs:275
↓ 1 callersMethodmultiplicity
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 callersMethodname
The name of this branch
root-io/src/tree_reader/branch.rs:74
↓ 1 callersMethodparser_name
(&self)
root-io/src/core/tstreamerinfo.rs:80
↓ 1 callersMethodprocess_event
(&mut self, event: &Event)
examples/simple-analysis/src/distribution.rs:47
next →1–100 of 210, ranked by callers