Back to home page

EIC code displayed by LXR

 
 

    


Warning, /jana2/src/examples/tutorial_with_podio_datamodel/01_datamodel/datamodel.yaml is written in an unsupported language. File is not indexed.

0001 ---
0002 schema_version: 1
0003 options:
0004   # should getters / setters be prefixed with get / set?
0005   getSyntax: True
0006   # should POD members be exposed with getters/setters in classes that have them as members?
0007   exposePODMembers: True
0008   includeSubfolder: True
0009 
0010 datatypes :
0011   EventHeader:
0012     Description : "Persistent IDs for each entry/frame/JEvent"
0013     Author : "N. Brei"
0014     Members :
0015       - int run_number       // run number
0016       - int timeframe_number // timeframe number
0017       - int event_number     // event number
0018 
0019   CalorimeterHit :
0020     Description : "A simple calorimeter hit"
0021     Author : "N. Brei"
0022     Members:
0023       - uint64_t cell_id  // Cell ID
0024       - uint64_t row      // Cell row (zero-indexed)
0025       - uint64_t col      // Cell column (zero-indexed)
0026       - double x          // x coordinate of cell center [cm]
0027       - double y          // y coordinate of cell center [cm]
0028       - double z          // z coordinate of cell center [cm]
0029       - double energy     // Measured energy deposit [GeV]
0030       - uint64_t time     // Time [ns]
0031 
0032   CalorimeterCluster:
0033     Description : "A simple calorimeter cluster"
0034     Author : "N. Brei"
0035     Members:
0036       - double x_center     // x location of cluster center [cm]
0037       - double y_center     // y location of cluster center [cm]
0038       - double z_center     // z location of cluster center [cm]
0039       - double energy       // Total energy deposited [GeV]
0040       - uint64_t time_begin // Timestamp of earliest hit [ns]
0041       - uint64_t time_end   // Timestamp of latest hit [ns]
0042     OneToManyRelations:
0043       - CalorimeterHit hits          // hits that comprise this cluster
0044       - CalorimeterCluster clusters  // (proto) clusters that comprise this cluster
0045 
0046   SimParticle:
0047     Description: "A 'truth' particle, used by a Monte Carlo simulation"
0048     Author: "N. Brei"
0049     Members:
0050       - double momentum_z       // Momentum in the z direction
0051       - double momentum_theta   // Momentum in the theta direction
0052       - double momentum_phi     // Momentum in the phi direction
0053       - double energy           // Total energy
0054       - uint32_t pdg            // PDG particle id
0055 
0056   ADCHit:
0057     Description: "The raw hit read off the DAQ, or produced by digitization"
0058     Author: "N. Brei"
0059     Members:
0060       - uint32_t crate     // DAQ crate index
0061       - uint32_t slot      // DAQ slot index
0062       - uint32_t channel   // DAQ channel index
0063       - uint32_t energy    // Energy measured
0064       - uint32_t timestamp // Timestamp [ns]
0065 
0066