Skip to content

SBNAnaFiles Structure

Fernanda Psihas edited this page May 4, 2020 · 2 revisions

h1. SBN Ana Files Structure

Currently partially copied from NOvA's CAF File Structure wiki. This will be updated over time but eventually Doxygen will be a better resource as it'll be should be up to date.

The StandardRecord provides the structure for the object that make up the SBN Ana Files.

{{toc}}

h2. Header Branch (rec.hdr)

The header branch is called "hdr." It contains information helpful in identifying the slice and event.

|.Type|.Variable Name|_.Short description| |unsigned int | run | run number| |unsigned int | subrun | subrun number| |unsigned int |evt | art event number| |unsigned short |subevt | slice number within spill | |bool |ismc | MC = true, data = false | |Det_t |det | detector: 1 = SBND, 2 = MicroBooNE, 3 = ICARUS|

h2. Slice Branch (rec.slc)

The slice branch is called "slc." This branch stores variables resulting from the slicer module. Slicer is designed to cluster hits in time.

|.Type|.Variable Name|_.Short description| |unsigned int|id|| |float|charge|| |TVector3|vertex|vertex position in detector coordinates [cm]|

h2. Track Branch (rec.trk)

The track branch, named "trk," contains multiple vectors of SRTrack objects. These objects are sorted by descending track length; i.e. the longest track comes first and the shortest track comes last. (@check@)

|.Type|.Variable Name|_.Short description| |TVector3|start|start position in detector coordinates [cm]| |TVector3|end|end position in detector coordinates [cm]| |float|len|track length [cm]| |std::vector|||

h2. Shower Branch (rec.shw)

The shower branch, named "shw," contains multiple vectors of SRShower objects.

|.Type|.Variable Name|_.Short description| |int|bestplane|best reconstructed plane: 1= , 2 =, 3 =,| |float|density|density = best shower energy / best shower length [MeV/cm]| |float|len|length [cm]| |float|energy|energy [MeV]| |float|open_angle|opening angle [rad]| |std::vector|dEdx|calculated didx at each plane []| |std::vector|energy|calculated didx at each plane [MeV]| |SRVector3D|dir|direction cosines at the start of the shower| |SRVector3D|start|start point in detector coordinates [cm]|

Clone this wiki locally