Backend to generate and run C++ files for Functional Analysis Description Language for accessing ATLAS xAOD files.
Project description
func_adl_xAOD
Client interface to send a hierarchical SQL-like query to an xAOD backend
Introduction
This allows you to query hierarchical data stored in a root file that has been written using the ATLAS xAOD format. This code allows you to query that.
Features
xAOD Functions
You can call the functions that are supported by the C++ objects as long as the required arguments are primitive types.
The Event
The event object has the following special functions to access collections:
Jets
,Tracks
,EventInfo
,TruthParticles
,Electrons
,Muons
, andMissingET
. Each function takes a single argument, the name of the bank in the xAOD. For example, for the electrons one can pass"Electrons"
.
The Jet Object
Template functions don't make sense yet in python.
getAttribute
- this function is templated, so must be called as eithergetAttributeFloat
orgetAttributeVectorFloat
.
Math
- Math Operators: +, -, *, /, %
- Comparison Operators: <, <=, >, >=, ==, !=
- Unary Operators: +, -, not
- Math functions are pulled from the C++
cmath
library:sin
,cos
,tan
,acos
,asin
,atan
,atan2
,sinh
,cosh
,tanh
,asinh
,acosh
,atanh
,exp
,ldexp
,log
,ln
,log10
,exp2
,expm1
,ilogb
,log1p
,log2
,scalbn
,scalbln
,pow
,sqrt
,cbrt
,hypot
,erf
,erfc
,tgamma
,lgamma
,ceil
,floor
,fmod
,trunc
,round
,rint
,nearbyint
,remainder
,remquo
,copysign
,nan
,nextafter
,nexttoward
,fdim
,fmax
,fmin
,fabs
,abs
,fma
. - Do not use
math.sin
in a call. Howeversin
is just fine. If you do, you'll get an exception during resolution that it doesn't know how to translatemath
. - for things like
sum
,min
,max
, etc., use theSum
,Min
,Max
LINQ predicates.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file func_adl_xAOD.backend-1.1.0b5.tar.gz
.
File metadata
- Download URL: func_adl_xAOD.backend-1.1.0b5.tar.gz
- Upload date:
- Size: 39.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4134bfef138a3939d3ed901968ff55f9b630dc5bf1cb6d3bf6c4894c634fe121 |
|
MD5 | c8db83791507d6c2fd3ee7cd1d14ffa0 |
|
BLAKE2b-256 | 3e7b8ad2a37bb5e03377e7a18181176bef6352c972f90a376e9cd69022eeac80 |
File details
Details for the file func_adl_xAOD.backend-1.1.0b5-py3-none-any.whl
.
File metadata
- Download URL: func_adl_xAOD.backend-1.1.0b5-py3-none-any.whl
- Upload date:
- Size: 49.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c3079c2f8b73ea7e9754bd7ffd31dae24772a4df3bfe2a8e388daa9418e9c18 |
|
MD5 | cbf38a84becc44e70efc32b7a2c8e969 |
|
BLAKE2b-256 | 28ce0205efed49852d1144f28c96604bea1290cdcd3b6bdc87e1192de593353d |