Back to home page

EIC code displayed by LXR

 
 

    


Warning, /firebird/packages/root2dex/src/index.ts is written in an unsupported language. File is not indexed.

0001 /**
0002  * @dexvis/root2dex - converts EDM4eic / EDM4hep podio ROOT files to Firebird
0003  * DEX in the browser (or node), using the JSROOT API.
0004  *
0005  * The conversion mirrors pyrobird's `pyrobird convert`: the same input entry
0006  * and options produce the same DEX document from either implementation. One
0007  * default differs: pyrobird keeps its own list of Cherenkov collections out of
0008  * the EDM4hep MC-truth trajectories, this package keeps none out unless
0009  * `trajectoryExcludedCollections` names them.
0010  *
0011  * Only the bytes of the requested event are read, so multi-GB files work
0012  * against a local file, an http(s) URL, or any custom byte-range source - see
0013  * `PodioEventFile`.
0014  *
0015  *   const converter = await Root2DexConverter.open(file);
0016  *   const dex = await converter.convert(eventNumber);
0017  */
0018 
0019 export * from './dex';
0020 export * from './podio-file';
0021 export * from './edm4eic';
0022 export * from './edm4hep';
0023 export * from './mc-particles';
0024 export * from './entries';
0025 export * from './convert';
0026 export * from './byte-range-source';